X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-powerpc%2Ftlsexe.r;fp=ld%2Ftestsuite%2Fld-powerpc%2Ftlsexe.r;h=4b43cc19b8c11983ead3ae15b0ff5f71c4ded03a;hp=296d814ec8ada069483cd13c3a955830422e90a6;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/testsuite/ld-powerpc/tlsexe.r b/ld/testsuite/ld-powerpc/tlsexe.r index 296d814..4b43cc1 100644 --- a/ld/testsuite/ld-powerpc/tlsexe.r +++ b/ld/testsuite/ld-powerpc/tlsexe.r @@ -5,32 +5,32 @@ #readelf: -WSsrl #target: powerpc64*-*-* -There are 17 section headers.* +There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: Section Headers: +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al - +\[ 0\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 - +\[ 1\] \.interp +.* - +\[ 2\] \.hash +.* - +\[ 3\] \.dynsym +.* - +\[ 4\] \.dynstr +.* - +\[ 5\] \.rela\.dyn +.* - +\[ 6\] \.rela\.plt +.* - +\[ 7\] \.text +PROGBITS .* 0+f8 0+ +AX +0 +0 +8 - +\[ 8\] \.tdata +PROGBITS .* 0+38 0+ WAT +0 +0 +8 - +\[ 9\] \.tbss +NOBITS .* 0+38 0+ WAT +0 +0 +8 - +\[10\] \.dynamic +DYNAMIC .* 0+150 10 +WA +4 +0 +8 - +\[11\] \.branch_lt + PROGBITS .* 0+ 0+ +WA +0 +0 +8 - +\[12\] \.got +PROGBITS .* 0+30 08 +WA +0 +0 +8 - +\[13\] \.plt +.* - +\[14\] \.shstrtab +.* - +\[15\] \.symtab +.* - +\[16\] \.strtab +.* + +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 + +\[[ 0-9]+\] \.interp +.* + +\[[ 0-9]+\] \.hash +.* + +\[[ 0-9]+\] \.dynsym +.* + +\[[ 0-9]+\] \.dynstr +.* + +\[[ 0-9]+\] \.rela\.dyn +.* + +\[[ 0-9]+\] \.rela\.plt +.* + +\[[ 0-9]+\] \.text +PROGBITS .* 0+130 0+ +AX +0 +0 +8 + +\[[ 0-9]+\] \.tdata +PROGBITS .* 0+38 0+ WAT +0 +0 +8 + +\[[ 0-9]+\] \.tbss +NOBITS .* 0+38 0+ WAT +0 +0 +8 + +\[[ 0-9]+\] \.dynamic +DYNAMIC .* 0+160 10 +WA +4 +0 +8 + +\[[ 0-9]+\] \.branch_lt + PROGBITS .* 0+ 0+ +WA +0 +0 +8 + +\[[ 0-9]+\] \.got +PROGBITS .* 0+30 08 +WA +0 +0 +8 + +\[[ 0-9]+\] \.plt +.* + +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* #... Elf file type is EXEC \(Executable file\) Entry point .* -There are 6 program headers.* +There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align @@ -59,20 +59,20 @@ Relocation section '\.rela\.dyn' at offset .* contains 3 entries: Relocation section '\.rela\.plt' at offset .* contains 1 entries: +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend -[0-9a-f ]+R_PPC64_JMP_SLOT +0+ __tls_get_addr \+ 0 +[0-9a-f ]+R_PPC64_JMP_SLOT +0+ __tls_get_addr_opt \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND .* TLS +GLOBAL DEFAULT +UND gd -.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr .* TLS +GLOBAL DEFAULT +UND ld .* TLS +GLOBAL DEFAULT +9 ld2 .* NOTYPE +GLOBAL DEFAULT +ABS __bss_start +.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr_opt .* NOTYPE +GLOBAL DEFAULT +ABS _edata .* NOTYPE +GLOBAL DEFAULT +ABS _end -Symbol table '\.symtab' contains .* entries: +Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* 0+ +0 NOTYPE +LOCAL +DEFAULT +UND .* SECTION LOCAL +DEFAULT +1 @@ -96,10 +96,11 @@ Symbol table '\.symtab' contains .* entries: .* TLS +LOCAL +DEFAULT +8 le4 .* TLS +LOCAL +DEFAULT +8 le5 .* OBJECT +LOCAL +HIDDEN +10 _DYNAMIC -.* FUNC +LOCAL +DEFAULT +UND \.__tls_get_addr +.* (NOTYPE +LOCAL +DEFAULT +7 00000010\.plt_call\.__tls_get_addr(|_opt)\+0|(FUNC|NOTYPE) +LOCAL +DEFAULT +UND \.__tls_get_addr(|_opt)) +.* (NOTYPE +LOCAL +DEFAULT +7 __glink_PLTresolve|NOTYPE +LOCAL +DEFAULT +7 00000010\.plt_call\.__tls_get_addr(|_opt)\+0) +.* ((FUNC|NOTYPE) +LOCAL +DEFAULT +UND \.__tls_get_addr(|_opt)|NOTYPE +LOCAL +DEFAULT +7 __glink_PLTresolve) .* GLOBAL DEFAULT +UND gd .* GLOBAL DEFAULT +9 le0 -.* GLOBAL DEFAULT +UND __tls_get_addr .* GLOBAL DEFAULT +9 ld0 .* GLOBAL DEFAULT +9 le1 .* GLOBAL DEFAULT +UND ld @@ -107,6 +108,7 @@ Symbol table '\.symtab' contains .* entries: .* TLS +GLOBAL DEFAULT +9 ld2 .* TLS +GLOBAL DEFAULT +9 ld1 .* NOTYPE +GLOBAL DEFAULT +ABS __bss_start +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt .* NOTYPE +GLOBAL DEFAULT +ABS _edata .* NOTYPE +GLOBAL DEFAULT +ABS _end .* TLS +GLOBAL DEFAULT +9 gd0