diff options
author | Alan Modra <amodra@gmail.com> | 2005-02-01 04:22:41 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-02-01 04:22:41 +0000 |
commit | bb700d785171ef80b094bf9e491b38d4a0eedd54 (patch) | |
tree | 285f1d661f7d322b9c6a2334a11b8c110c1b4df1 /ld/testsuite/ld-powerpc/tlsso.r | |
parent | 1ffd1c2fd7a6e1f4c295c4214ed3305ac02d8a74 (diff) | |
download | gdb-bb700d785171ef80b094bf9e491b38d4a0eedd54.zip gdb-bb700d785171ef80b094bf9e491b38d4a0eedd54.tar.gz gdb-bb700d785171ef80b094bf9e491b38d4a0eedd54.tar.bz2 |
bfd/
* elf64-ppc.c (func_desc_adjust): Move code creating func desc sym to..
(make_fdh): ..here. New function. Don't set BSF_OBJECT for
undefined syms.
(struct add_symbol_adjust_data): New.
(add_symbol_adjust): Make an undefweak func desc for old ABI
objects to link with --as-needed shared libs. Return fail status.
Don't adjust old ABI func entry sym to weak if func desc syms
isn't defined.
(ppc64_elf_check_directives): Adjust call to add_symbol_adjust,
and return status.
ld/testsuite/
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.
Diffstat (limited to 'ld/testsuite/ld-powerpc/tlsso.r')
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsso.r | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsso.r b/ld/testsuite/ld-powerpc/tlsso.r index 9cb00ff..17faa1e 100644 --- a/ld/testsuite/ld-powerpc/tlsso.r +++ b/ld/testsuite/ld-powerpc/tlsso.r @@ -82,7 +82,7 @@ Symbol table '\.dynsym' contains 22 entries: +[0-9]+: 0+10700 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND gd +[0-9]+: 0+60 +0 TLS +GLOBAL DEFAULT +8 le0 - +[0-9]+: 0+ +24 OBJECT +GLOBAL DEFAULT +UND __tls_get_addr + +[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr +[0-9]+: 0+40 +0 TLS +GLOBAL DEFAULT +8 ld0 +[0-9]+: 0+68 +0 TLS +GLOBAL DEFAULT +8 le1 +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND ld @@ -127,7 +127,7 @@ Symbol table '\.symtab' contains 42 entries: +[0-9]+: 0+10700 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND gd +[0-9]+: 0+60 +0 TLS +GLOBAL DEFAULT +8 le0 - +[0-9]+: 0+ +24 OBJECT +GLOBAL DEFAULT +UND __tls_get_addr + +[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr +[0-9]+: 0+40 +0 TLS +GLOBAL DEFAULT +8 ld0 +[0-9]+: 0+68 +0 TLS +GLOBAL DEFAULT +8 le1 +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND ld |