This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH 19/19] ld: testsuite: Fix test for targets with elf_symbol_leading_char
- From: Dimitar Dimitrov <dimitar at dinux dot eu>
- To: binutils at sourceware dot org
- Cc: Dimitar Dimitrov <dimitar at dinux dot eu>
- Date: Mon, 5 Dec 2016 22:42:34 +0200
- Subject: [PATCH 19/19] ld: testsuite: Fix test for targets with elf_symbol_leading_char
- Authentication-results: sourceware.org; auth=none
- References: <20161205204234.25426-1-dimitar@dinux.eu>
Either that, or make ld/plugin.c:get_symbols() to print symbol names using %T instead of %s.
==========
2016-10-20 Dimitar Dimitrov <dimitar@dinux.eu>
* ld/testsuite/ld-plugin/plugin-12.d: Fix test for
targets with elf_symbol_leading_char.
Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
---
ld/testsuite/ld-plugin/plugin-12.d | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/ld/testsuite/ld-plugin/plugin-12.d b/ld/testsuite/ld-plugin/plugin-12.d
index 10d7725..83873f9 100644
--- a/ld/testsuite/ld-plugin/plugin-12.d
+++ b/ld/testsuite/ld-plugin/plugin-12.d
@@ -1,6 +1,6 @@
#...
-.*: symbol `func' definition: 0, visibility: 0, resolution: 2
-.*: symbol `func1' definition: 0, visibility: 1, resolution: 3
-.*: symbol `func2' definition: 0, visibility: 2, resolution: 3
-.*: symbol `func3' definition: 0, visibility: 3, resolution: 3
+.*: symbol `_?func' definition: 0, visibility: 0, resolution: 2
+.*: symbol `_?func1' definition: 0, visibility: 1, resolution: 3
+.*: symbol `_?func2' definition: 0, visibility: 2, resolution: 3
+.*: symbol `_?func3' definition: 0, visibility: 3, resolution: 3
#pass
--
2.10.2