aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/split-by-file.rd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-06-06 10:50:18 +0000
committerAlan Modra <amodra@gmail.com>2012-06-06 10:50:18 +0000
commitffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5 (patch)
treefaa1a304878cc3a84bbb519e71b76a371975937e /ld/testsuite/ld-x86-64/split-by-file.rd
parent7b2fe205fd75672d5925fe63f3a0896fa3168aaf (diff)
downloadgdb-ffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5.zip
gdb-ffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5.tar.gz
gdb-ffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5.tar.bz2
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-x86-64/split-by-file.rd')
-rw-r--r--ld/testsuite/ld-x86-64/split-by-file.rd4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-x86-64/split-by-file.rd b/ld/testsuite/ld-x86-64/split-by-file.rd
index 7c63aaa..897ab0f 100644
--- a/ld/testsuite/ld-x86-64/split-by-file.rd
+++ b/ld/testsuite/ld-x86-64/split-by-file.rd
@@ -9,8 +9,8 @@ Section Headers:
\[ 4\] .bss NOBITS 0000000000000000 000044 000000 00 WA 0 0 4
\[ 5\] .foo.0 PROGBITS 0000000000000003 000044 000003 00 AXl 0 0 1
\[ 6\] .shstrtab STRTAB 0000000000000000 000047 000038 00 0 0 1
- \[ 7\] .symtab SYMTAB 0000000000000000 0002c0 0000d8 18 8 6 8
- \[ 8\] .strtab STRTAB 0000000000000000 000398 000016 00 0 0 1
+ \[ 7\] .symtab SYMTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 18 8 [0-9] 8
+ \[ 8\] .strtab STRTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\)
I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\)