summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-mn10300
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2012-06-06 10:50:12 +0000
committerAlan Modra <amodra@bigpond.net.au>2012-06-06 10:50:12 +0000
commit55945eb7665ec0e06917a3ce0da5aeb20de73a94 (patch)
tree2b90d2aaeaf7ea3eb36f6de24f25ad9afef3bf86 /ld/testsuite/ld-mn10300
parent682293aa8ffb509d50cd30e00c70458f27da9501 (diff)
downloadbinutils-redhat-55945eb7665ec0e06917a3ce0da5aeb20de73a94.tar.gz
bfd/
* elflink.c (elf_link_input_bfd): Provide a file symbol for each input file with local syms, if the input lacks such. (bfd_elf_final_link): Add a file symbol to mark end of locals for which we can associate with input files. (struct elf_final_link_info): Add filesym_count field. (struct elf_outext_info): Add need_second_pass and second_pass. (elf_link_output_extsym): Detect symbols defined in the output file, emit them on second pass over locals. ld/testsuite/ Update to suit added STT_FILE symbols.
Diffstat (limited to 'ld/testsuite/ld-mn10300')
-rw-r--r--ld/testsuite/ld-mn10300/i135409-1.d1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/testsuite/ld-mn10300/i135409-1.d b/ld/testsuite/ld-mn10300/i135409-1.d
index 7fa868a8e3..9fe686b2ce 100644
--- a/ld/testsuite/ld-mn10300/i135409-1.d
+++ b/ld/testsuite/ld-mn10300/i135409-1.d
@@ -5,6 +5,7 @@ Symbol table '.symtab' contains .. entries:
+..: 0[0-9a-f]+ +7 +FUNC +LOCAL +DEFAULT +. _func
#...
+..: 0[0-9a-f]+ +0 +NOTYPE +LOCAL +DEFAULT +. A
+#...
+..: 0[0-9a-f]+ +7 +FUNC +GLOBAL +DEFAULT +. _func2
#...
+..: 0[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +. BOTTOM