summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-sh/sh64/crange2.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-sh/sh64/crange2.rd
parent7b2fe205fd75672d5925fe63f3a0896fa3168aaf (diff)
downloadbinutils-gdb-ffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5.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-sh/sh64/crange2.rd')
-rw-r--r--ld/testsuite/ld-sh/sh64/crange2.rd3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-sh/sh64/crange2.rd b/ld/testsuite/ld-sh/sh64/crange2.rd
index 3ee4dbb63a6..5bff4c3f603 100644
--- a/ld/testsuite/ld-sh/sh64/crange2.rd
+++ b/ld/testsuite/ld-sh/sh64/crange2.rd
@@ -22,11 +22,14 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.*: 00001004 +0 +SECTION +LOCAL +DEFAULT +2
.*: 00080000 +0 +SECTION +LOCAL +DEFAULT +3
.*: 00000000 +0 +SECTION +LOCAL +DEFAULT +4
+.* FILE +LOCAL +DEFAULT +ABS .*
.*: 00001004 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2
+.* FILE +LOCAL +DEFAULT +ABS .*
.*: 0000101c +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 sec1
.*: 0000102c +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 sec2
.*: 00001040 +0 +NOTYPE +LOCAL +DEFAULT +2 sec3
.*: 00001048 +0 +NOTYPE +LOCAL +DEFAULT +2 sec4
+.* FILE +LOCAL +DEFAULT +ABS .*
.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors
.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors_end