diff options
author | Alan Modra <amodra@gmail.com> | 2012-06-06 10:50:18 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-06-06 10:50:18 +0000 |
commit | ffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5 (patch) | |
tree | faa1a304878cc3a84bbb519e71b76a371975937e /ld/testsuite/ld-powerpc/tlsexetoc.r | |
parent | gdb/testsuite/ (diff) | |
download | binutils-gdb-ffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5.tar.gz binutils-gdb-ffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5.tar.bz2 binutils-gdb-ffbc01ccf0e0c923db2ffa3a6b3ca6b4f6d08ac5.zip |
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-powerpc/tlsexetoc.r')
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexetoc.r | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsexetoc.r b/ld/testsuite/ld-powerpc/tlsexetoc.r index 6af3e98da21..0b6492048e3 100644 --- a/ld/testsuite/ld-powerpc/tlsexetoc.r +++ b/ld/testsuite/ld-powerpc/tlsexetoc.r @@ -85,6 +85,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* SECTION +LOCAL +DEFAULT +10 .* SECTION +LOCAL +DEFAULT +11 .* SECTION +LOCAL +DEFAULT +12 +.* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +8 gd4 .* TLS +LOCAL +DEFAULT +8 ld4 .* TLS +LOCAL +DEFAULT +8 ld5 @@ -93,10 +94,11 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +DEFAULT +8 le4 .* TLS +LOCAL +DEFAULT +8 le5 .* NOTYPE +LOCAL +DEFAULT +11 \.Lie0 +.* (FUNC|NOTYPE) +LOCAL +DEFAULT +UND \.__tls_get_addr(|_opt) +.* FILE +LOCAL +DEFAULT +ABS .* .* OBJECT +LOCAL +DEFAULT +10 _DYNAMIC -.* (NOTYPE +LOCAL +DEFAULT +7 00000010\.plt_call\.__tls_get_addr(|_opt)\+0|(FUNC|NOTYPE) +LOCAL +DEFAULT +UND \.__tls_get_addr(|_opt)) -.* (NOTYPE +LOCAL +DEFAULT +7 __glink_PLTresolve|NOTYPE +LOCAL +DEFAULT +7 00000010\.plt_call\.__tls_get_addr(|_opt)\+0) -.* ((FUNC|NOTYPE) +LOCAL +DEFAULT +UND \.__tls_get_addr(|_opt)|NOTYPE +LOCAL +DEFAULT +7 __glink_PLTresolve) +.* NOTYPE +LOCAL +DEFAULT +7 00000010\.plt_call\.__tls_get_addr(|_opt)\+0 +.* NOTYPE +LOCAL +DEFAULT +7 __glink_PLTresolve .* TLS +GLOBAL +DEFAULT +UND gd .* TLS +GLOBAL +DEFAULT +9 le0 .* TLS +GLOBAL +DEFAULT +9 ld0 |