diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-09-30 01:33:15 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-09-30 01:33:15 +0000 |
commit | c9ccd0dfa0dbdda5a460ea69ce977b0af31dfc20 (patch) | |
tree | 734e20bb6d88e7fdc64cc99dd3e1dd7b4d5273cc /ld/testsuite/ld-powerpc/tlsexe32.r | |
parent | 844cacac6e101cf67d5ac5613f400e619f3131e1 (diff) | |
download | gdb-c9ccd0dfa0dbdda5a460ea69ce977b0af31dfc20.zip gdb-c9ccd0dfa0dbdda5a460ea69ce977b0af31dfc20.tar.gz gdb-c9ccd0dfa0dbdda5a460ea69ce977b0af31dfc20.tar.bz2 |
2007-09-29 Mike Frysinger <vapier@gentoo.org>
* ld-alpha/tlsbin.rd: Use [0-9]+ to match section header count and
0x[0-9a-f]+ to match section header offset. Match section indexes
with \[[ 0-9]+\]. Use [0-9]+ to match program header count and
0x[0-9a-f]+ to match program header offset. Match .dynsym and
.symtab entry counts with [0-9]+.
* ld-alpha/tlsbinr.rd: Likewise.
* ld-alpha/tlspic.rd: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsbindesc.rd: Likewise.
* ld-i386/tlsdesc.rd: Likewise.
* ld-i386/tlsgdesc.rd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlspic.rd: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-sparc/tlssunbin32.rd: Likewise.
* ld-sparc/tlssunbin64.rd: Likewise.
* ld-sparc/tlssunnopic32.rd: Likewise.
* ld-sparc/tlssunnopic64.rd: Likewise.
* ld-sparc/tlssunpic32.rd: Likewise.
* ld-sparc/tlssunpic64.rd: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-x86-64/tlsbindesc.rd: Likewise.
* ld-x86-64/tlsdesc.rd: Likewise.
* ld-x86-64/tlsgdesc.rd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
Diffstat (limited to 'ld/testsuite/ld-powerpc/tlsexe32.r')
-rw-r--r-- | ld/testsuite/ld-powerpc/tlsexe32.r | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/ld/testsuite/ld-powerpc/tlsexe32.r b/ld/testsuite/ld-powerpc/tlsexe32.r index ed388ef..86a0ab8 100644 --- a/ld/testsuite/ld-powerpc/tlsexe32.r +++ b/ld/testsuite/ld-powerpc/tlsexe32.r @@ -5,31 +5,31 @@ #readelf: -WSsrl #target: powerpc*-*-* -There are 16 section headers.* +There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: Section Headers: +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al - +\[ 0\] +NULL +0+ 0+ 0+ 00 +0 +0 +0 - +\[ 1\] \.interp +.* - +\[ 2\] \.hash +.* - +\[ 3\] \.dynsym +.* - +\[ 4\] \.dynstr +.* - +\[ 5\] \.rela\.dyn +.* - +\[ 6\] \.rela\.plt +.* - +\[ 7\] \.text +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000070 00 +AX +0 +0 +1 - +\[ 8\] \.tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ 00001c 00 WAT +0 +0 +4 - +\[ 9\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 00001c 00 WAT +0 +0 +4 - +\[10\] \.dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4 - +\[11\] \.got +PROGBITS +[0-9a-f]+ [0-9a-f]+ 00001c 04 WAX +0 +0 +4 - +\[12\] \.plt +NOBITS +.* - +\[13\] \.shstrtab +STRTAB +.* - +\[14\] \.symtab +SYMTAB +.* - +\[15\] \.strtab +STRTAB +.* + +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +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-9a-f]+ [0-9a-f]+ 000070 00 +AX +0 +0 +1 + +\[[ 0-9]+\] \.tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ 00001c 00 WAT +0 +0 +4 + +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 00001c 00 WAT +0 +0 +4 + +\[[ 0-9]+\] \.dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4 + +\[[ 0-9]+\] \.got +PROGBITS +[0-9a-f]+ [0-9a-f]+ 00001c 04 WAX +0 +0 +4 + +\[[ 0-9]+\] \.plt +NOBITS +.* + +\[[ 0-9]+\] \.shstrtab +STRTAB +.* + +\[[ 0-9]+\] \.symtab +SYMTAB +.* + +\[[ 0-9]+\] \.strtab +STRTAB +.* #... Elf file type is EXEC \(Executable file\) Entry point .* -There are 6 program headers, starting at offset 52 +There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: +Type +Offset +VirtAddr +PhysAddr +FileSiz MemSiz +Flg Align @@ -70,7 +70,7 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL DEFAULT +ABS _edata .* NOTYPE +GLOBAL DEFAULT +ABS _end -Symbol table '\.symtab' contains 37 entries: +Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND .* SECTION LOCAL +DEFAULT +1 |