diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-07-08 16:20:24 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-07-08 16:20:24 +0000 |
commit | 3403418e496fa5c0ba46836c83d5045bc152cd11 (patch) | |
tree | b59e77bda6f1395d9b5c823b4bf064baf7fa2757 /ld/testsuite/ld-ia64 | |
parent | 7e4e2059b54428715c678c775e2ea0f83f0487d1 (diff) | |
download | gdb-3403418e496fa5c0ba46836c83d5045bc152cd11.zip gdb-3403418e496fa5c0ba46836c83d5045bc152cd11.tar.gz gdb-3403418e496fa5c0ba46836c83d5045bc152cd11.tar.bz2 |
2005-07-08 H.J. Lu <hongjiu.lu@intel.com>
* ld-ia64/tlsbin.rd: Update for empty section removal change.
* ld-ia64/tlsbin.sd: Likewise.
* ld-ia64/tlspic.dd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-ia64/tlspic.sd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
Diffstat (limited to 'ld/testsuite/ld-ia64')
-rw-r--r-- | ld/testsuite/ld-ia64/tlsbin.rd | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-ia64/tlsbin.sd | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-ia64/tlspic.dd | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-ia64/tlspic.rd | 22 | ||||
-rw-r--r-- | ld/testsuite/ld-ia64/tlspic.sd | 10 |
5 files changed, 29 insertions, 31 deletions
diff --git a/ld/testsuite/ld-ia64/tlsbin.rd b/ld/testsuite/ld-ia64/tlsbin.rd index e66777d..fe5683f 100644 --- a/ld/testsuite/ld-ia64/tlsbin.rd +++ b/ld/testsuite/ld-ia64/tlsbin.rd @@ -23,7 +23,7 @@ Section Headers: \[11\] .tdata +PROGBITS +60+1[0-9a-f]+ 0+1[0-9a-f]+ 0+60 00 WAT +0 +0 +4 \[12\] .tbss +NOBITS +60+1[0-9a-f]+ 0+1[0-9a-f]+ 0+40 00 WAT +0 +0 +1 \[13\] .dynamic +DYNAMIC +60+1[0-9a-f]+ 0+1[0-9a-f]+ 0+150 10 +WA +4 +0 +8 - \[14\] .got +PROGBITS +60+2000 0+2000 0+48 00 WAp +0 +0 +8 + \[14\] .got +PROGBITS +60+1318 0+1318 0+48 00 WAp +0 +0 +8 \[15\] .IA_64.pltoff +.* \[16\] .shstrtab +.* \[17\] .symtab +.* @@ -48,13 +48,13 @@ Program Headers: Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 3 entries: +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend -60+2018 0+200000097 R_IA64_TPREL64LSB +0+ sG2 \+ 0 -60+2020 0+5000000a7 R_IA64_DTPMOD64LSB +0+ sG1 \+ 0 -60+2028 0+5000000b7 R_IA64_DTPREL64LSB +0+ sG1 \+ 0 +60+1330 0+200000097 R_IA64_TPREL64LSB +0+ sG2 \+ 0 +60+1338 0+5000000a7 R_IA64_DTPMOD64LSB +0+ sG1 \+ 0 +60+1340 0+5000000b7 R_IA64_DTPREL64LSB +0+ sG1 \+ 0 Relocation section '.rela.IA_64.pltoff' at offset 0x[0-9a-f]+ contains 1 entries: +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend -60+2050 0+300000081 R_IA64_IPLTLSB +0+ __tls_get_addr \+ 0 +60+1360 0+300000081 R_IA64_IPLTLSB +0+ __tls_get_addr \+ 0 Symbol table '.dynsym' contains 8 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name diff --git a/ld/testsuite/ld-ia64/tlsbin.sd b/ld/testsuite/ld-ia64/tlsbin.sd index 4ee17c6..5d8ab65 100644 --- a/ld/testsuite/ld-ia64/tlsbin.sd +++ b/ld/testsuite/ld-ia64/tlsbin.sd @@ -8,8 +8,8 @@ .*: +file format elf..-ia64-.* Contents of section .got: - (60+)?2000 0+ 0+ 0+ 0+ .* - (60+)?2010 0+ 0+ 0+ 0+ .* - (60+)?2020 0+ 0+ 0+ 0+ .* - (60+)?2030 01000000 0+ 90000000 0+ .* - (60+)?2040 24000000 0+ .* + (60+)?1318 0+ 0+ 0+ 0+ .* + (60+)?1328 0+ 0+ 0+ 0+ .* + (60+)?1338 0+ 0+ 0+ 0+ .* + (60+)?1348 01000000 0+ 90000000 0+ .* + (60+)?1358 24000000 0+ .* diff --git a/ld/testsuite/ld-ia64/tlspic.dd b/ld/testsuite/ld-ia64/tlspic.dd index a8953c5..f4e2f80 100644 --- a/ld/testsuite/ld-ia64/tlspic.dd +++ b/ld/testsuite/ld-ia64/tlspic.dd @@ -18,25 +18,25 @@ Disassembly of section .text: +101c: 01 0a 00 90[ ]+addl r15=32,r1;; +1020: 19 18 01 1c 18 10[ ]+\[MMB\] +ld8 r35=\[r14\] +1026: 40 02 3c 30 20 00[ ]+ld8 r36=\[r15\] - +102c: 68 f5 ff 58[ ]+br.call.sptk.many b0=[0-9a-f]+ <.*>;; + +102c: 28 f5 ff 58[ ]+br.call.sptk.many b0=[0-9a-f]+ <.*>;; +1030: 0d 70 c0 02 00 24[ ]+\[MFI\] +addl r14=48,r1 +1036: 00 00 00 02 00 e0[ ]+nop.f 0x0 +103c: 01 0c 00 90[ ]+addl r15=64,r1;; +1040: 19 18 01 1c 18 10[ ]+\[MMB\] +ld8 r35=\[r14\] +1046: 40 02 3c 30 20 00[ ]+ld8 r36=\[r15\] - +104c: 48 f5 ff 58[ ]+br.call.sptk.many b0=[0-9a-f]+ <.*>;; + +104c: 08 f5 ff 58[ ]+br.call.sptk.many b0=[0-9a-f]+ <.*>;; +1050: 0d 70 c0 02 00 24[ ]+\[MFI\] +addl r14=48,r1 +1056: 00 00 00 02 00 80[ ]+nop.f 0x0 +105c: 14 02 00 90[ ]+mov r36=33;; +1060: 1d 18 01 1c 18 10[ ]+\[MFB\] +ld8 r35=\[r14\] +1066: 00 00 00 02 00 00[ ]+nop.f 0x0 - +106c: 28 f5 ff 58[ ]+br.call.sptk.many b0=[0-9a-f]+ <.*>;; + +106c: e8 f4 ff 58[ ]+br.call.sptk.many b0=[0-9a-f]+ <.*>;; +1070: 0d 70 c0 02 00 24[ ]+\[MFI\] +addl r14=48,r1 +1076: 00 00 00 02 00 80[ ]+nop.f 0x0 +107c: 04 00 00 84[ ]+mov r36=r0;; +1080: 1d 18 01 1c 18 10[ ]+\[MFB\] +ld8 r35=\[r14\] +1086: 00 00 00 02 00 00[ ]+nop.f 0x0 - +108c: 08 f5 ff 58[ ]+br.call.sptk.many b0=[0-9a-f]+ <.*>;; + +108c: c8 f4 ff 58[ ]+br.call.sptk.many b0=[0-9a-f]+ <.*>;; +1090: 0b 10 00 10 00 21[ ]+\[MMI\] +mov r2=r8;; +1096: e0 00 0a 00 48 e0[ ]+addl r14=64,r2 +109c: 21 16 00 90[ ]+addl r15=98,r2;; diff --git a/ld/testsuite/ld-ia64/tlspic.rd b/ld/testsuite/ld-ia64/tlspic.rd index a5a3370..c0e151f 100644 --- a/ld/testsuite/ld-ia64/tlspic.rd +++ b/ld/testsuite/ld-ia64/tlspic.rd @@ -22,7 +22,7 @@ Section Headers: \[10\] .tdata +PROGBITS +0+11[0-9a-f]+ 0+1[0-9a-f]+ 0+60 00 WAT +0 +0 +4 \[11\] .tbss +NOBITS +0+11[0-9a-f]+ 0+1[0-9a-f]+ 0+20 00 WAT +0 +0 +1 \[12\] .dynamic +DYNAMIC +0+11[0-9a-f]+ 0+1[0-9a-f]+ 0+140 10 +WA +3 +0 +8 - \[13\] .got +PROGBITS +0+12000 0+2000 0+50 00 WAp +0 +0 +8 + \[13\] .got +PROGBITS +0+112d8 0+12d8 0+50 00 WAp +0 +0 +8 \[14\] .IA_64.pltoff +.* \[15\] .shstrtab +.* \[16\] .symtab +.* @@ -45,18 +45,18 @@ Program Headers: Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 6 entries: +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend -0+12018 +0+f000000a7 R_IA64_DTPMOD64LSB +0+ sg1 \+ 0 -0+12020 +0+f000000b7 R_IA64_DTPREL64LSB +0+ sg1 \+ 0 -0+12028 +0+1200000097 R_IA64_TPREL64LSB +0+4 sg2 \+ 0 -0+12030 +0+a7 R_IA64_DTPMOD64LSB +0+ -0+12038 +0+97 R_IA64_TPREL64LSB +0+44 -0+12048 +0+97 R_IA64_TPREL64LSB +0+24 +0+112f0 +0+d000000a7 R_IA64_DTPMOD64LSB +0+ sg1 \+ 0 +0+112f8 +0+d000000b7 R_IA64_DTPREL64LSB +0+ sg1 \+ 0 +0+11300 +0+1000000097 R_IA64_TPREL64LSB +0+4 sg2 \+ 0 +0+11308 +0+a7 R_IA64_DTPMOD64LSB +0+ +0+11310 +0+97 R_IA64_TPREL64LSB +0+44 +0+11320 +0+97 R_IA64_TPREL64LSB +0+24 Relocation section '.rela.IA_64.pltoff' at offset 0x[0-9a-f]+ contains 1 entries: +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend -0+[0-9a-f]+ +0+e00000081 R_IA64_IPLTLSB +0+ __tls_get_addr \+ 0 +0+[0-9a-f]+ +0+c00000081 R_IA64_IPLTLSB +0+ __tls_get_addr \+ 0 -Symbol table '.dynsym' contains 23 entries: +Symbol table '.dynsym' contains 21 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 * @@ -64,9 +64,7 @@ Symbol table '.dynsym' contains 23 entries: +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +9 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +10 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +11 * - +[0-9]+: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +14 * - +[0-9]+: 0+ +0 NOTYPE +LOCAL +DEFAULT +UND * +[0-9]+: 0+1c +0 TLS +GLOBAL DEFAULT +10 sg8 +[0-9]+: 0+11[0-9a-f]+ +0 OBJECT +GLOBAL DEFAULT +ABS _DYNAMIC +[0-9]+: 0+8 +0 TLS +GLOBAL DEFAULT +10 sg3 @@ -124,7 +122,7 @@ Symbol table '.symtab' contains 57 entries: +[0-9]+: 0+74 +0 TLS +LOCAL +HIDDEN +11 sH6 +[0-9]+: 0+7c +0 TLS +LOCAL +HIDDEN +11 sH8 +[0-9]+: 0+40 +0 TLS +LOCAL +HIDDEN +10 sh1 - +[0-9]+: 0+12000 +0 OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ + +[0-9]+: 0+112d8 +0 OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ +[0-9]+: 0+44 +0 TLS +LOCAL +HIDDEN +10 sh2 +[0-9]+: 0+54 +0 TLS +LOCAL +HIDDEN +10 sh6 +[0-9]+: 0+1c +0 TLS +GLOBAL DEFAULT +10 sg8 diff --git a/ld/testsuite/ld-ia64/tlspic.sd b/ld/testsuite/ld-ia64/tlspic.sd index 0838b0f..7b03a08 100644 --- a/ld/testsuite/ld-ia64/tlspic.sd +++ b/ld/testsuite/ld-ia64/tlspic.sd @@ -8,8 +8,8 @@ .*: +file format elf..-ia64-.* Contents of section .got: - 12000 0+ 0+ 0+ 0+ .* - 12010 0+ 0+ [0-9a-f]+ [0-9a-f]+ .* - 12020 [0-9a-f]+ [0-9a-f]+ [0-9a-f]+ [0-9a-f]+ .* - 12030 [0-9a-f]+ [0-9a-f]+ [0-9a-f]+ [0-9a-f]+ .* - 12040 440+ 0+ [0-9a-f]+ [0-9a-f]+ .* + 112d8 0+ 0+ 0+ 0+ .* + 112e8 0+ 0+ [0-9a-f]+ [0-9a-f]+ .* + 112f8 [0-9a-f]+ [0-9a-f]+ [0-9a-f]+ [0-9a-f]+ .* + 11308 [0-9a-f]+ [0-9a-f]+ [0-9a-f]+ [0-9a-f]+ .* + 11318 440+ 0+ [0-9a-f]+ [0-9a-f]+ .* |