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/tlstocso.r | |
parent | 1ffd1c2fd7a6e1f4c295c4214ed3305ac02d8a74 (diff) | |
download | fsf-binutils-gdb-bb700d785171ef80b094bf9e491b38d4a0eedd54.zip fsf-binutils-gdb-bb700d785171ef80b094bf9e491b38d4a0eedd54.tar.gz fsf-binutils-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/tlstocso.r')
-rw-r--r-- | ld/testsuite/ld-powerpc/tlstocso.r | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-powerpc/tlstocso.r b/ld/testsuite/ld-powerpc/tlstocso.r index 8369b5a..1dc285a 100644 --- a/ld/testsuite/ld-powerpc/tlstocso.r +++ b/ld/testsuite/ld-powerpc/tlstocso.r @@ -77,7 +77,7 @@ Symbol table '\.dynsym' contains 22 entries: +[0-9]+: 0+10648 +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 @@ -123,7 +123,7 @@ Symbol table '\.symtab' contains 43 entries: +[0-9]+: 0+10648 +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 |