* ld-powerpc/tls.s (gd, ld): Set tls type for undefined syms.

* ld-powerpc/tls32.s (gd, ld): Likewise.
	* ld-powerpc/tlstoc.s (gd, ld): Likewise.
	* ld-powerpc/tlsso.r: Update.
	* ld-powerpc/tlsso32.r: Update.
	* ld-powerpc/tlstocso.r: Update.
This commit is contained in:
Alan Modra 2004-10-01 02:19:04 +00:00
parent 8935b81f1f
commit 73d14ad423
7 changed files with 30 additions and 12 deletions

View File

@ -1,3 +1,12 @@
2004-10-01 Alan Modra <amodra@bigpond.net.au>
* ld-powerpc/tls.s (gd, ld): Set tls type for undefined syms.
* ld-powerpc/tls32.s (gd, ld): Likewise.
* ld-powerpc/tlstoc.s (gd, ld): Likewise.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlsso32.r: Update.
* ld-powerpc/tlstocso.r: Update.
2004-09-30 Paul Brook <paul@codesourcery.com>
* ld-arm/arm-elf.exp: Add test for --target2=abs.

View File

@ -19,6 +19,9 @@ ie4: .quad 0x56789abcdef01234
le4: .quad 0x6789abcdef012345
le5: .quad 0x789abcdef0123456
.type gd,@tls_object
.type ld,@tls_object
.text
_start:
#extern syms

View File

@ -19,6 +19,9 @@ ie4: .long 0x56789abc
le4: .long 0x6789abcd
le5: .long 0x789abcde
.type gd,@tls_object
.type ld,@tls_object
.text
_start:
#extern syms

View File

@ -80,12 +80,12 @@ Symbol table '\.dynsym' contains 22 entries:
+[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +11
+[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15
+[0-9]+: 0+10700 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND gd
+[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+40 +0 TLS +GLOBAL DEFAULT +8 ld0
+[0-9]+: 0+68 +0 TLS +GLOBAL DEFAULT +8 le1
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND ld
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND ld
+[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +6 _start
+[0-9]+: 0+50 +0 TLS +GLOBAL DEFAULT +8 ld2
+[0-9]+: 0+48 +0 TLS +GLOBAL DEFAULT +8 ld1
@ -125,12 +125,12 @@ Symbol table '\.symtab' contains 42 entries:
+[0-9]+: 0+30 +0 TLS +LOCAL +DEFAULT +7 le5
+[0-9]+: [0-9a-f]+ +0 NOTYPE +LOCAL +DEFAULT +6 \.__tls_get_addr
+[0-9]+: 0+10700 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND gd
+[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+40 +0 TLS +GLOBAL DEFAULT +8 ld0
+[0-9]+: 0+68 +0 TLS +GLOBAL DEFAULT +8 le1
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND ld
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND ld
+[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +6 _start
+[0-9]+: 0+50 +0 TLS +GLOBAL DEFAULT +8 ld2
+[0-9]+: 0+48 +0 TLS +GLOBAL DEFAULT +8 ld1

View File

@ -85,12 +85,12 @@ Symbol table '\.dynsym' contains 28 entries:
+[0-9]+: 0+105f8 +0 SECTION LOCAL +DEFAULT +14
+[0-9]+: 0+1064c +0 SECTION LOCAL +DEFAULT +16
+[0-9]+: 0+10524 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND gd
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND gd
+[0-9]+: 0+30 +0 TLS +GLOBAL DEFAULT +8 le0
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr
+[0-9]+: 0+20 +0 TLS +GLOBAL DEFAULT +8 ld0
+[0-9]+: 0+34 +0 TLS +GLOBAL DEFAULT +8 le1
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND ld
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND ld
+[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +6 _start
+[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __end
+[0-9]+: [0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +13 _SDA_BASE_
@ -134,12 +134,12 @@ Symbol table '\.symtab' contains 46 entries:
+[0-9]+: 0+14 +0 TLS +LOCAL +DEFAULT +7 le4
+[0-9]+: 0+18 +0 TLS +LOCAL +DEFAULT +7 le5
+[0-9]+: 0+10524 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND gd
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND gd
+[0-9]+: 0+30 +0 TLS +GLOBAL DEFAULT +8 le0
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr
+[0-9]+: 0+20 +0 TLS +GLOBAL DEFAULT +8 ld0
+[0-9]+: 0+34 +0 TLS +GLOBAL DEFAULT +8 le1
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND ld
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND ld
+[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +6 _start
+[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __end
+[0-9]+: [0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +13 _SDA_BASE_

View File

@ -19,6 +19,9 @@ ie4: .quad 0x56789abcdef01234
le4: .quad 0x6789abcdef012345
le5: .quad 0x789abcdef0123456
.type gd,@tls_object
.type ld,@tls_object
.text
_start:
#extern syms

View File

@ -75,12 +75,12 @@ Symbol table '\.dynsym' contains 22 entries:
+[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +11
+[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15
+[0-9]+: 0+10648 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND gd
+[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+40 +0 TLS +GLOBAL DEFAULT +8 ld0
+[0-9]+: 0+68 +0 TLS +GLOBAL DEFAULT +8 le1
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND ld
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND ld
+[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +6 _start
+[0-9]+: 0+50 +0 TLS +GLOBAL DEFAULT +8 ld2
+[0-9]+: 0+48 +0 TLS +GLOBAL DEFAULT +8 ld1
@ -121,12 +121,12 @@ Symbol table '\.symtab' contains 43 entries:
+[0-9]+: [0-9a-f]+ +0 NOTYPE +LOCAL +DEFAULT +12 \.Lie0
+[0-9]+: [0-9a-f]+ +0 NOTYPE +LOCAL +DEFAULT +6 \.__tls_get_addr
+[0-9]+: 0+10648 +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND gd
+[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+40 +0 TLS +GLOBAL DEFAULT +8 ld0
+[0-9]+: 0+68 +0 TLS +GLOBAL DEFAULT +8 le1
+[0-9]+: 0+ +0 NOTYPE +GLOBAL DEFAULT +UND ld
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +UND ld
+[0-9]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +6 _start
+[0-9]+: 0+50 +0 TLS +GLOBAL DEFAULT +8 ld2
+[0-9]+: 0+48 +0 TLS +GLOBAL DEFAULT +8 ld1