diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2004-11-02 05:40:05 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2004-11-02 05:40:05 +0000 |
commit | ca7d30d9caa3a1ebf5cf52887251cbaf69f8cf2b (patch) | |
tree | 5d53adba54480e246340f177e714ac9524cada8a /ld/testsuite/ld-s390 | |
parent | aef7fac45b88742e0bacc948402406c2dfc3a936 (diff) | |
download | gdb-ca7d30d9caa3a1ebf5cf52887251cbaf69f8cf2b.zip gdb-ca7d30d9caa3a1ebf5cf52887251cbaf69f8cf2b.tar.gz gdb-ca7d30d9caa3a1ebf5cf52887251cbaf69f8cf2b.tar.bz2 |
* ld-cris/expdyn1.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d,
ld-cris/expdyn7.d, ld-cris/gotplt1.d, ld-cris/gotplt2.d,
ld-cris/gotplt3.d, ld-cris/hiddef1.d, ld-cris/libdso-2.d,
ld-cris/locref1.d, ld-cris/locref2.d, ld-cris/weakref2.d,
ld-i386/tlsbin.rd, ld-i386/tlsnopic.rd, ld-i386/tlspic.rd,
ld-ia64/tlsbin.dd, ld-ia64/tlsbin.rd, ld-ia64/tlspic.dd,
ld-ia64/tlspic.rd, ld-powerpc/tlsexe32.d, ld-powerpc/tlsexe32.g,
ld-powerpc/tlsexe32.r, ld-powerpc/tlsexe32.t,
ld-powerpc/tlsso32.d, ld-powerpc/tlsso32.g, ld-powerpc/tlsso32.r,
ld-powerpc/tlsso32.t, ld-s390/tlsbin.dd, ld-s390/tlsbin.rd,
ld-s390/tlspic.rd, ld-sparc/tlssunbin32.rd,
ld-sparc/tlssunpic32.rd, ld-x86-64/tlsbin.rd, ld-x86-64/tlspic.dd,
ld-x86-64/tlspic.rd: Adjust for _GLOBAL_OFFSET_TABLE_ now hidden.
Diffstat (limited to 'ld/testsuite/ld-s390')
-rw-r--r-- | ld/testsuite/ld-s390/tlsbin.dd | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-s390/tlsbin.rd | 23 | ||||
-rw-r--r-- | ld/testsuite/ld-s390/tlspic.rd | 19 |
3 files changed, 21 insertions, 23 deletions
diff --git a/ld/testsuite/ld-s390/tlsbin.dd b/ld/testsuite/ld-s390/tlsbin.dd index 82b1b87..6e49b1b 100644 --- a/ld/testsuite/ld-s390/tlsbin.dd +++ b/ld/testsuite/ld-s390/tlsbin.dd @@ -151,7 +151,7 @@ Disassembly of section .text: +[0-9a-f]+: 90 6e f0 18 stm %r6,%r14,24\(%r15\) +[0-9a-f]+: a7 d5 00 0c bras %r13,[0-9a-f]+ <_start\+0x1c> # sG6@indntpoff - +[0-9a-f]+: 00 40 15 e4 .long 0x004015e4 + +[0-9a-f]+: 00 40 15 a4 .long 0x004015a4 # bg6@indntpoff +[0-9a-f]+: ff ff ff d4 .long 0xffffffd4 # bl6@indntpoff diff --git a/ld/testsuite/ld-s390/tlsbin.rd b/ld/testsuite/ld-s390/tlsbin.rd index 562cdc1..3cf093b 100644 --- a/ld/testsuite/ld-s390/tlsbin.rd +++ b/ld/testsuite/ld-s390/tlsbin.rd @@ -18,10 +18,10 @@ Section Headers: \[ 6\] .rela.plt +.* \[ 7\] .plt +.* \[ 8\] .text +PROGBITS +.* - \[ 9\] .tdata +PROGBITS +0+4014c0 0+4c0 0+60 00 WAT +0 +0 +32 - \[10\] .tbss +NOBITS +0+401520 0+520 0+40 00 WAT +0 +0 +1 - \[11\] .dynamic +DYNAMIC +0+401520 0+520 0+a0 08 +WA +4 +0 +4 - \[12\] .got +PROGBITS +0+4015c0 0+5c0 0+2c 04 +WA +0 +0 +4 + \[ 9\] .tdata +PROGBITS +0+401480 0+480 0+60 00 WAT +0 +0 +32 + \[10\] .tbss +NOBITS +0+4014e0 0+4e0 0+40 00 WAT +0 +0 +1 + \[11\] .dynamic +DYNAMIC +0+4014e0 0+4e0 0+a0 08 +WA +4 +0 +4 + \[12\] .got +PROGBITS +0+401580 0+580 0+2c 04 +WA +0 +0 +4 \[13\] .data +.* \[14\] .bss +.* \[15\] .shstrtab +.* @@ -42,9 +42,9 @@ Program Headers: INTERP +0x0+f4 0x0+4000f4 0x0+4000f4 0x0+11 0x0+11 R +0x1 .*Requesting program interpreter.* LOAD +0x0+ 0x0+400000 0x0+400000 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x1000 - LOAD +0x0+4c0 0x0+4014c0 0x0+4014c0 0x0+12c 0x0+12c RW 0x1000 - DYNAMIC +0x0+520 0x0+401520 0x0+401520 0x0+a0 0x0+a0 RW 0x4 - TLS +0x0+4c0 0x0+4014c0 0x0+4014c0 0x0+60 0x0+a0 R +0x20 + LOAD +0x0+480 0x0+401480 0x0+401480 0x0+12c 0x0+12c RW 0x1000 + DYNAMIC +0x0+4e0 0x0+4014e0 0x0+4014e0 0x0+a0 0x0+a0 RW 0x4 + TLS +0x0+480 0x0+401480 0x0+401480 0x0+60 0x0+a0 R +0x20 Section to Segment mapping: Segment Sections... @@ -55,7 +55,7 @@ Program Headers: 04 +.dynamic * 05 +.tdata .tbss * -Relocation section '.rela.dyn' at offset 0x268 contains 4 entries: +Relocation section '.rela.dyn' at offset 0x23c contains 4 entries: Offset +Info +Type +Sym.Value Sym. Name \+ Addend [0-9a-f]+ 0+138 R_390_TLS_TPOFF +0+ +sG3 \+ 0 [0-9a-f]+ 0+338 R_390_TLS_TPOFF +0+ +sG2 \+ 0 @@ -64,9 +64,9 @@ Relocation section '.rela.dyn' at offset 0x268 contains 4 entries: Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: Offset +Info +Type +Sym.Value Sym. Name \+ Addend -[0-9a-f]+ 0+40b R_390_JMP_SLOT +0+40+2c4 +__tls_get_offset \+ 0 +[0-9a-f]+ 0+40b R_390_JMP_SLOT +0+40+298 +__tls_get_offset \+ 0 -Symbol table '.dynsym' contains 11 entries: +Symbol table '.dynsym' contains 10 entries: +Num: +Value Size Type +Bind +Vis +Ndx Name +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG3 @@ -77,7 +77,6 @@ Symbol table '.dynsym' contains 11 entries: +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG6 +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG1 +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 OBJECT GLOBAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end Symbol table '.symtab' contains 70 entries: @@ -145,7 +144,7 @@ Symbol table '.symtab' contains 70 entries: +[0-9]+: 0+14 +0 TLS +GLOBAL DEFAULT +9 sg6 +[0-9]+: 0+18 +0 TLS +GLOBAL DEFAULT +9 sg7 +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 OBJECT GLOBAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ + +[0-9]+: [0-9a-f]+ +0 OBJECT GLOBAL HIDDEN 12 _GLOBAL_OFFSET_TABLE_ +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end +[0-9]+: 0+44 +0 TLS +GLOBAL HIDDEN +9 sh2 +[0-9]+: 0+54 +0 TLS +GLOBAL HIDDEN +9 sh6 diff --git a/ld/testsuite/ld-s390/tlspic.rd b/ld/testsuite/ld-s390/tlspic.rd index 2a7640f..4a9ed17 100644 --- a/ld/testsuite/ld-s390/tlspic.rd +++ b/ld/testsuite/ld-s390/tlspic.rd @@ -17,10 +17,10 @@ Section Headers: \[ 5\] .rela.plt +.* \[ 6\] .plt +.* \[ 7\] .text +PROGBITS +.* - \[ 8\] .tdata +PROGBITS +0+1600 0+600 0+60 00 WAT 0 +0 32 - \[ 9\] .tbss +NOBITS +0+1660 0+660 0+20 00 WAT 0 +0 1 - \[10\] .dynamic +DYNAMIC +0+1660 0+660 0+98 08 WA 3 +0 4 - \[11\] .got +PROGBITS +0+16f8 0+6f8 0+58 04 WA 0 +0 4 + \[ 8\] .tdata +PROGBITS +0+15c0 0+5c0 0+60 00 WAT 0 +0 32 + \[ 9\] .tbss +NOBITS +0+1620 0+620 0+20 00 WAT 0 +0 1 + \[10\] .dynamic +DYNAMIC +0+1620 0+620 0+98 08 WA 3 +0 4 + \[11\] .got +PROGBITS +0+16b8 0+6b8 0+58 04 WA 0 +0 4 \[12\] .data +.* \[13\] .bss +.* \[14\] .shstrtab +.* @@ -38,9 +38,9 @@ There are 4 program headers, starting at offset [0-9]+ Program Headers: Type +Offset +VirtAddr +PhysAddr +FileSiz MemSiz Flg Align LOAD +0x0+ 0x0+ 0x0+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x1000 - LOAD +0x0+600 0x0+1600 0x0+1600 0x00150 0x00150 RW 0x1000 - DYNAMIC +0x0+660 0x0+1660 0x0+1660 0x0+98 0x0+98 RW 0x4 - TLS +0x0+600 0x0+1600 0x0+1600 0x0+60 0x0+80 R +0x20 + LOAD +0x0+5c0 0x0+15c0 0x0+15c0 0x00150 0x00150 RW 0x1000 + DYNAMIC +0x0+620 0x0+1620 0x0+1620 0x0+98 0x0+98 RW 0x4 + TLS +0x0+5c0 0x0+15c0 0x0+15c0 0x0+60 0x0+80 R +0x20 Section to Segment mapping: Segment Sections... @@ -70,7 +70,7 @@ Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: Offset +Info +Type +Sym.Value Sym. Name \+ Addend [0-9a-f]+ 0+b0b R_390_JMP_SLOT +0+ +__tls_get_offset \+ 0 -Symbol table '.dynsym' contains 21 entries: +Symbol table '.dynsym' contains 20 entries: +Num: +Value Size Type +Bind +Vis +Ndx Name +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 @@ -91,7 +91,6 @@ Symbol table '.dynsym' contains 21 entries: +[0-9]+: 0+14 +0 TLS +GLOBAL DEFAULT +8 sg6 +[0-9]+: 0+18 +0 TLS +GLOBAL DEFAULT +8 sg7 +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 OBJECT GLOBAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end Symbol table '.symtab' contains 56 entries: @@ -135,6 +134,7 @@ Symbol table '.symtab' contains 56 entries: +[0-9]+: 0+74 +0 TLS +LOCAL HIDDEN +9 sH6 +[0-9]+: 0+7c +0 TLS +LOCAL HIDDEN +9 sH8 +[0-9]+: 0+40 +0 TLS +LOCAL HIDDEN +8 sh1 + +[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ +[0-9]+: 0+44 +0 TLS +LOCAL HIDDEN +8 sh2 +[0-9]+: 0+54 +0 TLS +LOCAL HIDDEN +8 sh6 +[0-9]+: 0+1c +0 TLS +GLOBAL DEFAULT +8 sg8 @@ -150,5 +150,4 @@ Symbol table '.symtab' contains 56 entries: +[0-9]+: 0+14 +0 TLS +GLOBAL DEFAULT +8 sg6 +[0-9]+: 0+18 +0 TLS +GLOBAL DEFAULT +8 sg7 +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 OBJECT GLOBAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end |