aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm
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-arm
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-arm')
-rw-r--r--ld/testsuite/ld-arm/script-type.sym32
1 files changed, 17 insertions, 15 deletions
diff --git a/ld/testsuite/ld-arm/script-type.sym b/ld/testsuite/ld-arm/script-type.sym
index d319d5c..4b54dd6 100644
--- a/ld/testsuite/ld-arm/script-type.sym
+++ b/ld/testsuite/ld-arm/script-type.sym
@@ -1,16 +1,18 @@
-Symbol table '.symtab' contains 13 entries:
- Num: Value Size Type Bind Vis Ndx Name
- 0: 00000000 0 NOTYPE LOCAL DEFAULT UND
- 1: 00000000 0 SECTION LOCAL DEFAULT 1
- 2: 00000000 0 SECTION LOCAL DEFAULT 2
- 3: 00000000 0 NOTYPE LOCAL DEFAULT 1 \$a
- 4: 00000010 0 NOTYPE LOCAL DEFAULT 1 \$d
- 5: 00000014 0 NOTYPE LOCAL DEFAULT 1 \$a
- 6: 00000020 0 NOTYPE LOCAL DEFAULT 1 \$t
- 7: 00000010 0 OBJECT GLOBAL DEFAULT 1 bar_o
- 8: 00000021 0 FUNC GLOBAL DEFAULT 1 bar_t
- 9: 00000000 0 FUNC GLOBAL DEFAULT 1 foo_a
- 10: 00000021 0 FUNC GLOBAL DEFAULT 1 foo_t
- 11: 00000010 0 OBJECT GLOBAL DEFAULT 1 foo_o
- 12: 00000000 0 FUNC GLOBAL DEFAULT 1 bar_a
+Symbol table '.symtab' contains [0-9]+ entries:
+ +Num: +Value +Size Type +Bind +Vis +Ndx Name
+.* 0+ +0 NOTYPE +LOCAL +DEFAULT +UND
+.* 0+ +0 SECTION LOCAL +DEFAULT +1
+.* 0+ +0 SECTION LOCAL +DEFAULT +2
+.* 0+ +0 FILE +LOCAL +DEFAULT +ABS .*
+.* 0+ +0 NOTYPE +LOCAL +DEFAULT +1 \$a
+.* 0+10 +0 NOTYPE +LOCAL +DEFAULT +1 \$d
+.* 0+14 +0 NOTYPE +LOCAL +DEFAULT +1 \$a
+.* 0+20 +0 NOTYPE +LOCAL +DEFAULT +1 \$t
+.* 0+ +0 FILE +LOCAL +DEFAULT +ABS .*
+.* 0+10 +0 OBJECT +GLOBAL DEFAULT +1 bar_o
+.* 0+21 +0 FUNC +GLOBAL DEFAULT +1 bar_t
+.* 0+ +0 FUNC +GLOBAL DEFAULT +1 foo_a
+.* 0+21 +0 FUNC +GLOBAL DEFAULT +1 foo_t
+.* 0+10 +0 OBJECT +GLOBAL DEFAULT +1 foo_o
+.* 0+ +0 FUNC +GLOBAL DEFAULT +1 bar_a