diff options
author | Alan Modra <amodra@gmail.com> | 2009-09-23 03:12:28 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-09-23 03:12:28 +0000 |
commit | f9272224cdd8ee09437255989d70d3f2284de413 (patch) | |
tree | 942833fc405688cc4f248a45c82ace9a32d6afdc /ld | |
parent | dfc3ab44df77a8842c24ab2fc6ea2aa3ad880aed (diff) | |
download | gdb-f9272224cdd8ee09437255989d70d3f2284de413.zip gdb-f9272224cdd8ee09437255989d70d3f2284de413.tar.gz gdb-f9272224cdd8ee09437255989d70d3f2284de413.tar.bz2 |
Tolerate some whitespace differences in readelf output.
Diffstat (limited to 'ld')
102 files changed, 3723 insertions, 3621 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index a086a6a..bbd33b5 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,107 @@ +2009-09-23 Alan Modra <amodra@bigpond.net.au> + + * ld-alpha/tlsbin.rd: Tolerate some whitespace differences. + * ld-alpha/tlsbinr.rd: Likewise. + * ld-alpha/tlspic.rd: Likewise. + * ld-arm/armthumb-lib.sym: Likewise. + * ld-arm/farcall-mixed-app.sym: Likewise. + * ld-arm/mixed-app.sym: Likewise. + * ld-arm/mixed-lib.sym: Likewise. + * ld-arm/preempt-app.sym: Likewise. + * ld-arm/use-thumb-lib.sym: Likewise. + * ld-cris/libdso-2.d: Likewise. + * ld-cris/tls-local-63.d: Likewise. + * ld-cris/tls-local-64.d: Likewise. + * ld-cris/tls-und-38.d: Likewise. + * ld-cris/tls-und-42.d: Likewise. + * ld-cris/tls-und-46.d: Likewise. + * ld-cris/tls-und-50.d: Likewise. + * ld-cris/weakref3.d: Likewise. + * ld-cris/weakref4.d: Likewise. + * ld-elf/empty.d: Likewise. + * ld-elf/group1.d: Likewise. + * ld-elf/group3a.d: Likewise. + * ld-elf/group3b.d: Likewise. + * ld-elf/hash.d: Likewise. + * ld-elf/warn1.d: Likewise. + * ld-elf/warn2.d: Likewise. + * ld-elfvers/vers24.rd: Likewise. + * ld-elfvsb/hidden0.d: Likewise. + * ld-elfvsb/hidden1.d: Likewise. + * ld-elfvsb/hidden2.d: Likewise. + * ld-elfvsb/internal0.d: Likewise. + * ld-elfvsb/internal1.d: Likewise. + * ld-elfvsb/protected0.d: Likewise. + * ld-elfvsb/protected1.d: 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-mips-elf/got-vers-1.sd: Likewise. + * ld-mips-elf/mips16-pic-2.nd: Likewise. + * ld-mips-elf/mips16-pic-4a.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-1-rel.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-1.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-3b.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-4b.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-5b.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-n32.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-n64.nd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-o32.nd: Likewise. + * ld-mips-elf/vxworks1-lib.nd: Likewise. + * ld-mmix/bspec1.d: Likewise. + * ld-mmix/bspec2.d: Likewise. + * ld-mmix/local1.d: Likewise. + * ld-mmix/local3.d: Likewise. + * ld-mmix/local5.d: Likewise. + * ld-mmix/local7.d: Likewise. + * ld-mmix/undef-3.d: Likewise. + * ld-mn10300/i135409-1.d: Likewise. + * ld-mn10300/i135409-2.d: 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-powerpc/vxworks1-lib.nd: Likewise. + * ld-s390/tlsbin.rd: Likewise. + * ld-s390/tlsbin_64.rd: Likewise. + * ld-s390/tlspic.rd: Likewise. + * ld-s390/tlspic_64.rd: Likewise. + * ld-sh/tlsbin-2.d: Likewise. + * ld-sh/tlspic-2.d: Likewise. + * ld-sh/vxworks1-lib.nd: Likewise. + * ld-sh/sh64/crange1.rd: Likewise. + * ld-sh/sh64/crange2.rd: Likewise. + * ld-sh/sh64/crange3-cmpct.rd: Likewise. + * ld-sh/sh64/crange3-media.rd: Likewise. + * ld-sh/sh64/crange3.rd: Likewise. + * ld-sh/sh64/crangerel1.rd: Likewise. + * ld-sh/sh64/crangerel2.rd: Likewise. + * ld-sh/sh64/reldl32.rd: Likewise. + * ld-sh/sh64/reldl64.rd: Likewise. + * ld-sparc/gotop32.rd: Likewise. + * ld-sparc/gotop64.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-vxworks/plt-mips1.d: 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. + * ld-xtensa/tlsbin.rd: Likewise. + * ld-xtensa/tlspic.rd: Likewise. + 2009-09-21 Richard Sandiford <rdsandiford@googlemail.com> PR ld/10681 diff --git a/ld/testsuite/ld-alpha/tlsbin.rd b/ld/testsuite/ld-alpha/tlsbin.rd index 7641cce..aeeda2b 100644 --- a/ld/testsuite/ld-alpha/tlsbin.rd +++ b/ld/testsuite/ld-alpha/tlsbin.rd @@ -55,79 +55,79 @@ Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: [0-9a-f]+ [0-9a-f]+ R_ALPHA_JMP_SLOT +[0-9a-f]+ __tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -[0-9 ]+: [0-9a-f]+ +0 NOTYPE +LOCAL +DEFAULT +UND * -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG2 -[0-9 ]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +UND __tls_get_addr -[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG1 -[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata -[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +LOCAL +DEFAULT +UND * +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 +[0-9 ]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +UND __tls_get_addr +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ 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 +1 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +2 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +3 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +4 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +5 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +6 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +7 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +8 -[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-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl1 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl2 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl3 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl4 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl5 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl6 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl7 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl8 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl1 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl2 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl3 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl4 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl5 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl6 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl7 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl8 -[0-9 ]+: [0-9a-f]+ +0 OBJECT +LOCAL +HIDDEN +11 _DYNAMIC -[0-9 ]+: [0-9a-f]+ +0 OBJECT +LOCAL +HIDDEN +12 _PROCEDURE_LINKAGE_TABLE_ -[0-9 ]+: [0-9a-f]+ +0 OBJECT +LOCAL +HIDDEN +13 _GLOBAL_OFFSET_TABLE_ -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg8 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg8 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg6 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg3 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg3 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh3 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG2 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg4 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg5 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg5 -[0-9 ]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +UND __tls_get_addr -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh7 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh8 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg1 -[0-9 ]+: [0-9a-f]+ +52 FUNC +GLOBAL DEFAULT +7 _start -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh4 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg7 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh5 -[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start -[0-9 ]+: [0-9a-f]+ +136 FUNC +GLOBAL DEFAULT +\[<other>: 88\] +7 fn2 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg2 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG1 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh1 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg6 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg7 -[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata -[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh2 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh6 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg2 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg1 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg4 + +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 +1 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 +[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-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl1 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl3 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl4 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl5 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl6 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl7 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl8 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl1 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl3 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl4 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl5 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl6 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl7 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl8 +[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +11 _DYNAMIC +[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +12 _PROCEDURE_LINKAGE_TABLE_ +[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +13 _GLOBAL_OFFSET_TABLE_ +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg8 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg8 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg6 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg3 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg3 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh3 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg4 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg5 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg5 +[0-9 ]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +UND __tls_get_addr +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh7 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh8 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg1 +[0-9 ]+: [0-9a-f]+ +52 +FUNC +GLOBAL +DEFAULT +7 _start +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh4 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg7 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh5 +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +[0-9 ]+: [0-9a-f]+ +136 +FUNC +GLOBAL +DEFAULT +\[<other>: 88\] +7 fn2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh1 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg6 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg7 +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh6 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg1 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg4 diff --git a/ld/testsuite/ld-alpha/tlsbinr.rd b/ld/testsuite/ld-alpha/tlsbinr.rd index 8751428..0aead24 100644 --- a/ld/testsuite/ld-alpha/tlsbinr.rd +++ b/ld/testsuite/ld-alpha/tlsbinr.rd @@ -50,79 +50,79 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 2 entries: [0-9a-f]+ +0+400000026 R_ALPHA_TPREL64 +0+ sG1 \+ 0 Symbol table '\.dynsym' contains [0-9]+ 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 sG2 -[0-9 ]+: 0+ +0 FUNC +GLOBAL DEFAULT +UND __tls_get_addr -[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start -[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 NOTYPE +GLOBAL DEFAULT +ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +[0-9 ]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND +[0-9 ]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 +[0-9 ]+: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND __tls_get_addr +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +[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 +NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -[0-9 ]+: [0-9a-f]+ +0 NOTYPE +LOCAL +DEFAULT +UND -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +1 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +2 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +3 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +4 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +5 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +6 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +7 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +8 -[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-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl1 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl2 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl3 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl4 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl5 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl6 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl7 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl8 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl1 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl2 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl3 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl4 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl5 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl6 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl7 -[0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +10 bl8 -[0-9 ]+: [0-9a-f]+ +0 OBJECT +LOCAL +HIDDEN +11 _DYNAMIC -[0-9 ]+: [0-9a-f]+ +0 OBJECT +LOCAL +HIDDEN +12 _PROCEDURE_LINKAGE_TABLE_ -[0-9 ]+: [0-9a-f]+ +0 OBJECT +LOCAL +HIDDEN +13 _GLOBAL_OFFSET_TABLE_ -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg8 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg8 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg6 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg3 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg3 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh3 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG2 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg4 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg5 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg5 -[0-9 ]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +UND __tls_get_addr -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh7 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh8 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg1 -[0-9 ]+: [0-9a-f]+ +52 FUNC +GLOBAL DEFAULT +7 _start -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh4 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg7 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh5 -[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start -[0-9 ]+: [0-9a-f]+ +136 FUNC +GLOBAL DEFAULT +\[<other>: 88\] +7 fn2 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg2 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG1 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh1 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg6 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg7 -[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata -[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh2 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh6 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg2 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg1 -[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg4 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +LOCAL +DEFAULT +UND +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 +[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-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 +[0-9 ]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl1 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl3 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl4 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl5 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl6 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl7 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sl8 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl1 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl3 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl4 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl5 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl6 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl7 +[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl8 +[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +11 _DYNAMIC +[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +12 _PROCEDURE_LINKAGE_TABLE_ +[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +13 _GLOBAL_OFFSET_TABLE_ +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg8 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg8 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg6 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg3 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg3 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh3 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg4 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg5 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg5 +[0-9 ]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +UND __tls_get_addr +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh7 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh8 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg1 +[0-9 ]+: [0-9a-f]+ +52 +FUNC +GLOBAL +DEFAULT +7 _start +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh4 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg7 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh5 +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +[0-9 ]+: [0-9a-f]+ +136 +FUNC +GLOBAL +DEFAULT +\[<other>: 88\] +7 fn2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh1 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg6 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg7 +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +9 sh6 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg2 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg1 +[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg4 diff --git a/ld/testsuite/ld-alpha/tlspic.rd b/ld/testsuite/ld-alpha/tlspic.rd index b442f74..1aeb247 100644 --- a/ld/testsuite/ld-alpha/tlspic.rd +++ b/ld/testsuite/ld-alpha/tlspic.rd @@ -55,74 +55,74 @@ Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: [0-9a-f]+ +[0-9a-f]+ R_ALPHA_JMP_SLOT +0+ __tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - Num: Value Size Type Bind Vis Ndx Name -.* [0-9a-f]+ 0 NOTYPE LOCAL DEFAULT UND -.* [0-9a-f]+ 0 TLS GLOBAL DEFAULT 8 sg8 -.* [0-9a-f]+ 0 TLS GLOBAL DEFAULT 8 sg3 -.* [0-9a-f]+ 0 TLS GLOBAL DEFAULT 8 sg4 -.* [0-9a-f]+ 0 TLS GLOBAL DEFAULT 8 sg5 -.* [0-9a-f]+ 0 NOTYPE GLOBAL DEFAULT UND __tls_get_addr -.* [0-9a-f]+ 0 TLS GLOBAL DEFAULT 8 sg1 -.* [0-9a-f]+ 172 FUNC GLOBAL DEFAULT \[<other>: 88\] 6 fn1 -.* [0-9a-f]+ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start -.* [0-9a-f]+ 0 TLS GLOBAL DEFAULT 8 sg2 -.* [0-9a-f]+ 0 TLS GLOBAL DEFAULT 8 sg6 -.* [0-9a-f]+ 0 TLS GLOBAL DEFAULT 8 sg7 -.* [0-9a-f]+ 0 NOTYPE GLOBAL DEFAULT ABS _edata -.* [0-9a-f]+ 0 NOTYPE GLOBAL DEFAULT ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* [0-9a-f]+ +0 +NOTYPE +LOCAL +DEFAULT +UND +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg8 +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg3 +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg4 +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg5 +.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg1 +.* [0-9a-f]+ +172 +FUNC +GLOBAL +DEFAULT +\[<other>: 88\] +6 fn1 +.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg2 +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg6 +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg7 +.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -.* [0-9a-f]+ +0 NOTYPE +LOCAL +DEFAULT +UND -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +1 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +2 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +3 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +4 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +5 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +6 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +7 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +8 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +9 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +10 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +11 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 -.* [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +8 sl1 -.* [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +8 sl2 -.* [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +8 sl3 -.* [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +8 sl4 -.* [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +8 sl5 -.* [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +8 sl6 -.* [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +8 sl7 -.* [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +8 sl8 -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +9 sH1 -.* [0-9a-f]+ +0 OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +8 sh3 -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +9 sH2 -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +9 sH7 -.* [0-9a-f]+ +0 OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_ -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +8 sh7 -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +8 sh8 -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +9 sH4 -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +8 sh4 -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +9 sH3 -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +8 sh5 -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +9 sH5 -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +9 sH6 -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +9 sH8 -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +8 sh1 -.* [0-9a-f]+ +0 OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +8 sh2 -.* [0-9a-f]+ +0 TLS +LOCAL +HIDDEN +8 sh6 -.* [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg8 -.* [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg3 -.* [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg4 -.* [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg5 -.* [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg1 -.* [0-9a-f]+ +172 FUNC +GLOBAL DEFAULT +\[<other>: 88\] +6 fn1 -.* [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg2 -.* [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg6 -.* [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg7 -.* [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata -.* [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* [0-9a-f]+ +0 +NOTYPE +LOCAL +DEFAULT +UND +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 +.* [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 +.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl1 +.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl2 +.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl3 +.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl4 +.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl5 +.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl6 +.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl7 +.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl8 +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH1 +.* [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh3 +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH2 +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH7 +.* [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_ +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh7 +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh8 +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH4 +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh4 +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH3 +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh5 +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH5 +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH6 +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH8 +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh1 +.* [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh2 +.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh6 +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg8 +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg3 +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg4 +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg5 +.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg1 +.* [0-9a-f]+ +172 +FUNC +GLOBAL +DEFAULT +\[<other>: 88\] +6 fn1 +.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg2 +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg6 +.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg7 +.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end diff --git a/ld/testsuite/ld-arm/armthumb-lib.sym b/ld/testsuite/ld-arm/armthumb-lib.sym index d482ccd..9e864b2 100644 --- a/ld/testsuite/ld-arm/armthumb-lib.sym +++ b/ld/testsuite/ld-arm/armthumb-lib.sym @@ -1,17 +1,17 @@ Symbol table for image: - Num Buc: Value Size Type Bind Vis Ndx Name - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _edata - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _end - .. ..: ........ 4 OBJECT GLOBAL DEFAULT 9 data_obj - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_end__ - .. ..: .......0 20 FUNC GLOBAL DEFAULT 6 lib_func1 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_start - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT 9 __data_start - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start - .. ..: 00000000 0 NOTYPE GLOBAL DEFAULT UND app_func2 - .. ..: .......0 2 FUNC GLOBAL DEFAULT 6 lib_func2 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _bss_end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_end + +Num +Buc: +Value +Size +Type +Bind +Vis +Ndx +Name + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +9 data_obj + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ + +.. +..: .......0 +20 +FUNC +GLOBAL +DEFAULT +6 lib_func1 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __data_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +.. +..: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND app_func2 + +.. +..: .......0 +2 +FUNC +GLOBAL +DEFAULT +6 lib_func2 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _bss_end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_end diff --git a/ld/testsuite/ld-arm/farcall-mixed-app.sym b/ld/testsuite/ld-arm/farcall-mixed-app.sym index 657e384..3e09b7a 100644 --- a/ld/testsuite/ld-arm/farcall-mixed-app.sym +++ b/ld/testsuite/ld-arm/farcall-mixed-app.sym @@ -1,17 +1,17 @@ Symbol table for image: - Num Buc: Value Size Type Bind Vis Ndx Name - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _edata - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _end - .. ..: ........ 4 OBJECT GLOBAL DEFAULT 12 data_obj - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_end__ - .. ..: 0*[^0]*.* 0 FUNC GLOBAL DEFAULT UND lib_func1 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_start - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT 11 __data_start - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start - .. ..: .......0 0 FUNC GLOBAL DEFAULT 14 app_func2 - .. ..: 0*[^0]*.* 0 FUNC GLOBAL DEFAULT UND lib_func2 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _bss_end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_end + +Num +Buc: +Value +Size +Type +Bind +Vis +Ndx +Name + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +12 data_obj + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ + +.. +..: 0*[^0]*.* +0 +FUNC +GLOBAL +DEFAULT +UND lib_func1 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +11 __data_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +.. +..: .......0 +0 +FUNC +GLOBAL +DEFAULT +14 app_func2 + +.. +..: 0*[^0]*.* +0 +FUNC +GLOBAL +DEFAULT +UND lib_func2 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _bss_end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_end diff --git a/ld/testsuite/ld-arm/mixed-app.sym b/ld/testsuite/ld-arm/mixed-app.sym index a507681..3df79cb 100644 --- a/ld/testsuite/ld-arm/mixed-app.sym +++ b/ld/testsuite/ld-arm/mixed-app.sym @@ -1,17 +1,17 @@ Symbol table for image: - Num Buc: Value Size Type Bind Vis Ndx Name - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _edata - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _end - .. ..: ........ 4 OBJECT GLOBAL DEFAULT 12 data_obj - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_end__ - .. ..: 0*[^0]*.* 0 FUNC GLOBAL DEFAULT UND lib_func1 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_start - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT 11 __data_start - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start - .. ..: .......0 0 FUNC GLOBAL DEFAULT 8 app_func2 - .. ..: 0*[^0]*.* 0 FUNC GLOBAL DEFAULT UND lib_func2 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _bss_end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_end + +Num +Buc: +Value +Size +Type +Bind +Vis +Ndx +Name + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +12 data_obj + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ + +.. +..: 0*[^0]*.* +0 +FUNC +GLOBAL +DEFAULT +UND lib_func1 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +11 __data_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +.. +..: .......0 +0 +FUNC +GLOBAL +DEFAULT +8 app_func2 + +.. +..: 0*[^0]*.* +0 +FUNC +GLOBAL +DEFAULT +UND lib_func2 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _bss_end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_end diff --git a/ld/testsuite/ld-arm/mixed-lib.sym b/ld/testsuite/ld-arm/mixed-lib.sym index 677d2ed..7217935 100644 --- a/ld/testsuite/ld-arm/mixed-lib.sym +++ b/ld/testsuite/ld-arm/mixed-lib.sym @@ -1,17 +1,17 @@ Symbol table for image: - Num Buc: Value Size Type Bind Vis Ndx Name - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _edata - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _end - .. ..: ........ 4 OBJECT GLOBAL DEFAULT 9 data_obj - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_end__ - .. ..: .......0 20 FUNC GLOBAL DEFAULT 6 lib_func1 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_start - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT 9 __data_start - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start - .. ..: 00000000 0 NOTYPE GLOBAL DEFAULT UND app_func2 - .. ..: .......1 2 FUNC GLOBAL DEFAULT 6 lib_func2 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _bss_end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_end + +Num +Buc: +Value +Size +Type +Bind +Vis +Ndx +Name + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +9 data_obj + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ + +.. +..: .......0 +20 +FUNC +GLOBAL +DEFAULT +6 lib_func1 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __data_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +.. +..: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND app_func2 + +.. +..: .......1 +2 +FUNC +GLOBAL +DEFAULT +6 lib_func2 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _bss_end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_end diff --git a/ld/testsuite/ld-arm/preempt-app.sym b/ld/testsuite/ld-arm/preempt-app.sym index d8ebf3b..8d38fa8 100644 --- a/ld/testsuite/ld-arm/preempt-app.sym +++ b/ld/testsuite/ld-arm/preempt-app.sym @@ -1,16 +1,16 @@ Symbol table for image: - Num Buc: Value Size Type Bind Vis Ndx Name - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _edata - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _end - .. ..: ........ 4 OBJECT GLOBAL DEFAULT 10 data_obj - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_end__ - .. ..: .......1 20 FUNC GLOBAL DEFAULT 6 lib_func1 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_start - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT 9 __data_start - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __bss_start - .. ..: .......0 0 FUNC GLOBAL DEFAULT 6 app_func2 - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS _bss_end__ - .. ..: ........ 0 NOTYPE GLOBAL DEFAULT ABS __exidx_end + +Num +Buc: +Value +Size +Type +Bind +Vis +Ndx +Name + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +10 data_obj + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ + +.. +..: .......1 +20 +FUNC +GLOBAL +DEFAULT +6 lib_func1 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __data_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +.. +..: .......0 +0 +FUNC +GLOBAL +DEFAULT +6 app_func2 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _bss_end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __exidx_end diff --git a/ld/testsuite/ld-arm/use-thumb-lib.sym b/ld/testsuite/ld-arm/use-thumb-lib.sym index eafbcf7..2db6c06 100644 --- a/ld/testsuite/ld-arm/use-thumb-lib.sym +++ b/ld/testsuite/ld-arm/use-thumb-lib.sym @@ -1,4 +1,4 @@ #... - .. ..: 00000000 0 FUNC GLOBAL DEFAULT UND lib_func2 + +.. +..: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND lib_func2 #pass diff --git a/ld/testsuite/ld-cris/libdso-2.d b/ld/testsuite/ld-cris/libdso-2.d index 92a17841..ff1a4db 100644 --- a/ld/testsuite/ld-cris/libdso-2.d +++ b/ld/testsuite/ld-cris/libdso-2.d @@ -12,47 +12,47 @@ There are 13 section headers.* #... - \[ 1\] \.hash HASH .* - \[ 2\] \.dynsym DYNSYM .* - \[ 3\] \.dynstr STRTAB .* - \[ 4\] \.gnu\.version VERSYM .* - \[ 5\] \.gnu\.version_d VERDEF .* - \[ 6\] \.rela\.dyn RELA .* - \[ 7\] \.text PROGBITS .* - \[ 8\] \.dynamic DYNAMIC .* - \[ 9\] \.got PROGBITS .* - \[10\] \.shstrtab STRTAB .* - \[11\] \.symtab SYMTAB .* - \[12\] \.strtab STRTAB .* + +\[ 1\] \.hash +HASH +.* + +\[ 2\] \.dynsym +DYNSYM +.* + +\[ 3\] \.dynstr +STRTAB +.* + +\[ 4\] \.gnu\.version +VERSYM +.* + +\[ 5\] \.gnu\.version_d +VERDEF +.* + +\[ 6\] \.rela\.dyn +RELA +.* + +\[ 7\] \.text +PROGBITS .* + +\[ 8\] \.dynamic +DYNAMIC +.* + +\[ 9\] \.got +PROGBITS .* + +\[10\] \.shstrtab +STRTAB +.* + +\[11\] \.symtab +SYMTAB +.* + +\[12\] \.strtab +STRTAB +.* #... Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entries: #... -00002[12][0-9a-f][048c] 0000000c R_CRIS_RELATIVE 00000150 +00002[12][0-9a-f][048c] +0000000c R_CRIS_RELATIVE +00000150 #... Symbol table '\.dynsym' contains 4 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 0+ 0 NOTYPE LOCAL DEFAULT UND - 1: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 7 - 2: 0+ 0 OBJECT GLOBAL DEFAULT ABS TST1 - 3: 0+154 0 FUNC GLOBAL DEFAULT 7 export_1@@TST1 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 + +2: 0+ +0 +OBJECT +GLOBAL +DEFAULT +ABS TST1 + +3: 0+154 +0 +FUNC +GLOBAL +DEFAULT +7 export_1@@TST1 Symbol table '\.symtab' contains 18 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 0+ 0 NOTYPE LOCAL DEFAULT UND - 1: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 1 - 2: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 2 - 3: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 3 - 4: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 4 - 5: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 5 - 6: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 6 - 7: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 7 - 8: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 8 - 9: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 9 - 10: 0+2..[046c] 0 OBJECT LOCAL HIDDEN ABS _DYNAMIC - 11: 0+2..[046c] 0 NOTYPE LOCAL DEFAULT ABS __bss_start - 12: 0+2..[046c] 0 NOTYPE LOCAL DEFAULT ABS _edata - 13: 0+2..[046c] 0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ - 14: 0+2..[046c] 0 NOTYPE LOCAL DEFAULT ABS _end - 15: 0+150 2 FUNC LOCAL DEFAULT 7 dsofn - 16: 0+ 0 OBJECT GLOBAL DEFAULT ABS TST1 - 17: 0+154 0 FUNC GLOBAL DEFAULT 7 export_1 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 + +2: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 + +3: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 + +4: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 + +5: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 + +6: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 + +7: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 + +8: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 + +9: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 + +10: 0+2..[046c] +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC + +11: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +ABS __bss_start + +12: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +ABS _edata + +13: 0+2..[046c] +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ + +14: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +ABS _end + +15: 0+150 +2 +FUNC +LOCAL +DEFAULT +7 dsofn + +16: 0+ +0 +OBJECT +GLOBAL +DEFAULT +ABS TST1 + +17: 0+154 +0 +FUNC +GLOBAL +DEFAULT +7 export_1 diff --git a/ld/testsuite/ld-cris/tls-local-63.d b/ld/testsuite/ld-cris/tls-local-63.d index f6f0bdb..3242833 100644 --- a/ld/testsuite/ld-cris/tls-local-63.d +++ b/ld/testsuite/ld-cris/tls-local-63.d @@ -19,7 +19,7 @@ Symbol table '.dynsym' contains 7 entries: #... Symbol table '.symtab' contains 16 entries: #... - .: 00000000 4 TLS LOCAL HIDDEN 6 x + .: 00000000 +4 +TLS +LOCAL +HIDDEN +6 x #... Hex dump of section '.text': 0x00000184 5fae0c00 .* diff --git a/ld/testsuite/ld-cris/tls-local-64.d b/ld/testsuite/ld-cris/tls-local-64.d index 9fb3019..bc9aeab 100644 --- a/ld/testsuite/ld-cris/tls-local-64.d +++ b/ld/testsuite/ld-cris/tls-local-64.d @@ -21,7 +21,7 @@ Symbol table '.dynsym' contains 7 entries: #... Symbol table '.symtab' contains 17 entries: #... - ..: 00000080 4 TLS LOCAL HIDDEN 6 x + ..: 00000080 +4 +TLS +LOCAL +HIDDEN +6 x #... Hex dump of section '.text': 0x00000184 5fae0c00 .* diff --git a/ld/testsuite/ld-cris/tls-und-38.d b/ld/testsuite/ld-cris/tls-und-38.d index e4df56f..314dac5 100644 --- a/ld/testsuite/ld-cris/tls-und-38.d +++ b/ld/testsuite/ld-cris/tls-und-38.d @@ -10,15 +10,15 @@ #... Relocation section '.rela.dyn' at offset 0x.* contains 1 entries: - Offset Info Type Sym.Value Sym. Name \+ Addend -000021ec 00000217 R_CRIS_DTP 00000000 x \+ 0 + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend +000021ec +00000217 R_CRIS_DTP +00000000 +x \+ 0 There are no unwind sections in this file. Symbol table '.dynsym' contains . entries: - Num: Value Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... - [0-9]: 00000000 0 TLS GLOBAL DEFAULT UND x + +[0-9]: 00000000 +0 +TLS +GLOBAL +DEFAULT +UND x #... Symbol table '.symtab' contains .. entries: #... diff --git a/ld/testsuite/ld-cris/tls-und-42.d b/ld/testsuite/ld-cris/tls-und-42.d index b2fba40..a9965067 100644 --- a/ld/testsuite/ld-cris/tls-und-42.d +++ b/ld/testsuite/ld-cris/tls-und-42.d @@ -10,15 +10,15 @@ #... Relocation section '.rela.dyn' at offset 0x.* contains 1 entries: - Offset Info Type Sym.Value Sym. Name \+ Addend -000021f4 0000021c R_CRIS_32_TPREL 0+ x \+ 0 + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend +000021f4 +0000021c R_CRIS_32_TPREL +0+ +x \+ 0 There are no unwind sections in this file. Symbol table '.dynsym' contains . entries: - Num: Value Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... - [0-9]: 00000000 0 TLS GLOBAL DEFAULT UND x + +[0-9]: 0+ +0 +TLS +GLOBAL +DEFAULT +UND x #... Symbol table '.symtab' contains .. entries: #... diff --git a/ld/testsuite/ld-cris/tls-und-46.d b/ld/testsuite/ld-cris/tls-und-46.d index 8da45b3..65421a0 100644 --- a/ld/testsuite/ld-cris/tls-und-46.d +++ b/ld/testsuite/ld-cris/tls-und-46.d @@ -10,15 +10,15 @@ #... Relocation section '.rela.dyn' at offset 0x.* contains 1 entries: - Offset Info Type Sym.Value Sym. Name \+ Addend -000021e8 00000217 R_CRIS_DTP 00000000 x \+ 0 + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend +000021e8 +00000217 R_CRIS_DTP +00000000 +x \+ 0 There are no unwind sections in this file. Symbol table '.dynsym' contains . entries: - Num: Value Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... - [0-9]: 00000000 0 TLS GLOBAL DEFAULT UND x + +[0-9]: 00000000 +0 +TLS +GLOBAL +DEFAULT +UND x #... Symbol table '.symtab' contains .. entries: #... diff --git a/ld/testsuite/ld-cris/tls-und-50.d b/ld/testsuite/ld-cris/tls-und-50.d index 417e7a9..71f3d90 100644 --- a/ld/testsuite/ld-cris/tls-und-50.d +++ b/ld/testsuite/ld-cris/tls-und-50.d @@ -10,15 +10,15 @@ #... Relocation section '.rela.dyn' at offset 0x.* contains 1 entries: - Offset Info Type Sym.Value Sym. Name \+ Addend -000021ec 0000021c R_CRIS_32_TPREL 0+ x \+ 0 + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend +000021ec +0000021c R_CRIS_32_TPREL +0+ +x \+ 0 There are no unwind sections in this file. Symbol table '.dynsym' contains . entries: - Num: Value Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... - [0-9]: 00000000 0 TLS GLOBAL DEFAULT UND x + +[0-9]: 00000000 +0 +TLS +GLOBAL +DEFAULT +UND x #... Symbol table '.symtab' contains .. entries: #... diff --git a/ld/testsuite/ld-cris/weakref3.d b/ld/testsuite/ld-cris/weakref3.d index 492ef41..2d3b285 100644 --- a/ld/testsuite/ld-cris/weakref3.d +++ b/ld/testsuite/ld-cris/weakref3.d @@ -10,25 +10,25 @@ # object, instead yielding NULL. #... - \[[0-9]+\] .got PROGBITS 0+82314 000314 000010 04 WA 0 0 4 + +\[[0-9]+\] .got +PROGBITS +0+82314 000314 000010 04 +WA +0 +0 +4 #... - \[[0-9]+\] .bss NOBITS 0+82324 .* + +\[[0-9]+\] .bss +NOBITS +0+82324 .* #... Relocation section '.rela.dyn' at offset 0x... contains 1 entries: - Offset Info Type Sym.Value Sym. Name \+ Addend -00082324 00000109 R_CRIS_COPY 00082324 __expobj2 \+ 0 + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend +00082324 +00000109 R_CRIS_COPY +00082324 +__expobj2 \+ 0 Relocation section '.rela.plt' at offset 0x... contains 1 entries: - Offset Info Type Sym.Value Sym. Name \+ Addend -00082320 0000030b R_CRIS_JUMP_SLOT 00080238 expfn2 \+ 0 + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend +00082320 +0000030b R_CRIS_JUMP_SLOT +00080238 +expfn2 \+ 0 There are no unwind sections in this file. Symbol table '.dynsym' contains . entries: #... - .: 00082324 4 OBJECT GLOBAL DEFAULT 13 __expobj2@TST3 \(2\) + +.: 00082324 +4 +OBJECT +GLOBAL +DEFAULT +13 __expobj2@TST3 \(2\) #... - .: 00080238 0 FUNC GLOBAL DEFAULT UND expfn2@TST3 \(2\) + +.: 00080238 +0 +FUNC +GLOBAL +DEFAULT +UND expfn2@TST3 \(2\) #... Symbol table '.symtab' contains .. entries: #... diff --git a/ld/testsuite/ld-cris/weakref4.d b/ld/testsuite/ld-cris/weakref4.d index 8b19f2f..b034576 100644 --- a/ld/testsuite/ld-cris/weakref4.d +++ b/ld/testsuite/ld-cris/weakref4.d @@ -11,19 +11,19 @@ # sure we get a valid reloc. #... - \[[0-9]+\] .data PROGBITS 0+822a4 0002a4 000004 00 WA 0 0 1 + +\[[0-9]+\] .data +PROGBITS +0+822a4 0002a4 000004 00 +WA +0 +0 +1 #... - \[[0-9]+\] .bss NOBITS 0+822a8 .* + +\[[0-9]+\] .bss +NOBITS +0+822a8 .* #... Relocation section '.rela.dyn' at offset 0x... contains 1 entries: #... -000822a8 00000109 R_CRIS_COPY 000822a8 __expobj2 \+ 0 +000822a8 +00000109 R_CRIS_COPY +000822a8 +__expobj2 \+ 0 There are no unwind sections in this file. Symbol table '.dynsym' contains . entries: #... - .: 000822a8 4 OBJECT GLOBAL DEFAULT 12 __expobj2@TST3 \(2\) + +.: 000822a8 +4 +OBJECT +GLOBAL +DEFAULT +12 __expobj2@TST3 \(2\) #... Symbol table '.symtab' contains .. entries: #... diff --git a/ld/testsuite/ld-elf/empty.d b/ld/testsuite/ld-elf/empty.d index ecf8aea..836206e 100644 --- a/ld/testsuite/ld-elf/empty.d +++ b/ld/testsuite/ld-elf/empty.d @@ -3,5 +3,5 @@ #readelf: -s #... -[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+[0-9]+[ ]+FUNC[ ]+GLOBAL DEFAULT[ ]+[1-9] _start + +[0-9]+: +[0-9a-f]+ +[0-9]+ +FUNC +GLOBAL +DEFAULT +[1-9] _start #pass diff --git a/ld/testsuite/ld-elf/group1.d b/ld/testsuite/ld-elf/group1.d index 0d65932..4c9558b 100644 --- a/ld/testsuite/ld-elf/group1.d +++ b/ld/testsuite/ld-elf/group1.d @@ -5,6 +5,6 @@ #xfail: "arc-*-*" "d30v-*-*" "dlx-*-*" "i960-*-*" "or32-*-*" "pj-*-*" Symbol table '.symtab' contains .* entries: #... - .*: 0[0]*1000 0 (NOTYPE|OBJECT) WEAK DEFAULT . foo - .*: 0[0]*0000 0 (NOTYPE|OBJECT) GLOBAL DEFAULT UND bar +.*: 0+1000 +0 +(NOTYPE|OBJECT) +WEAK +DEFAULT +. foo +.*: 0+0000 +0 +(NOTYPE|OBJECT) +GLOBAL +DEFAULT +UND bar #... diff --git a/ld/testsuite/ld-elf/group3a.d b/ld/testsuite/ld-elf/group3a.d index 83c5161..10c0cf2 100644 --- a/ld/testsuite/ld-elf/group3a.d +++ b/ld/testsuite/ld-elf/group3a.d @@ -4,5 +4,5 @@ #readelf: -s Symbol table '.symtab' contains .* entries: #... - .*: 0[0]*1000 0 OBJECT GLOBAL HIDDEN . foo +.*: 0+1000 +0 +OBJECT +GLOBAL +HIDDEN +. foo #... diff --git a/ld/testsuite/ld-elf/group3b.d b/ld/testsuite/ld-elf/group3b.d index 82c18e4..a961301 100644 --- a/ld/testsuite/ld-elf/group3b.d +++ b/ld/testsuite/ld-elf/group3b.d @@ -4,5 +4,5 @@ #readelf: -s Symbol table '.symtab' contains .* entries: #... - .*: 0[0]*1000 0 OBJECT GLOBAL HIDDEN . foo +.*: 0+1000 +0 +OBJECT +GLOBAL +HIDDEN +. foo #... diff --git a/ld/testsuite/ld-elf/hash.d b/ld/testsuite/ld-elf/hash.d index b3769aa..9bcd9a9 100644 --- a/ld/testsuite/ld-elf/hash.d +++ b/ld/testsuite/ld-elf/hash.d @@ -5,13 +5,13 @@ #notarget: mips*-*-* #... -[ ]*0x[0-9a-z]+[ ]+\(GNU_HASH\)[ ]+0x[0-9a-z]+ + +0x[0-9a-z]+ +\(GNU_HASH\) +0x[0-9a-z]+ #... -[ ]+[0-9]+[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+[0-9]+[ ]+NOTYPE[ ]+GLOBAL DEFAULT[ ]+[1-9] _start + +[0-9]+ +[0-9]+: +[0-9a-f]+ +[0-9]+ +NOTYPE +GLOBAL +DEFAULT +[1-9] _start #... -[ ]+[0-9]+[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+[0-9]+[ ]+NOTYPE[ ]+GLOBAL DEFAULT[ ]+[1-9] main + +[0-9]+ +[0-9]+: +[0-9a-f]+ +[0-9]+ +NOTYPE +GLOBAL +DEFAULT +[1-9] main #... -[ ]+[0-9]+[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+[0-9]+[ ]+NOTYPE[ ]+GLOBAL DEFAULT[ ]+[1-9] start + +[0-9]+ +[0-9]+: +[0-9a-f]+ +[0-9]+ +NOTYPE +GLOBAL +DEFAULT +[1-9] start #... -[ ]+[0-9]+[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+[0-9]+[ ]+NOTYPE[ ]+GLOBAL DEFAULT[ ]+[1-9] __start + +[0-9]+ +[0-9]+: +[0-9a-f]+ +[0-9]+ +NOTYPE +GLOBAL +DEFAULT +[1-9] __start #... diff --git a/ld/testsuite/ld-elf/warn1.d b/ld/testsuite/ld-elf/warn1.d index 7beb9da..3ef5032 100644 --- a/ld/testsuite/ld-elf/warn1.d +++ b/ld/testsuite/ld-elf/warn1.d @@ -11,5 +11,5 @@ # construct and that the symbol still appears as expected. #... -[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+[48][ ]+FUNC[ ]+GLOBAL DEFAULT[ ]+[1-9] symbol1 + +[0-9]+: +[0-9a-f]+ +[48] +FUNC +GLOBAL +DEFAULT +[1-9] symbol1 #pass diff --git a/ld/testsuite/ld-elf/warn2.d b/ld/testsuite/ld-elf/warn2.d index 946603e..c2ff12a 100644 --- a/ld/testsuite/ld-elf/warn2.d +++ b/ld/testsuite/ld-elf/warn2.d @@ -11,5 +11,5 @@ # construct and that the symbol still appears as expected. #... -[ ]+[0-9]+:[ ]+[0-9a-f]+[ ]+20[ ]+OBJECT[ ]+GLOBAL DEFAULT[ ]+[1-3] Foo + +[0-9]+: +[0-9a-f]+ +20 +OBJECT +GLOBAL +DEFAULT +[1-3] Foo #pass diff --git a/ld/testsuite/ld-elfvers/vers24.rd b/ld/testsuite/ld-elfvers/vers24.rd index 9ed8762..e5b55b1 100644 --- a/ld/testsuite/ld-elfvers/vers24.rd +++ b/ld/testsuite/ld-elfvers/vers24.rd @@ -7,9 +7,9 @@ Symbol table '.dynsym' contains [0-9]+ entries: # And ensure the dynamic symbol table contains at least x@VERS.0 # and foo@@VERS.0 symbols #... - +[0-9]+: [0-9a-f]+ +(4 OBJECT +GLOBAL DEFAULT +[0-9]+ x|[0-9]+ FUNC +GLOBAL DEFAULT +[0-9]+ foo@)@VERS\.0 + +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ x|[0-9]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ foo@)@VERS\.0 #... - +[0-9]+: [0-9a-f]+ +(4 OBJECT +GLOBAL DEFAULT +[0-9]+ x|[0-9]+ FUNC +GLOBAL DEFAULT +[0-9]+ foo@)@VERS\.0 + +[0-9]+: [0-9a-f]+ +(4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ x|[0-9]+ +FUNC +GLOBAL +DEFAULT +[0-9]+ foo@)@VERS\.0 #... Symbol table '.symtab' contains [0-9]+ entries: #pass diff --git a/ld/testsuite/ld-elfvsb/hidden0.d b/ld/testsuite/ld-elfvsb/hidden0.d index 46fc647..abd26a2 100644 --- a/ld/testsuite/ld-elfvsb/hidden0.d +++ b/ld/testsuite/ld-elfvsb/hidden0.d @@ -4,7 +4,6 @@ #readelf: -s Symbol table '.symtab' contains .* entries: - Num: Value[ ]+Size Type Bind Vis Ndx Name #... -[ ]*[0-9]+: [0-9a-fA-F]* 0 OBJECT GLOBAL HIDDEN . hidden +[ ]*[0-9]+: [0-9a-fA-F]* +0 +OBJECT +GLOBAL +HIDDEN +. hidden #pass diff --git a/ld/testsuite/ld-elfvsb/hidden1.d b/ld/testsuite/ld-elfvsb/hidden1.d index 667f108..7820c21 100644 --- a/ld/testsuite/ld-elfvsb/hidden1.d +++ b/ld/testsuite/ld-elfvsb/hidden1.d @@ -3,7 +3,6 @@ #readelf: -s Symbol table '.symtab' contains .* entries: - Num: Value[ ]+Size Type Bind Vis Ndx Name #... -[ ]*[0-9]+: [0-9a-fA-F]* 0 NOTYPE GLOBAL HIDDEN UND hidden +[ ]*[0-9]+: [0-9a-fA-F]* +0 +NOTYPE +GLOBAL +HIDDEN +UND hidden #pass diff --git a/ld/testsuite/ld-elfvsb/hidden2.d b/ld/testsuite/ld-elfvsb/hidden2.d index 14b0b30..6671794 100644 --- a/ld/testsuite/ld-elfvsb/hidden2.d +++ b/ld/testsuite/ld-elfvsb/hidden2.d @@ -5,5 +5,5 @@ Symbol table for image: #... -[ ]*[0-9]+ +[0-9]+: [0-9a-fA-F]* +0 OBJECT LOCAL HIDDEN +ABS foo +[ ]*[0-9]+ +[0-9]+: [0-9a-fA-F]* +0 +OBJECT +LOCAL +HIDDEN +ABS foo #pass diff --git a/ld/testsuite/ld-elfvsb/internal0.d b/ld/testsuite/ld-elfvsb/internal0.d index a42ae02..9d37ae8 100644 --- a/ld/testsuite/ld-elfvsb/internal0.d +++ b/ld/testsuite/ld-elfvsb/internal0.d @@ -4,7 +4,7 @@ #readelf: -s Symbol table '.symtab' contains .* entries: - Num: Value[ ]+Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... -[ ]*[0-9]+: [0-9a-fA-F]* 0 OBJECT GLOBAL INTERNAL . internal + +[0-9]+: [0-9a-fA-F]+ +0 +OBJECT +GLOBAL +INTERNAL +. internal #pass diff --git a/ld/testsuite/ld-elfvsb/internal1.d b/ld/testsuite/ld-elfvsb/internal1.d index c110ac6..5cacdaf 100644 --- a/ld/testsuite/ld-elfvsb/internal1.d +++ b/ld/testsuite/ld-elfvsb/internal1.d @@ -3,7 +3,7 @@ #readelf: -s Symbol table '.symtab' contains .* entries: - Num: Value[ ]+Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... -[ ]*[0-9]+: [0-9a-fA-F]* 0 NOTYPE GLOBAL INTERNAL UND internal + +[0-9]+: [0-9a-fA-F]+ +0 +NOTYPE +GLOBAL +INTERNAL +UND internal #pass diff --git a/ld/testsuite/ld-elfvsb/protected0.d b/ld/testsuite/ld-elfvsb/protected0.d index 48b7885..ea781dd 100644 --- a/ld/testsuite/ld-elfvsb/protected0.d +++ b/ld/testsuite/ld-elfvsb/protected0.d @@ -4,7 +4,7 @@ #readelf: -s Symbol table '.symtab' contains .* entries: - Num: Value[ ]+Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... -[ ]*[0-9]+: [0-9a-fA-F]* 0 OBJECT GLOBAL PROTECTED . protected + +[0-9]+: [0-9a-fA-F]* +0 +OBJECT +GLOBAL +PROTECTED +. protected #pass diff --git a/ld/testsuite/ld-elfvsb/protected1.d b/ld/testsuite/ld-elfvsb/protected1.d index 2f4931a..235db00 100644 --- a/ld/testsuite/ld-elfvsb/protected1.d +++ b/ld/testsuite/ld-elfvsb/protected1.d @@ -3,7 +3,7 @@ #readelf: -s Symbol table '.symtab' contains .* entries: - Num: Value[ ]+Size Type Bind Vis Ndx Name + +Num: +Value +Size Type +Bind +Vis +Ndx +Name #... -[ ]*[0-9]+: [0-9a-fA-F]* 0 NOTYPE GLOBAL PROTECTED UND protected + +[0-9]+: [0-9a-fA-F]* +0 +NOTYPE +GLOBAL +PROTECTED +UND protected #pass diff --git a/ld/testsuite/ld-i386/tlsbin.rd b/ld/testsuite/ld-i386/tlsbin.rd index 56a0deb..0bfdaab 100644 --- a/ld/testsuite/ld-i386/tlsbin.rd +++ b/ld/testsuite/ld-i386/tlsbin.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 +\[[ 0-9]+\] \.interp +.* +\[[ 0-9]+\] \.hash +.* @@ -18,8 +18,8 @@ Section Headers: +\[[ 0-9]+\] \.rel.plt +.* +\[[ 0-9]+\] \.plt +.* +\[[ 0-9]+\] \.text +PROGBITS +0+8049000 .* - +\[[ 0-9]+\] \.tdata +PROGBITS +0+804a000 [0-9a-f]+ 000060 00 WAT 0 0 4096 - +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000040 00 WAT 0 0 1 + +\[[ 0-9]+\] \.tdata +PROGBITS +0+804a000 [0-9a-f]+ 000060 00 WAT +0 +0 4096 + +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000040 00 WAT +0 +0 +1 +\[[ 0-9]+\] \.dynamic +DYNAMIC +0+804a060 .* +\[[ 0-9]+\] \.got +PROGBITS +0+804a100 .* +\[[ 0-9]+\] \.got\.plt +PROGBITS +0+804a124 .* @@ -36,23 +36,23 @@ Entry point 0x8049188 There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - PHDR.* - INTERP.* + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +PHDR.* + +INTERP.* .*Requesting program interpreter.* - LOAD.* - LOAD.* - DYNAMIC.* - TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1000 + +LOAD.* + +LOAD.* + +DYNAMIC.* + +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1000 Section to Segment mapping: - Segment Sections... - 00 + - 01 +.interp * - 02 +.interp .hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text * - 03 +.tdata .dynamic .got .got.plt * - 04 +.dynamic * - 05 +.tdata .tbss * + +Segment Sections... + +00 + + +01 +.interp * + +02 +.interp .hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text * + +03 +.tdata .dynamic .got .got.plt * + +04 +.dynamic * + +05 +.tdata .tbss * Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 9 entries: Offset +Info +Type +Sym.Value +Sym. Name @@ -67,94 +67,94 @@ Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 9 entries: [0-9a-f ]+R_386_TLS_TPOFF +0+ +sG8 Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 1 entries: - Offset +Info +Type +Sym.Value Sym. Name + Offset +Info +Type +Sym.Value +Sym. Name [0-9a-f ]+R_386_JUMP_SLOT +[0-9a-f]+ +___tls_get_addr Symbol table '\.dynsym' contains [0-9]+ 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 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG7 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG2 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG4 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[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 NOTYPE GLOBAL DEFAULT ABS _end - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG8 - +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT UND ___tls_get_addr + +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 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG7 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[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 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG8 + +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +UND ___tls_get_addr Symbol table '\.symtab' contains [0-9]+ 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 +1 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * - +[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-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +13 * - +[0-9]+: 00000020 +0 TLS +LOCAL DEFAULT +9 sl1 - +[0-9]+: 00000024 +0 TLS +LOCAL DEFAULT +9 sl2 - +[0-9]+: 00000028 +0 TLS +LOCAL DEFAULT +9 sl3 - +[0-9]+: 0000002c +0 TLS +LOCAL DEFAULT +9 sl4 - +[0-9]+: 00000030 +0 TLS +LOCAL DEFAULT +9 sl5 - +[0-9]+: 00000034 +0 TLS +LOCAL DEFAULT +9 sl6 - +[0-9]+: 00000038 +0 TLS +LOCAL DEFAULT +9 sl7 - +[0-9]+: 0000003c +0 TLS +LOCAL DEFAULT +9 sl8 - +[0-9]+: 00000080 +0 TLS +LOCAL DEFAULT +10 bl1 - +[0-9]+: 00000084 +0 TLS +LOCAL DEFAULT +10 bl2 - +[0-9]+: 00000088 +0 TLS +LOCAL DEFAULT +10 bl3 - +[0-9]+: 0000008c +0 TLS +LOCAL DEFAULT +10 bl4 - +[0-9]+: 00000090 +0 TLS +LOCAL DEFAULT +10 bl5 - +[0-9]+: 00000094 +0 TLS +LOCAL DEFAULT +10 bl6 - +[0-9]+: 00000098 +0 TLS +LOCAL DEFAULT +10 bl7 - +[0-9]+: 0000009c +0 TLS +LOCAL DEFAULT +10 bl8 - +[0-9]+: 0+804a060 +0 OBJECT LOCAL +HIDDEN +11 _DYNAMIC - +[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL +HIDDEN +13 _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG3 - +[0-9]+: 0000001c +0 TLS +GLOBAL DEFAULT +9 sg8 - +[0-9]+: 0000007c +0 TLS +GLOBAL DEFAULT +10 bg8 - +[0-9]+: 00000074 +0 TLS +GLOBAL DEFAULT +10 bg6 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG5 - +[0-9]+: 00000068 +0 TLS +GLOBAL DEFAULT +10 bg3 - +[0-9]+: 00000008 +0 TLS +GLOBAL DEFAULT +9 sg3 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG7 - +[0-9]+: 00000048 +0 TLS +GLOBAL HIDDEN +9 sh3 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG2 - +[0-9]+: 0000000c +0 TLS +GLOBAL DEFAULT +9 sg4 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG4 - +[0-9]+: 00000010 +0 TLS +GLOBAL DEFAULT +9 sg5 - +[0-9]+: 00000070 +0 TLS +GLOBAL DEFAULT +10 bg5 - +[0-9]+: 00000058 +0 TLS +GLOBAL HIDDEN +9 sh7 - +[0-9]+: 0000005c +0 TLS +GLOBAL HIDDEN +9 sh8 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +9 sg1 - +[0-9]+: 0+8049188 +0 FUNC +GLOBAL DEFAULT +8 _start - +[0-9]+: 0000004c +0 TLS +GLOBAL HIDDEN +9 sh4 - +[0-9]+: 00000078 +0 TLS +GLOBAL DEFAULT +10 bg7 - +[0-9]+: 00000050 +0 TLS +GLOBAL HIDDEN +9 sh5 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG6 - +[0-9]+: 0+8049000 +0 FUNC +GLOBAL DEFAULT +8 fn2 - +[0-9]+: 00000004 +0 TLS +GLOBAL DEFAULT +9 sg2 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG1 - +[0-9]+: 00000040 +0 TLS +GLOBAL HIDDEN +9 sh1 - +[0-9]+: 00000014 +0 TLS +GLOBAL DEFAULT +9 sg6 - +[0-9]+: 00000018 +0 TLS +GLOBAL DEFAULT +9 sg7 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end - +[0-9]+: 00000044 +0 TLS +GLOBAL HIDDEN +9 sh2 - +[0-9]+: 00000054 +0 TLS +GLOBAL HIDDEN +9 sh6 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG8 - +[0-9]+: 00000064 +0 TLS +GLOBAL DEFAULT +10 bg2 - +[0-9]+: 00000060 +0 TLS +GLOBAL DEFAULT +10 bg1 - +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT UND ___tls_get_addr - +[0-9]+: 0000006c +0 TLS +GLOBAL DEFAULT +10 bg4 + +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 +1 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * + +[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-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13 * + +[0-9]+: 00000020 +0 +TLS +LOCAL +DEFAULT +9 sl1 + +[0-9]+: 00000024 +0 +TLS +LOCAL +DEFAULT +9 sl2 + +[0-9]+: 00000028 +0 +TLS +LOCAL +DEFAULT +9 sl3 + +[0-9]+: 0000002c +0 +TLS +LOCAL +DEFAULT +9 sl4 + +[0-9]+: 00000030 +0 +TLS +LOCAL +DEFAULT +9 sl5 + +[0-9]+: 00000034 +0 +TLS +LOCAL +DEFAULT +9 sl6 + +[0-9]+: 00000038 +0 +TLS +LOCAL +DEFAULT +9 sl7 + +[0-9]+: 0000003c +0 +TLS +LOCAL +DEFAULT +9 sl8 + +[0-9]+: 00000080 +0 +TLS +LOCAL +DEFAULT +10 bl1 + +[0-9]+: 00000084 +0 +TLS +LOCAL +DEFAULT +10 bl2 + +[0-9]+: 00000088 +0 +TLS +LOCAL +DEFAULT +10 bl3 + +[0-9]+: 0000008c +0 +TLS +LOCAL +DEFAULT +10 bl4 + +[0-9]+: 00000090 +0 +TLS +LOCAL +DEFAULT +10 bl5 + +[0-9]+: 00000094 +0 +TLS +LOCAL +DEFAULT +10 bl6 + +[0-9]+: 00000098 +0 +TLS +LOCAL +DEFAULT +10 bl7 + +[0-9]+: 0000009c +0 +TLS +LOCAL +DEFAULT +10 bl8 + +[0-9]+: 0+804a060 +0 +OBJECT +LOCAL +HIDDEN +11 _DYNAMIC + +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +13 _GLOBAL_OFFSET_TABLE_ + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 + +[0-9]+: 0000001c +0 +TLS +GLOBAL +DEFAULT +9 sg8 + +[0-9]+: 0000007c +0 +TLS +GLOBAL +DEFAULT +10 bg8 + +[0-9]+: 00000074 +0 +TLS +GLOBAL +DEFAULT +10 bg6 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 + +[0-9]+: 00000068 +0 +TLS +GLOBAL +DEFAULT +10 bg3 + +[0-9]+: 00000008 +0 +TLS +GLOBAL +DEFAULT +9 sg3 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG7 + +[0-9]+: 00000048 +0 +TLS +GLOBAL +HIDDEN +9 sh3 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 + +[0-9]+: 0000000c +0 +TLS +GLOBAL +DEFAULT +9 sg4 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 + +[0-9]+: 00000010 +0 +TLS +GLOBAL +DEFAULT +9 sg5 + +[0-9]+: 00000070 +0 +TLS +GLOBAL +DEFAULT +10 bg5 + +[0-9]+: 00000058 +0 +TLS +GLOBAL +HIDDEN +9 sh7 + +[0-9]+: 0000005c +0 +TLS +GLOBAL +HIDDEN +9 sh8 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +9 sg1 + +[0-9]+: 0+8049188 +0 +FUNC +GLOBAL +DEFAULT +8 _start + +[0-9]+: 0000004c +0 +TLS +GLOBAL +HIDDEN +9 sh4 + +[0-9]+: 00000078 +0 +TLS +GLOBAL +DEFAULT +10 bg7 + +[0-9]+: 00000050 +0 +TLS +GLOBAL +HIDDEN +9 sh5 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 + +[0-9]+: 0+8049000 +0 +FUNC +GLOBAL +DEFAULT +8 fn2 + +[0-9]+: 00000004 +0 +TLS +GLOBAL +DEFAULT +9 sg2 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 + +[0-9]+: 00000040 +0 +TLS +GLOBAL +HIDDEN +9 sh1 + +[0-9]+: 00000014 +0 +TLS +GLOBAL +DEFAULT +9 sg6 + +[0-9]+: 00000018 +0 +TLS +GLOBAL +DEFAULT +9 sg7 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +[0-9]+: 00000044 +0 +TLS +GLOBAL +HIDDEN +9 sh2 + +[0-9]+: 00000054 +0 +TLS +GLOBAL +HIDDEN +9 sh6 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG8 + +[0-9]+: 00000064 +0 +TLS +GLOBAL +DEFAULT +10 bg2 + +[0-9]+: 00000060 +0 +TLS +GLOBAL +DEFAULT +10 bg1 + +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +UND ___tls_get_addr + +[0-9]+: 0000006c +0 +TLS +GLOBAL +DEFAULT +10 bg4 diff --git a/ld/testsuite/ld-i386/tlsbindesc.rd b/ld/testsuite/ld-i386/tlsbindesc.rd index dd3e65e..43b8c14 100644 --- a/ld/testsuite/ld-i386/tlsbindesc.rd +++ b/ld/testsuite/ld-i386/tlsbindesc.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 +\[[ 0-9]+\] \.interp +.* +\[[ 0-9]+\] \.hash +.* @@ -16,8 +16,8 @@ Section Headers: +\[[ 0-9]+\] \.dynstr +.* +\[[ 0-9]+\] \.rel.dyn +.* +\[[ 0-9]+\] \.text +PROGBITS +0+8049000 .* - +\[[ 0-9]+\] \.tdata +PROGBITS +0+804a000 [0-9a-f]+ 000060 00 WAT 0 0 4096 - +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000040 00 WAT 0 0 1 + +\[[ 0-9]+\] \.tdata +PROGBITS +0+804a000 [0-9a-f]+ 000060 00 WAT +0 +0 4096 + +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000040 00 WAT +0 +0 +1 +\[[ 0-9]+\] \.dynamic +DYNAMIC +0+804a060 .* +\[[ 0-9]+\] \.got +PROGBITS +0+804a0e0 .* +\[[ 0-9]+\] \.got\.plt +PROGBITS +0+804a104 .* @@ -34,118 +34,118 @@ Entry point 0x8049158 There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - PHDR.* - INTERP.* + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +PHDR.* + +INTERP.* .*Requesting program interpreter.* - LOAD.* - LOAD.* - DYNAMIC.* - TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1000 + +LOAD.* + +LOAD.* + +DYNAMIC.* + +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1000 Section to Segment mapping: - Segment Sections... - 00 + - 01 +.interp * - 02 +.interp .hash .dynsym .dynstr .rel.dyn .text * - 03 +.tdata .dynamic .got .got.plt * - 04 +.dynamic * - 05 +.tdata .tbss * + +Segment Sections... + +00 + + +01 +.interp * + +02 +.interp .hash .dynsym .dynstr .rel.dyn .text * + +03 +.tdata .dynamic .got .got.plt * + +04 +.dynamic * + +05 +.tdata .tbss * Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 9 entries: Offset +Info +Type +Sym.Value +Sym. Name -0+804a0e0 0000010e R_386_TLS_TPOFF +0+ +sG3 -0+804a0e4 0000020e R_386_TLS_TPOFF +0+ +sG5 -0+804a0e8 0000030e R_386_TLS_TPOFF +0+ +sG7 -0+804a0ec 00000425 R_386_TLS_TPOFF32 0+ +sG2 -0+804a0f0 00000525 R_386_TLS_TPOFF32 0+ +sG4 -0+804a0f4 0000050e R_386_TLS_TPOFF +0+ +sG4 -0+804a0f8 00000725 R_386_TLS_TPOFF32 0+ +sG6 -0+804a0fc 00000825 R_386_TLS_TPOFF32 0+ +sG1 -0+804a100 00000b0e R_386_TLS_TPOFF +0+ +sG8 +0+804a0e0 +0000010e R_386_TLS_TPOFF +0+ +sG3 +0+804a0e4 +0000020e R_386_TLS_TPOFF +0+ +sG5 +0+804a0e8 +0000030e R_386_TLS_TPOFF +0+ +sG7 +0+804a0ec +00000425 R_386_TLS_TPOFF32 0+ +sG2 +0+804a0f0 +00000525 R_386_TLS_TPOFF32 0+ +sG4 +0+804a0f4 +0000050e R_386_TLS_TPOFF +0+ +sG4 +0+804a0f8 +00000725 R_386_TLS_TPOFF32 0+ +sG6 +0+804a0fc +00000825 R_386_TLS_TPOFF32 0+ +sG1 +0+804a100 +00000b0e R_386_TLS_TPOFF +0+ +sG8 Symbol table '\.dynsym' contains [0-9]+ 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 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG7 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG2 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG4 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[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 NOTYPE GLOBAL DEFAULT ABS _end - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG8 + +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 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG7 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[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 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG8 Symbol table '\.symtab' contains [0-9]+ 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 +1 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * - +[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]+: 00000020 +0 TLS +LOCAL DEFAULT +7 sl1 - +[0-9]+: 00000024 +0 TLS +LOCAL DEFAULT +7 sl2 - +[0-9]+: 00000028 +0 TLS +LOCAL DEFAULT +7 sl3 - +[0-9]+: 0000002c +0 TLS +LOCAL DEFAULT +7 sl4 - +[0-9]+: 00000030 +0 TLS +LOCAL DEFAULT +7 sl5 - +[0-9]+: 00000034 +0 TLS +LOCAL DEFAULT +7 sl6 - +[0-9]+: 00000038 +0 TLS +LOCAL DEFAULT +7 sl7 - +[0-9]+: 0000003c +0 TLS +LOCAL DEFAULT +7 sl8 - +[0-9]+: 00000080 +0 TLS +LOCAL DEFAULT +8 bl1 - +[0-9]+: 00000084 +0 TLS +LOCAL DEFAULT +8 bl2 - +[0-9]+: 00000088 +0 TLS +LOCAL DEFAULT +8 bl3 - +[0-9]+: 0000008c +0 TLS +LOCAL DEFAULT +8 bl4 - +[0-9]+: 00000090 +0 TLS +LOCAL DEFAULT +8 bl5 - +[0-9]+: 00000094 +0 TLS +LOCAL DEFAULT +8 bl6 - +[0-9]+: 00000098 +0 TLS +LOCAL DEFAULT +8 bl7 - +[0-9]+: 0000009c +0 TLS +LOCAL DEFAULT +8 bl8 - +[0-9]+: 00001000 +0 TLS +LOCAL HIDDEN +7 _TLS_MODULE_BASE_ - +[0-9]+: 0+804a060 +0 OBJECT LOCAL HIDDEN 9 _DYNAMIC - +[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL HIDDEN 11 _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG3 - +[0-9]+: 0000001c +0 TLS +GLOBAL DEFAULT +7 sg8 - +[0-9]+: 0000007c +0 TLS +GLOBAL DEFAULT +8 bg8 - +[0-9]+: 00000074 +0 TLS +GLOBAL DEFAULT +8 bg6 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG5 - +[0-9]+: 00000068 +0 TLS +GLOBAL DEFAULT +8 bg3 - +[0-9]+: 00000008 +0 TLS +GLOBAL DEFAULT +7 sg3 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG7 - +[0-9]+: 00000048 +0 TLS +GLOBAL HIDDEN +7 sh3 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG2 - +[0-9]+: 0000000c +0 TLS +GLOBAL DEFAULT +7 sg4 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG4 - +[0-9]+: 00000010 +0 TLS +GLOBAL DEFAULT +7 sg5 - +[0-9]+: 00000070 +0 TLS +GLOBAL DEFAULT +8 bg5 - +[0-9]+: 00000058 +0 TLS +GLOBAL HIDDEN +7 sh7 - +[0-9]+: 0000005c +0 TLS +GLOBAL HIDDEN +7 sh8 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +7 sg1 - +[0-9]+: 0+8049158 +0 FUNC +GLOBAL DEFAULT +6 _start - +[0-9]+: 0000004c +0 TLS +GLOBAL HIDDEN +7 sh4 - +[0-9]+: 00000078 +0 TLS +GLOBAL DEFAULT +8 bg7 - +[0-9]+: 00000050 +0 TLS +GLOBAL HIDDEN +7 sh5 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG6 - +[0-9]+: 0+8049000 +0 FUNC +GLOBAL DEFAULT +6 fn2 - +[0-9]+: 00000004 +0 TLS +GLOBAL DEFAULT +7 sg2 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG1 - +[0-9]+: 00000040 +0 TLS +GLOBAL HIDDEN +7 sh1 - +[0-9]+: 00000014 +0 TLS +GLOBAL DEFAULT +7 sg6 - +[0-9]+: 00000018 +0 TLS +GLOBAL DEFAULT +7 sg7 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end - +[0-9]+: 00000044 +0 TLS +GLOBAL HIDDEN +7 sh2 - +[0-9]+: 00000054 +0 TLS +GLOBAL HIDDEN +7 sh6 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG8 - +[0-9]+: 00000064 +0 TLS +GLOBAL DEFAULT +8 bg2 - +[0-9]+: 00000060 +0 TLS +GLOBAL DEFAULT +8 bg1 - +[0-9]+: 0000006c +0 TLS +GLOBAL DEFAULT +8 bg4 + +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 +1 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * + +[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]+: 00000020 +0 +TLS +LOCAL +DEFAULT +7 sl1 + +[0-9]+: 00000024 +0 +TLS +LOCAL +DEFAULT +7 sl2 + +[0-9]+: 00000028 +0 +TLS +LOCAL +DEFAULT +7 sl3 + +[0-9]+: 0000002c +0 +TLS +LOCAL +DEFAULT +7 sl4 + +[0-9]+: 00000030 +0 +TLS +LOCAL +DEFAULT +7 sl5 + +[0-9]+: 00000034 +0 +TLS +LOCAL +DEFAULT +7 sl6 + +[0-9]+: 00000038 +0 +TLS +LOCAL +DEFAULT +7 sl7 + +[0-9]+: 0000003c +0 +TLS +LOCAL +DEFAULT +7 sl8 + +[0-9]+: 00000080 +0 +TLS +LOCAL +DEFAULT +8 bl1 + +[0-9]+: 00000084 +0 +TLS +LOCAL +DEFAULT +8 bl2 + +[0-9]+: 00000088 +0 +TLS +LOCAL +DEFAULT +8 bl3 + +[0-9]+: 0000008c +0 +TLS +LOCAL +DEFAULT +8 bl4 + +[0-9]+: 00000090 +0 +TLS +LOCAL +DEFAULT +8 bl5 + +[0-9]+: 00000094 +0 +TLS +LOCAL +DEFAULT +8 bl6 + +[0-9]+: 00000098 +0 +TLS +LOCAL +DEFAULT +8 bl7 + +[0-9]+: 0000009c +0 +TLS +LOCAL +DEFAULT +8 bl8 + +[0-9]+: 00001000 +0 +TLS +LOCAL +HIDDEN +7 _TLS_MODULE_BASE_ + +[0-9]+: 0+804a060 +0 +OBJECT +LOCAL +HIDDEN +9 _DYNAMIC + +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +11 _GLOBAL_OFFSET_TABLE_ + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 + +[0-9]+: 0000001c +0 +TLS +GLOBAL +DEFAULT +7 sg8 + +[0-9]+: 0000007c +0 +TLS +GLOBAL +DEFAULT +8 bg8 + +[0-9]+: 00000074 +0 +TLS +GLOBAL +DEFAULT +8 bg6 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 + +[0-9]+: 00000068 +0 +TLS +GLOBAL +DEFAULT +8 bg3 + +[0-9]+: 00000008 +0 +TLS +GLOBAL +DEFAULT +7 sg3 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG7 + +[0-9]+: 00000048 +0 +TLS +GLOBAL +HIDDEN +7 sh3 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 + +[0-9]+: 0000000c +0 +TLS +GLOBAL +DEFAULT +7 sg4 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 + +[0-9]+: 00000010 +0 +TLS +GLOBAL +DEFAULT +7 sg5 + +[0-9]+: 00000070 +0 +TLS +GLOBAL +DEFAULT +8 bg5 + +[0-9]+: 00000058 +0 +TLS +GLOBAL +HIDDEN +7 sh7 + +[0-9]+: 0000005c +0 +TLS +GLOBAL +HIDDEN +7 sh8 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 + +[0-9]+: 0+8049158 +0 +FUNC +GLOBAL +DEFAULT +6 _start + +[0-9]+: 0000004c +0 +TLS +GLOBAL +HIDDEN +7 sh4 + +[0-9]+: 00000078 +0 +TLS +GLOBAL +DEFAULT +8 bg7 + +[0-9]+: 00000050 +0 +TLS +GLOBAL +HIDDEN +7 sh5 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 + +[0-9]+: 0+8049000 +0 +FUNC +GLOBAL +DEFAULT +6 fn2 + +[0-9]+: 00000004 +0 +TLS +GLOBAL +DEFAULT +7 sg2 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 + +[0-9]+: 00000040 +0 +TLS +GLOBAL +HIDDEN +7 sh1 + +[0-9]+: 00000014 +0 +TLS +GLOBAL +DEFAULT +7 sg6 + +[0-9]+: 00000018 +0 +TLS +GLOBAL +DEFAULT +7 sg7 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +[0-9]+: 00000044 +0 +TLS +GLOBAL +HIDDEN +7 sh2 + +[0-9]+: 00000054 +0 +TLS +GLOBAL +HIDDEN +7 sh6 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG8 + +[0-9]+: 00000064 +0 +TLS +GLOBAL +DEFAULT +8 bg2 + +[0-9]+: 00000060 +0 +TLS +GLOBAL +DEFAULT +8 bg1 + +[0-9]+: 0000006c +0 +TLS +GLOBAL +DEFAULT +8 bg4 diff --git a/ld/testsuite/ld-i386/tlsdesc.rd b/ld/testsuite/ld-i386/tlsdesc.rd index 72c9c09..311973a 100644 --- a/ld/testsuite/ld-i386/tlsdesc.rd +++ b/ld/testsuite/ld-i386/tlsdesc.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 +\[[ 0-9]+\] \.hash +.* +\[[ 0-9]+\] \.dynsym +.* @@ -16,8 +16,8 @@ Section Headers: +\[[ 0-9]+\] \.rel.dyn +.* +\[[ 0-9]+\] \.rel.plt +.* +\[[ 0-9]+\] \.text +.* - +\[[ 0-9]+\] \.tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000060 00 WAT 0 0 1 - +\[[ 0-9]+\] \.tbss +NOBITS +[0-9aa-f]+ [0-9a-f]+ 000020 00 WAT 0 0 1 + +\[[ 0-9]+\] \.tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000060 00 WAT +0 +0 +1 + +\[[ 0-9]+\] \.tbss +NOBITS +[0-9aa-f]+ [0-9a-f]+ 000020 00 WAT +0 +0 +1 +\[[ 0-9]+\] \.dynamic +.* +\[[ 0-9]+\] \.got +.* +\[[ 0-9]+\] \.got.plt +.* @@ -34,18 +34,18 @@ Entry point 0x[0-9a-f]+ There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - LOAD.* - LOAD.* - DYNAMIC.* - TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +LOAD.* + +LOAD.* + +DYNAMIC.* + +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 Section to Segment mapping: - Segment Sections... - 00 +.hash .dynsym .dynstr .rel.dyn .rel.plt .text * - 01 +.tdata .dynamic .got .got.plt * - 02 +.dynamic * - 03 +.tdata .tbss * + +Segment Sections... + +00 +.hash .dynsym .dynstr .rel.dyn .rel.plt .text * + +01 +.tdata .dynamic .got .got.plt * + +02 +.dynamic * + +03 +.tdata .tbss * Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: Offset +Info +Type +Sym.Value +Sym. Name @@ -64,86 +64,86 @@ Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: [0-9a-f ]+R_386_TLS_TPOFF * [0-9a-f ]+R_386_TLS_TPOFF * [0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF 0+8 sg3 -[0-9a-f ]+R_386_TLS_TPOFF32 0+c sg4 -[0-9a-f ]+R_386_TLS_TPOFF 0+c sg4 -[0-9a-f ]+R_386_TLS_TPOFF 0+10 sg5 -[0-9a-f ]+R_386_TLS_TPOFF32 0+4 sg2 +[0-9a-f ]+R_386_TLS_TPOFF +0+8 +sg3 +[0-9a-f ]+R_386_TLS_TPOFF32 0+c +sg4 +[0-9a-f ]+R_386_TLS_TPOFF +0+c +sg4 +[0-9a-f ]+R_386_TLS_TPOFF +0+10 +sg5 +[0-9a-f ]+R_386_TLS_TPOFF32 0+4 +sg2 Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 5 entries: - Offset Info Type Sym.Value Sym. Name -[0-9a-f ]+R_386_TLS_DESC * 0+ sg1 + Offset +Info +Type +Sym.Value +Sym. Name +[0-9a-f ]+R_386_TLS_DESC * 0+ +sg1 [0-9a-f ]+R_386_TLS_DESC * [0-9a-f ]+R_386_TLS_DESC * [0-9a-f ]+R_386_TLS_DESC * [0-9a-f ]+R_386_TLS_DESC * Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: + Value Size Type + Bind +Vis +Ndx Name - +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND * - +[0-9]+: 0+1c +0 TLS +GLOBAL DEFAULT +7 sg8 - +[0-9]+: 0+8 +0 TLS +GLOBAL DEFAULT +7 sg3 - +[0-9]+: 0+c +0 TLS +GLOBAL DEFAULT +7 sg4 - +[0-9]+: 0+10 +0 TLS +GLOBAL DEFAULT +7 sg5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +7 sg1 - +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +6 fn1 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+4 +0 TLS +GLOBAL DEFAULT +7 sg2 - +[0-9]+: 0+14 +0 TLS +GLOBAL DEFAULT +7 sg6 - +[0-9]+: 0+18 +0 TLS +GLOBAL DEFAULT +7 sg7 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * + +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +7 sg8 + +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +7 sg3 + +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +7 sg4 + +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 + +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +6 fn1 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2 + +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6 + +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +7 sg7 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ 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 +1 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * - +[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+20 +0 TLS +LOCAL DEFAULT +7 sl1 - +[0-9]+: 0+24 +0 TLS +LOCAL DEFAULT +7 sl2 - +[0-9]+: 0+28 +0 TLS +LOCAL DEFAULT +7 sl3 - +[0-9]+: 0+2c +0 TLS +LOCAL DEFAULT +7 sl4 - +[0-9]+: 0+30 +0 TLS +LOCAL DEFAULT +7 sl5 - +[0-9]+: 0+34 +0 TLS +LOCAL DEFAULT +7 sl6 - +[0-9]+: 0+38 +0 TLS +LOCAL DEFAULT +7 sl7 - +[0-9]+: 0+3c +0 TLS +LOCAL DEFAULT +7 sl8 - +[0-9]+: 0+60 +0 TLS +LOCAL HIDDEN +8 sH1 - +[0-9]+: 0+ +0 TLS +LOCAL HIDDEN +7 _TLS_MODULE_BASE_ - +[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL HIDDEN ABS _DYNAMIC - +[0-9]+: 0+48 +0 TLS +LOCAL HIDDEN +7 sh3 - +[0-9]+: 0+64 +0 TLS +LOCAL HIDDEN +8 sH2 - +[0-9]+: 0+78 +0 TLS +LOCAL HIDDEN +8 sH7 - +[0-9]+: 0+58 +0 TLS +LOCAL HIDDEN +7 sh7 - +[0-9]+: 0+5c +0 TLS +LOCAL HIDDEN +7 sh8 - +[0-9]+: 0+6c +0 TLS +LOCAL HIDDEN +8 sH4 - +[0-9]+: 0+4c +0 TLS +LOCAL HIDDEN +7 sh4 - +[0-9]+: 0+68 +0 TLS +LOCAL HIDDEN +8 sH3 - +[0-9]+: 0+50 +0 TLS +LOCAL HIDDEN +7 sh5 - +[0-9]+: 0+70 +0 TLS +LOCAL HIDDEN +8 sH5 - +[0-9]+: 0+74 +0 TLS +LOCAL HIDDEN +8 sH6 - +[0-9]+: 0+7c +0 TLS +LOCAL HIDDEN +8 sH8 - +[0-9]+: 0+40 +0 TLS +LOCAL HIDDEN +7 sh1 - +[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+44 +0 TLS +LOCAL HIDDEN +7 sh2 - +[0-9]+: 0+54 +0 TLS +LOCAL HIDDEN +7 sh6 - +[0-9]+: 0+1c +0 TLS +GLOBAL DEFAULT +7 sg8 - +[0-9]+: 0+8 +0 TLS +GLOBAL DEFAULT +7 sg3 - +[0-9]+: 0+c +0 TLS +GLOBAL DEFAULT +7 sg4 - +[0-9]+: 0+10 +0 TLS +GLOBAL DEFAULT +7 sg5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +7 sg1 - +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +6 fn1 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+4 +0 TLS +GLOBAL DEFAULT +7 sg2 - +[0-9]+: 0+14 +0 TLS +GLOBAL DEFAULT +7 sg6 - +[0-9]+: 0+18 +0 TLS +GLOBAL DEFAULT +7 sg7 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end + +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 +1 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * + +[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+20 +0 +TLS +LOCAL +DEFAULT +7 sl1 + +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +7 sl2 + +[0-9]+: 0+28 +0 +TLS +LOCAL +DEFAULT +7 sl3 + +[0-9]+: 0+2c +0 +TLS +LOCAL +DEFAULT +7 sl4 + +[0-9]+: 0+30 +0 +TLS +LOCAL +DEFAULT +7 sl5 + +[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +7 sl6 + +[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +7 sl7 + +[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +7 sl8 + +[0-9]+: 0+60 +0 +TLS +LOCAL +HIDDEN +8 sH1 + +[0-9]+: 0+ +0 +TLS +LOCAL +HIDDEN +7 _TLS_MODULE_BASE_ + +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC + +[0-9]+: 0+48 +0 +TLS +LOCAL +HIDDEN +7 sh3 + +[0-9]+: 0+64 +0 +TLS +LOCAL +HIDDEN +8 sH2 + +[0-9]+: 0+78 +0 +TLS +LOCAL +HIDDEN +8 sH7 + +[0-9]+: 0+58 +0 +TLS +LOCAL +HIDDEN +7 sh7 + +[0-9]+: 0+5c +0 +TLS +LOCAL +HIDDEN +7 sh8 + +[0-9]+: 0+6c +0 +TLS +LOCAL +HIDDEN +8 sH4 + +[0-9]+: 0+4c +0 +TLS +LOCAL +HIDDEN +7 sh4 + +[0-9]+: 0+68 +0 +TLS +LOCAL +HIDDEN +8 sH3 + +[0-9]+: 0+50 +0 +TLS +LOCAL +HIDDEN +7 sh5 + +[0-9]+: 0+70 +0 +TLS +LOCAL +HIDDEN +8 sH5 + +[0-9]+: 0+74 +0 +TLS +LOCAL +HIDDEN +8 sH6 + +[0-9]+: 0+7c +0 +TLS +LOCAL +HIDDEN +8 sH8 + +[0-9]+: 0+40 +0 +TLS +LOCAL +HIDDEN +7 sh1 + +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ + +[0-9]+: 0+44 +0 +TLS +LOCAL +HIDDEN +7 sh2 + +[0-9]+: 0+54 +0 +TLS +LOCAL +HIDDEN +7 sh6 + +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +7 sg8 + +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +7 sg3 + +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +7 sg4 + +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 + +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +6 fn1 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2 + +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6 + +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +7 sg7 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end diff --git a/ld/testsuite/ld-i386/tlsgdesc.rd b/ld/testsuite/ld-i386/tlsgdesc.rd index d872dca..62f12f6 100644 --- a/ld/testsuite/ld-i386/tlsgdesc.rd +++ b/ld/testsuite/ld-i386/tlsgdesc.rd @@ -7,7 +7,7 @@ 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 + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 +\[[ 0-9]+\] \.hash +.* +\[[ 0-9]+\] \.dynsym +.* @@ -32,72 +32,72 @@ Entry point 0x[0-9a-f]+ There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - LOAD.* - LOAD.* - DYNAMIC.* + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +LOAD.* + +LOAD.* + +DYNAMIC.* Section to Segment mapping: - Segment Sections... - 00 +.hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text * - 01 +.dynamic .got .got.plt * - 02 +.dynamic * + +Segment Sections... + +00 +.hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text * + +01 +.dynamic .got .got.plt * + +02 +.dynamic * Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 8 entries: Offset +Info +Type +Sym.Value +Sym. Name -[0-9a-f ]+R_386_TLS_TPOFF32 0+ sG3 -[0-9a-f ]+R_386_TLS_TPOFF 0+ sG5 -[0-9a-f ]+R_386_TLS_DTPMOD3 0+ sG2 -[0-9a-f ]+R_386_TLS_DTPOFF3 0+ sG2 -[0-9a-f ]+R_386_TLS_TPOFF 0+ sG4 -[0-9a-f ]+R_386_TLS_TPOFF32 0+ sG6 -[0-9a-f ]+R_386_TLS_DTPMOD3 0+ sG1 -[0-9a-f ]+R_386_TLS_DTPOFF3 0+ sG1 +[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG3 +[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG5 +[0-9a-f ]+R_386_TLS_DTPMOD3 0+ +sG2 +[0-9a-f ]+R_386_TLS_DTPOFF3 0+ +sG2 +[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG4 +[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG6 +[0-9a-f ]+R_386_TLS_DTPMOD3 0+ +sG1 +[0-9a-f ]+R_386_TLS_DTPOFF3 0+ +sG1 Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 3 entries: - Offset Info Type Sym.Value Sym. Name -[0-9a-f ]+R_386_JUMP_SLOT 0+ ___tls_get_addr -[0-9a-f ]+R_386_TLS_DESC 0+ sG1 -[0-9a-f ]+R_386_TLS_DESC 0+ sG2 + Offset +Info +Type +Sym.Value +Sym. Name +[0-9a-f ]+R_386_JUMP_SLOT +0+ +___tls_get_addr +[0-9a-f ]+R_386_TLS_DESC +0+ +sG1 +[0-9a-f ]+R_386_TLS_DESC +0+ +sG2 Symbol table '\.dynsym' contains [0-9]+ 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 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG2 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG4 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG6 - +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +7 fc1 - +[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 NOTYPE GLOBAL DEFAULT ABS _end - +[0-9]+: 0+ +0 NOTYPE GLOBAL DEFAULT UND ___tls_get_addr + +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 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 + +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +7 fc1 + +[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 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr Symbol table '\.symtab' contains [0-9]+ 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 +1 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * - +[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 OBJECT LOCAL HIDDEN ABS _DYNAMIC - +[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG3 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG2 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG4 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG6 - +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +7 fc1 - +[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 NOTYPE GLOBAL DEFAULT ABS _end - +[0-9]+: 0+ +0 NOTYPE GLOBAL DEFAULT UND ___tls_get_addr + +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 +1 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * + +[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 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC + +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 + +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +7 fc1 + +[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 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr diff --git a/ld/testsuite/ld-i386/tlsnopic.rd b/ld/testsuite/ld-i386/tlsnopic.rd index b67d02a..9f011cf 100644 --- a/ld/testsuite/ld-i386/tlsnopic.rd +++ b/ld/testsuite/ld-i386/tlsnopic.rd @@ -8,14 +8,14 @@ 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 + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 +\[[ 0-9]+\] \.hash +.* +\[[ 0-9]+\] \.dynsym +.* +\[[ 0-9]+\] \.dynstr +.* +\[[ 0-9]+\] \.rel.dyn +.* +\[[ 0-9]+\] \.text +PROGBITS +0+1000 .* - +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000024 00 WAT 0 0 1 + +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000024 00 WAT +0 +0 +1 +\[[ 0-9]+\] \.dynamic +DYNAMIC +0+20f4 .* +\[[ 0-9]+\] \.got +PROGBITS +0+2174 .* +\[[ 0-9]+\] \.got.plt +PROGBITS +0+218c .* @@ -32,18 +32,18 @@ Entry point 0x1000 There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - LOAD.* - LOAD.* - DYNAMIC.* - TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+ 0x0+24 R +0x1 + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +LOAD.* + +LOAD.* + +DYNAMIC.* + +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+ 0x0+24 R +0x1 Section to Segment mapping: - Segment Sections... - 00 +.hash .dynsym .dynstr .rel.dyn .text * - 01 +.dynamic .got .got.plt * - 02 +.dynamic * - 03 +.tbss * + +Segment Sections... + +00 +.hash .dynsym .dynstr .rel.dyn .text * + +01 +.dynamic .got .got.plt * + +02 +.dynamic * + +03 +.tbss * Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: Offset +Info +Type +Sym.Value +Sym. Name @@ -53,7 +53,7 @@ Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: [0-9a-f ]+R_386_RELATIVE + [0-9a-f ]+R_386_RELATIVE + [0-9a-f ]+R_386_RELATIVE + -[0-9a-f ]+R_386_TLS_TPOFF32 0+ sg3 +[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sg3 [0-9a-f ]+R_386_TLS_TPOFF32 [0-9a-f ]+R_386_TLS_TPOFF + [0-9a-f ]+R_386_TLS_TPOFF + @@ -63,54 +63,54 @@ Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries: [0-9a-f ]+R_386_TLS_TPOFF + [0-9a-f ]+R_386_TLS_TPOFF + [0-9a-f ]+R_386_TLS_TPOFF + -[0-9a-f ]+R_386_TLS_TPOFF 0+ sg4 -[0-9a-f ]+R_386_TLS_TPOFF 0+ sg5 -[0-9a-f ]+R_386_TLS_TPOFF 0+ sg1 -[0-9a-f ]+R_386_TLS_TPOFF 0+ sg2 +[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg4 +[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg5 +[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg1 +[0-9a-f ]+R_386_TLS_TPOFF +0+ +sg2 Symbol table '\.dynsym' contains [0-9]+ 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 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg4 - +[0-9]+: 0+1000 +0 FUNC +GLOBAL DEFAULT +5 fn3 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg1 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg2 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end + +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 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg4 + +[0-9]+: 0+1000 +0 +FUNC +GLOBAL +DEFAULT +5 fn3 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg1 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg2 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ 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 +1 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +9 * - +[0-9]+: 0+00 +0 TLS +LOCAL DEFAULT +6 bl1 - +[0-9]+: 0+04 +0 TLS +LOCAL DEFAULT +6 bl2 - +[0-9]+: 0+08 +0 TLS +LOCAL DEFAULT +6 bl3 - +[0-9]+: 0+0c +0 TLS +LOCAL DEFAULT +6 bl4 - +[0-9]+: 0+10 +0 TLS +LOCAL DEFAULT +6 bl5 - +[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL HIDDEN ABS _DYNAMIC - +[0-9]+: 0+1c +0 TLS +LOCAL HIDDEN +6 sh3 - +[0-9]+: 0+20 +0 TLS +LOCAL HIDDEN +6 sh4 - +[0-9]+: 0+14 +0 TLS +LOCAL HIDDEN +6 sh1 - +[0-9]+: 0+218c +0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+18 +0 TLS +LOCAL HIDDEN +6 sh2 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg3 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg4 - +[0-9]+: 0+1000 +0 FUNC +GLOBAL DEFAULT +5 fn3 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg1 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg2 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end + +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 +1 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 * + +[0-9]+: 0+00 +0 +TLS +LOCAL +DEFAULT +6 bl1 + +[0-9]+: 0+04 +0 +TLS +LOCAL +DEFAULT +6 bl2 + +[0-9]+: 0+08 +0 +TLS +LOCAL +DEFAULT +6 bl3 + +[0-9]+: 0+0c +0 +TLS +LOCAL +DEFAULT +6 bl4 + +[0-9]+: 0+10 +0 +TLS +LOCAL +DEFAULT +6 bl5 + +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC + +[0-9]+: 0+1c +0 +TLS +LOCAL +HIDDEN +6 sh3 + +[0-9]+: 0+20 +0 +TLS +LOCAL +HIDDEN +6 sh4 + +[0-9]+: 0+14 +0 +TLS +LOCAL +HIDDEN +6 sh1 + +[0-9]+: 0+218c +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ + +[0-9]+: 0+18 +0 +TLS +LOCAL +HIDDEN +6 sh2 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg3 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg4 + +[0-9]+: 0+1000 +0 +FUNC +GLOBAL +DEFAULT +5 fn3 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg1 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg2 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end diff --git a/ld/testsuite/ld-i386/tlspic.rd b/ld/testsuite/ld-i386/tlspic.rd index ac41442..3a264e3 100644 --- a/ld/testsuite/ld-i386/tlspic.rd +++ b/ld/testsuite/ld-i386/tlspic.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 +\[[ 0-9]+\] \.hash +.* +\[[ 0-9]+\] \.dynsym +.* @@ -17,8 +17,8 @@ Section Headers: +\[[ 0-9]+\] \.rel.plt +.* +\[[ 0-9]+\] \.plt +.* +\[[ 0-9]+\] \.text +.* - +\[[ 0-9]+\] \.tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000060 00 WAT 0 0 1 - +\[[ 0-9]+\] \.tbss +NOBITS +[0-9aa-f]+ [0-9a-f]+ 000020 00 WAT 0 0 1 + +\[[ 0-9]+\] \.tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000060 00 WAT +0 +0 +1 + +\[[ 0-9]+\] \.tbss +NOBITS +[0-9aa-f]+ [0-9a-f]+ 000020 00 WAT +0 +0 +1 +\[[ 0-9]+\] \.dynamic +.* +\[[ 0-9]+\] \.got +.* +\[[ 0-9]+\] \.got.plt +.* @@ -35,18 +35,18 @@ Entry point 0x[0-9a-f]+ There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - LOAD.* - LOAD.* - DYNAMIC.* - TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +LOAD.* + +LOAD.* + +DYNAMIC.* + +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+80 R +0x1 Section to Segment mapping: - Segment Sections... - 00 +.hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text * - 01 +.tdata .dynamic .got .got.plt * - 02 +.dynamic * - 03 +.tdata .tbss * + +Segment Sections... + +00 +.hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text * + +01 +.tdata .dynamic .got .got.plt * + +02 +.dynamic * + +03 +.tdata .tbss * Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 26 entries: Offset +Info +Type +Sym.Value +Sym. Name @@ -69,86 +69,86 @@ Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 26 entries: [0-9a-f ]+R_386_TLS_TPOFF * [0-9a-f ]+R_386_TLS_DTPMOD3 [0-9a-f ]+R_386_TLS_TPOFF32 -[0-9a-f ]+R_386_TLS_TPOFF 0+8 sg3 -[0-9a-f ]+R_386_TLS_TPOFF32 0+c sg4 -[0-9a-f ]+R_386_TLS_TPOFF 0+c sg4 -[0-9a-f ]+R_386_TLS_TPOFF 0+10 sg5 -[0-9a-f ]+R_386_TLS_DTPMOD3 0+ sg1 -[0-9a-f ]+R_386_TLS_DTPOFF3 0+ sg1 -[0-9a-f ]+R_386_TLS_TPOFF32 0+4 sg2 +[0-9a-f ]+R_386_TLS_TPOFF +0+8 +sg3 +[0-9a-f ]+R_386_TLS_TPOFF32 0+c +sg4 +[0-9a-f ]+R_386_TLS_TPOFF +0+c +sg4 +[0-9a-f ]+R_386_TLS_TPOFF +0+10 +sg5 +[0-9a-f ]+R_386_TLS_DTPMOD3 0+ +sg1 +[0-9a-f ]+R_386_TLS_DTPOFF3 0+ +sg1 +[0-9a-f ]+R_386_TLS_TPOFF32 0+4 +sg2 Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 1 entries: Offset +Info +Type +Sym.Value +Sym. Name -[0-9a-f ]+R_386_JUMP_SLOT 0+ ___tls_get_addr +[0-9a-f ]+R_386_JUMP_SLOT +0+ +___tls_get_addr Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value Size Type +Bind +Vis +Ndx Name - +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND * - +[0-9]+: 0+1c +0 TLS +GLOBAL DEFAULT +8 sg8 - +[0-9]+: 0+8 +0 TLS +GLOBAL DEFAULT +8 sg3 - +[0-9]+: 0+c +0 TLS +GLOBAL DEFAULT +8 sg4 - +[0-9]+: 0+10 +0 TLS +GLOBAL DEFAULT +8 sg5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +8 sg1 - +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +7 fn1 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+4 +0 TLS +GLOBAL DEFAULT +8 sg2 - +[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 NOTYPE GLOBAL DEFAULT ABS _end - +[0-9]+: 0+ +0 NOTYPE GLOBAL DEFAULT UND ___tls_get_addr + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * + +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +8 sg8 + +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +8 sg3 + +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +8 sg4 + +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +8 sg5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +8 sg1 + +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +7 fn1 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +8 sg2 + +[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 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr Symbol table '\.symtab' contains [0-9]+ 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 +1 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * - +[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-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * - +[0-9]+: 0+20 +0 TLS +LOCAL DEFAULT +8 sl1 - +[0-9]+: 0+24 +0 TLS +LOCAL DEFAULT +8 sl2 - +[0-9]+: 0+28 +0 TLS +LOCAL DEFAULT +8 sl3 - +[0-9]+: 0+2c +0 TLS +LOCAL DEFAULT +8 sl4 - +[0-9]+: 0+30 +0 TLS +LOCAL DEFAULT +8 sl5 - +[0-9]+: 0+34 +0 TLS +LOCAL DEFAULT +8 sl6 - +[0-9]+: 0+38 +0 TLS +LOCAL DEFAULT +8 sl7 - +[0-9]+: 0+3c +0 TLS +LOCAL DEFAULT +8 sl8 - +[0-9]+: 0+60 +0 TLS +LOCAL HIDDEN +9 sH1 - +[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL HIDDEN ABS _DYNAMIC - +[0-9]+: 0+48 +0 TLS +LOCAL HIDDEN +8 sh3 - +[0-9]+: 0+64 +0 TLS +LOCAL HIDDEN +9 sH2 - +[0-9]+: 0+78 +0 TLS +LOCAL HIDDEN +9 sH7 - +[0-9]+: 0+58 +0 TLS +LOCAL HIDDEN +8 sh7 - +[0-9]+: 0+5c +0 TLS +LOCAL HIDDEN +8 sh8 - +[0-9]+: 0+6c +0 TLS +LOCAL HIDDEN +9 sH4 - +[0-9]+: 0+4c +0 TLS +LOCAL HIDDEN +8 sh4 - +[0-9]+: 0+68 +0 TLS +LOCAL HIDDEN +9 sH3 - +[0-9]+: 0+50 +0 TLS +LOCAL HIDDEN +8 sh5 - +[0-9]+: 0+70 +0 TLS +LOCAL HIDDEN +9 sH5 - +[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 - +[0-9]+: 0+8 +0 TLS +GLOBAL DEFAULT +8 sg3 - +[0-9]+: 0+c +0 TLS +GLOBAL DEFAULT +8 sg4 - +[0-9]+: 0+10 +0 TLS +GLOBAL DEFAULT +8 sg5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +8 sg1 - +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +7 fn1 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+4 +0 TLS +GLOBAL DEFAULT +8 sg2 - +[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 NOTYPE GLOBAL DEFAULT ABS _end - +[0-9]+: 0+ +0 NOTYPE GLOBAL DEFAULT UND ___tls_get_addr + +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 +1 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * + +[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-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 * + +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +8 sl1 + +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +8 sl2 + +[0-9]+: 0+28 +0 +TLS +LOCAL +DEFAULT +8 sl3 + +[0-9]+: 0+2c +0 +TLS +LOCAL +DEFAULT +8 sl4 + +[0-9]+: 0+30 +0 +TLS +LOCAL +DEFAULT +8 sl5 + +[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +8 sl6 + +[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +8 sl7 + +[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +8 sl8 + +[0-9]+: 0+60 +0 +TLS +LOCAL +HIDDEN +9 sH1 + +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC + +[0-9]+: 0+48 +0 +TLS +LOCAL +HIDDEN +8 sh3 + +[0-9]+: 0+64 +0 +TLS +LOCAL +HIDDEN +9 sH2 + +[0-9]+: 0+78 +0 +TLS +LOCAL +HIDDEN +9 sH7 + +[0-9]+: 0+58 +0 +TLS +LOCAL +HIDDEN +8 sh7 + +[0-9]+: 0+5c +0 +TLS +LOCAL +HIDDEN +8 sh8 + +[0-9]+: 0+6c +0 +TLS +LOCAL +HIDDEN +9 sH4 + +[0-9]+: 0+4c +0 +TLS +LOCAL +HIDDEN +8 sh4 + +[0-9]+: 0+68 +0 +TLS +LOCAL +HIDDEN +9 sH3 + +[0-9]+: 0+50 +0 +TLS +LOCAL +HIDDEN +8 sh5 + +[0-9]+: 0+70 +0 +TLS +LOCAL +HIDDEN +9 sH5 + +[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 + +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +8 sg3 + +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +8 sg4 + +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +8 sg5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +8 sg1 + +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +7 fn1 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +8 sg2 + +[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 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr diff --git a/ld/testsuite/ld-ia64/tlsbin.rd b/ld/testsuite/ld-ia64/tlsbin.rd index ca0d69e..2929794 100644 --- a/ld/testsuite/ld-ia64/tlsbin.rd +++ b/ld/testsuite/ld-ia64/tlsbin.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0 +\[[ 0-9]+\] .interp +.* +\[[ 0-9]+\] .hash +.* @@ -35,55 +35,55 @@ Entry point 0x40+10d0 There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - PHDR +0x0+40 0x40+40 0x40+40 0x0+188 0x0+188 R E 0x8 - INTERP +0x0+1c8 0x40+1c8 0x40+1c8 0x[0-9a-f]+ 0x[0-9a-f]+ R +0x1 + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +PHDR +0x0+40 0x40+40 0x40+40 0x0+188 0x0+188 R E 0x8 + +INTERP +0x0+1c8 0x40+1c8 0x40+1c8 0x[0-9a-f]+ 0x[0-9a-f]+ R +0x1 .*Requesting program interpreter.* - LOAD +0x0+ 0x40+ 0x40+ 0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ R E 0x10000 - LOAD +0x0+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x0+0[0-9a-f]+ 0x0+0[0-9a-f]+ RW +0x10000 - DYNAMIC +0x0+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x0+150 0x0+150 RW +0x8 - TLS +0x0+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x0+60 0x0+a0 R +0x4 - IA_64_UNWIND .* R +0x8 + +LOAD +0x0+ 0x40+ 0x40+ 0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ R E 0x10000 + +LOAD +0x0+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x0+0[0-9a-f]+ 0x0+0[0-9a-f]+ RW +0x10000 + +DYNAMIC +0x0+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x0+150 0x0+150 RW +0x8 + +TLS +0x0+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x60+1[0-9a-f]+ 0x0+60 0x0+a0 R +0x4 + +IA_64_UNWIND .* R +0x8 #... Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 3 entries: - +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend + +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend [0-9a-f ]+R_IA64_TPREL64LSB +0+ sG2 \+ 0 [0-9a-f ]+R_IA64_DTPMOD64LSB +0+ sG1 \+ 0 [0-9a-f ]+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 + +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend [0-9a-f ]+R_IA64_IPLTLSB +0+ __tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* TLS +GLOBAL DEFAULT +UND sG2 -.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +UND sG1 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +UND sG2 +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sG1 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +1 * -.* SECTION LOCAL +DEFAULT +2 * -.* SECTION LOCAL +DEFAULT +3 * -.* SECTION LOCAL +DEFAULT +4 * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +7 * -.* SECTION LOCAL +DEFAULT +8 * -.* SECTION LOCAL +DEFAULT +9 * -.* SECTION LOCAL +DEFAULT +10 * -.* SECTION LOCAL +DEFAULT +11 * -.* SECTION LOCAL +DEFAULT +12 * -.* SECTION LOCAL +DEFAULT +13 * -.* SECTION LOCAL +DEFAULT +14 * -.* SECTION LOCAL +DEFAULT +15 * +.* SECTION +LOCAL +DEFAULT +1 * +.* SECTION +LOCAL +DEFAULT +2 * +.* SECTION +LOCAL +DEFAULT +3 * +.* SECTION +LOCAL +DEFAULT +4 * +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +9 * +.* SECTION +LOCAL +DEFAULT +10 * +.* SECTION +LOCAL +DEFAULT +11 * +.* SECTION +LOCAL +DEFAULT +12 * +.* SECTION +LOCAL +DEFAULT +13 * +.* SECTION +LOCAL +DEFAULT +14 * +.* SECTION +LOCAL +DEFAULT +15 * .* TLS +LOCAL +DEFAULT +11 sl1 .* TLS +LOCAL +DEFAULT +11 sl2 .* TLS +LOCAL +DEFAULT +11 sl3 @@ -102,35 +102,35 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +DEFAULT +12 bl8 .* OBJECT +LOCAL +HIDDEN +13 _DYNAMIC .* OBJECT +LOCAL +HIDDEN +14 _GLOBAL_OFFSET_TABLE_ -.* TLS +GLOBAL DEFAULT +11 sg8 -.* TLS +GLOBAL DEFAULT +12 bg8 -.* TLS +GLOBAL DEFAULT +12 bg6 -.* TLS +GLOBAL DEFAULT +12 bg3 -.* TLS +GLOBAL DEFAULT +11 sg3 -.* TLS +GLOBAL HIDDEN +11 sh3 -.* TLS +GLOBAL DEFAULT +UND sG2 -.* TLS +GLOBAL DEFAULT +11 sg4 -.* TLS +GLOBAL DEFAULT +11 sg5 -.* TLS +GLOBAL DEFAULT +12 bg5 -.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL HIDDEN +11 sh7 -.* TLS +GLOBAL HIDDEN +11 sh8 -.* TLS +GLOBAL DEFAULT +11 sg1 -.* FUNC +GLOBAL DEFAULT +8 _start -.* TLS +GLOBAL HIDDEN +11 sh4 -.* TLS +GLOBAL DEFAULT +12 bg7 -.* TLS +GLOBAL HIDDEN +11 sh5 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* FUNC +GLOBAL DEFAULT +8 fn2 -.* TLS +GLOBAL DEFAULT +11 sg2 -.* TLS +GLOBAL DEFAULT +UND sG1 -.* TLS +GLOBAL HIDDEN +11 sh1 -.* TLS +GLOBAL DEFAULT +11 sg6 -.* TLS +GLOBAL DEFAULT +11 sg7 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL HIDDEN +11 sh2 -.* TLS +GLOBAL HIDDEN +11 sh6 -.* TLS +GLOBAL DEFAULT +12 bg2 -.* TLS +GLOBAL DEFAULT +12 bg1 -.* TLS +GLOBAL DEFAULT +12 bg4 +.* TLS +GLOBAL +DEFAULT +11 sg8 +.* TLS +GLOBAL +DEFAULT +12 bg8 +.* TLS +GLOBAL +DEFAULT +12 bg6 +.* TLS +GLOBAL +DEFAULT +12 bg3 +.* TLS +GLOBAL +DEFAULT +11 sg3 +.* TLS +GLOBAL +HIDDEN +11 sh3 +.* TLS +GLOBAL +DEFAULT +UND sG2 +.* TLS +GLOBAL +DEFAULT +11 sg4 +.* TLS +GLOBAL +DEFAULT +11 sg5 +.* TLS +GLOBAL +DEFAULT +12 bg5 +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +HIDDEN +11 sh7 +.* TLS +GLOBAL +HIDDEN +11 sh8 +.* TLS +GLOBAL +DEFAULT +11 sg1 +.* FUNC +GLOBAL +DEFAULT +8 _start +.* TLS +GLOBAL +HIDDEN +11 sh4 +.* TLS +GLOBAL +DEFAULT +12 bg7 +.* TLS +GLOBAL +HIDDEN +11 sh5 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* FUNC +GLOBAL +DEFAULT +8 fn2 +.* TLS +GLOBAL +DEFAULT +11 sg2 +.* TLS +GLOBAL +DEFAULT +UND sG1 +.* TLS +GLOBAL +HIDDEN +11 sh1 +.* TLS +GLOBAL +DEFAULT +11 sg6 +.* TLS +GLOBAL +DEFAULT +11 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +HIDDEN +11 sh2 +.* TLS +GLOBAL +HIDDEN +11 sh6 +.* TLS +GLOBAL +DEFAULT +12 bg2 +.* TLS +GLOBAL +DEFAULT +12 bg1 +.* TLS +GLOBAL +DEFAULT +12 bg4 diff --git a/ld/testsuite/ld-ia64/tlspic.rd b/ld/testsuite/ld-ia64/tlspic.rd index 9bf4387..f44d75b 100644 --- a/ld/testsuite/ld-ia64/tlspic.rd +++ b/ld/testsuite/ld-ia64/tlspic.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0 +\[[ 0-9]+\] .hash +.* +\[[ 0-9]+\] .dynsym +.* @@ -35,12 +35,12 @@ Entry point 0x1000 There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - LOAD +0x0+ 0x0+ 0x0+ 0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ R E 0x10000 - LOAD +0x0+1[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+0[0-9a-f]+ 0x0+0[0-9a-f]+ RW +0x10000 - DYNAMIC +0x0+1[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+140 0x0+140 RW +0x8 - TLS +0x0+1[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+60 0x0+80 R +0x4 - IA_64_UNWIND +0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ 0x0+18 0x0+18 R +0x8 + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +LOAD +0x0+ 0x0+ 0x0+ 0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ R E 0x10000 + +LOAD +0x0+1[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+0[0-9a-f]+ 0x0+0[0-9a-f]+ RW +0x10000 + +DYNAMIC +0x0+1[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+140 0x0+140 RW +0x8 + +TLS +0x0+1[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+11[0-9a-f]+ 0x0+60 0x0+80 R +0x4 + +IA_64_UNWIND +0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ 0x0+1[0-9a-f]+ 0x0+18 0x0+18 R +0x8 #... Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 6 entries: @@ -57,39 +57,39 @@ Relocation section '.rela.IA_64.pltoff' at offset 0x[0-9a-f]+ contains 1 entries [0-9a-f ]+R_IA64_IPLTLSB +0+ __tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* TLS +GLOBAL DEFAULT +10 sg8 -.* TLS +GLOBAL DEFAULT +10 sg3 -.* TLS +GLOBAL DEFAULT +10 sg4 -.* TLS +GLOBAL DEFAULT +10 sg5 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +10 sg1 -.* FUNC +GLOBAL DEFAULT +7 fn1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +10 sg2 -.* TLS +GLOBAL DEFAULT +10 sg6 -.* TLS +GLOBAL DEFAULT +10 sg7 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +10 sg8 +.* TLS +GLOBAL +DEFAULT +10 sg3 +.* TLS +GLOBAL +DEFAULT +10 sg4 +.* TLS +GLOBAL +DEFAULT +10 sg5 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +10 sg1 +.* FUNC +GLOBAL +DEFAULT +7 fn1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +10 sg2 +.* TLS +GLOBAL +DEFAULT +10 sg6 +.* TLS +GLOBAL +DEFAULT +10 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +1 * -.* SECTION LOCAL +DEFAULT +2 * -.* SECTION LOCAL +DEFAULT +3 * -.* SECTION LOCAL +DEFAULT +4 * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +7 * -.* SECTION LOCAL +DEFAULT +8 * -.* SECTION LOCAL +DEFAULT +9 * -.* SECTION LOCAL +DEFAULT +10 * -.* SECTION LOCAL +DEFAULT +11 * -.* SECTION LOCAL +DEFAULT +12 * -.* SECTION LOCAL +DEFAULT +13 * -.* SECTION LOCAL +DEFAULT +14 * +.* SECTION +LOCAL +DEFAULT +1 * +.* SECTION +LOCAL +DEFAULT +2 * +.* SECTION +LOCAL +DEFAULT +3 * +.* SECTION +LOCAL +DEFAULT +4 * +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +9 * +.* SECTION +LOCAL +DEFAULT +10 * +.* SECTION +LOCAL +DEFAULT +11 * +.* SECTION +LOCAL +DEFAULT +12 * +.* SECTION +LOCAL +DEFAULT +13 * +.* SECTION +LOCAL +DEFAULT +14 * .* TLS +LOCAL +DEFAULT +10 sl1 .* TLS +LOCAL +DEFAULT +10 sl2 .* TLS +LOCAL +DEFAULT +10 sl3 @@ -116,16 +116,16 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ .* TLS +LOCAL +HIDDEN +10 sh2 .* TLS +LOCAL +HIDDEN +10 sh6 -.* TLS +GLOBAL DEFAULT +10 sg8 -.* TLS +GLOBAL DEFAULT +10 sg3 -.* TLS +GLOBAL DEFAULT +10 sg4 -.* TLS +GLOBAL DEFAULT +10 sg5 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +10 sg1 -.* FUNC +GLOBAL DEFAULT +7 fn1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +10 sg2 -.* TLS +GLOBAL DEFAULT +10 sg6 -.* TLS +GLOBAL DEFAULT +10 sg7 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +10 sg8 +.* TLS +GLOBAL +DEFAULT +10 sg3 +.* TLS +GLOBAL +DEFAULT +10 sg4 +.* TLS +GLOBAL +DEFAULT +10 sg5 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +10 sg1 +.* FUNC +GLOBAL +DEFAULT +7 fn1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +10 sg2 +.* TLS +GLOBAL +DEFAULT +10 sg6 +.* TLS +GLOBAL +DEFAULT +10 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end diff --git a/ld/testsuite/ld-mips-elf/got-vers-1.sd b/ld/testsuite/ld-mips-elf/got-vers-1.sd index 9c3a8c0..fac41d3 100644 --- a/ld/testsuite/ld-mips-elf/got-vers-1.sd +++ b/ld/testsuite/ld-mips-elf/got-vers-1.sd @@ -1,6 +1,6 @@ # foo@@V2 must have index DT_MIPS_GOTSYM #... - *3: .* 4 * OBJECT * GLOBAL * DEFAULT * [0-9]+ * foo@@V2 + *3: .* 4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +foo@@V2 Symbol table '\.symtab' contains .*: #pass diff --git a/ld/testsuite/ld-mips-elf/mips16-pic-2.nd b/ld/testsuite/ld-mips-elf/mips16-pic-2.nd index a2b67b6..94615b5 100644 --- a/ld/testsuite/ld-mips-elf/mips16-pic-2.nd +++ b/ld/testsuite/ld-mips-elf/mips16-pic-2.nd @@ -1,10 +1,10 @@ # used8 should come before MIPS_GOTSYM. #... - 4: 000405bc 36 FUNC GLOBAL DEFAULT .* used8 - 5: .* _GLOBAL_OFFSET_TABLE_ - 6: 00040574 36 FUNC GLOBAL DEFAULT .* used6 - 7: 00040598 36 FUNC GLOBAL DEFAULT .* used7 - 8: 00040550 36 FUNC GLOBAL DEFAULT .* used5 - 9: 0004052c 36 FUNC GLOBAL DEFAULT .* used4 + +4: 000405bc +36 +FUNC +GLOBAL +DEFAULT .* used8 + +5: .* _GLOBAL_OFFSET_TABLE_ + +6: 00040574 +36 +FUNC +GLOBAL +DEFAULT .* used6 + +7: 00040598 +36 +FUNC +GLOBAL +DEFAULT .* used7 + +8: 00040550 +36 +FUNC +GLOBAL +DEFAULT .* used5 + +9: 0004052c +36 +FUNC +GLOBAL +DEFAULT .* used4 #pass diff --git a/ld/testsuite/ld-mips-elf/mips16-pic-4a.nd b/ld/testsuite/ld-mips-elf/mips16-pic-4a.nd index 6eca610..3abf8aa 100644 --- a/ld/testsuite/ld-mips-elf/mips16-pic-4a.nd +++ b/ld/testsuite/ld-mips-elf/mips16-pic-4a.nd @@ -1,10 +1,10 @@ Symbol table '\.dynsym' contains 6 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00040400 0 SECTION LOCAL DEFAULT .* - 2: 00040420 12 FUNC GLOBAL DEFAULT .* f1@@V1 - 3: 00000000 0 OBJECT GLOBAL DEFAULT ABS V1 - 4: 00040408 8 FUNC GLOBAL DEFAULT .* f3@@V1 - 5: 00040400 8 FUNC GLOBAL DEFAULT .* f2@@V1 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 00040400 +0 +SECTION +LOCAL +DEFAULT +.* + +2: 00040420 +12 +FUNC +GLOBAL +DEFAULT +.* f1@@V1 + +3: 00000000 +0 +OBJECT +GLOBAL +DEFAULT +ABS V1 + +4: 00040408 +8 +FUNC +GLOBAL +DEFAULT +.* f3@@V1 + +5: 00040400 +8 +FUNC +GLOBAL +DEFAULT +.* f2@@V1 #pass diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-1-rel.nd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-1-rel.nd index c5f0b51..1d49c4e 100644 --- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-1-rel.nd +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-1-rel.nd @@ -1,5 +1,5 @@ #... -.*: 00000030 14 FUNC GLOBAL DEFAULT \[MIPS16\] .* f3 -.*: 00000040 24 FUNC GLOBAL DEFAULT .* __start -.*: 0000001c 20 FUNC GLOBAL DEFAULT \[MIPS PIC\] .* f2 -.*: 00000000 28 FUNC GLOBAL DEFAULT \[MIPS PIC\] .* f1 +.*: 00000030 +14 +FUNC +GLOBAL +DEFAULT +\[MIPS16\] .* f3 +.*: 00000040 +24 +FUNC +GLOBAL +DEFAULT +.* __start +.*: 0000001c +20 +FUNC +GLOBAL +DEFAULT +\[MIPS PIC\] .* f2 +.*: 00000000 +28 +FUNC +GLOBAL +DEFAULT +\[MIPS PIC\] .* f1 diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-1.nd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-1.nd index 506685a..4fc9ae3 100644 --- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-1.nd +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-1.nd @@ -1,9 +1,9 @@ #... -.*: 00041018 8 FUNC LOCAL DEFAULT .* .pic.f1 -.*: 00041000 16 FUNC LOCAL DEFAULT .* .pic.f2 -.*: 00000000 0 OBJECT GLOBAL DEFAULT UND _gp_disp -.*: 00068000 0 NOTYPE GLOBAL DEFAULT ABS _gp -.*: 00041050 14 FUNC GLOBAL DEFAULT \[MIPS16\] .* f3 -.*: 00041060 24 FUNC GLOBAL DEFAULT .* __start -.*: 0004103c 20 FUNC GLOBAL DEFAULT .* f2 -.*: 00041020 28 FUNC GLOBAL DEFAULT .* f1 +.*: 00041018 +8 +FUNC +LOCAL +DEFAULT .* .pic.f1 +.*: 00041000 +16 +FUNC +LOCAL +DEFAULT .* .pic.f2 +.*: 00000000 +0 +OBJECT +GLOBAL +DEFAULT +UND _gp_disp +.*: 00068000 +0 +NOTYPE +GLOBAL +DEFAULT +ABS _gp +.*: 00041050 +14 +FUNC +GLOBAL +DEFAULT +\[MIPS16\] .* f3 +.*: 00041060 +24 +FUNC +GLOBAL +DEFAULT .* __start +.*: 0004103c +20 +FUNC +GLOBAL +DEFAULT .* f2 +.*: 00041020 +28 +FUNC +GLOBAL +DEFAULT .* f1 diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.nd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.nd index f115be5..09c9411 100644 --- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.nd +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.nd @@ -1,9 +1,9 @@ Symbol table '\.dynsym' contains .*: #... -.*: 00000000 * 0 * FUNC * GLOBAL * DEFAULT * UND * foo +.*: 00000000 +0 +FUNC +GLOBAL +DEFAULT +UND +foo # The index on the next line should correspond to MIPS_GOTSYM. #... - *7: 00044030 * 0 * FUNC * GLOBAL * DEFAULT * UND * bar + *7: 00044030 +0 +FUNC +GLOBAL +DEFAULT +UND +bar #pass diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.nd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.nd index d63426c..047d569 100644 --- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.nd +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-4b.nd @@ -2,11 +2,11 @@ Symbol table '\.dynsym' contains .*: # The order of the next two symbols is not important. #... -.*: 000a2000 * 8 * OBJECT * GLOBAL * DEFAULT * [0-9]+ * obj1 +.*: 000a2000 +8 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +obj1 #... -.*: 000a2008 * 4 * OBJECT * GLOBAL * DEFAULT * [0-9]+ * obj2 +.*: 000a2008 +4 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +obj2 # The index on the next line should correspond to MIPS_GOTSYM. #... - *7: 0+ * 0 * OBJECT * GLOBAL * DEFAULT * UND * obj3 + *7: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +obj3 #pass diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-5b.nd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-5b.nd index 5622f91..a7648d7 100644 --- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-5b.nd +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-5b.nd @@ -1,10 +1,10 @@ Symbol table '\.dynsym' contains .*: #... -.*: 00043060 * 0 * FUNC * GLOBAL * DEFAULT * \[MIPS PLT\] * UND * foo +.*: 00043060 +0 +FUNC +GLOBAL +DEFAULT +\[MIPS PLT\] +UND +foo # The index on the next line should correspond to MIPS_GOTSYM. #... - *8: 0+ * 0 * OBJECT * GLOBAL * DEFAULT * UND * obj2 - *9: 0+ * 0 * FUNC * GLOBAL * DEFAULT * UND * bar + *8: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +obj2 + *9: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +bar #pass diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.nd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.nd index 8b0d0a6..7afd67d 100644 --- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.nd +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.nd @@ -1,17 +1,17 @@ Symbol table '\.dynsym' contains .*: #... -.*: 00000000 * 0 * FUNC * GLOBAL * DEFAULT * UND * extf5 +.*: 00000000 +0 +FUNC +GLOBAL +DEFAULT +UND +extf5 # The index on the next line should correspond to MIPS_GOTSYM, # and the remaining symbols should have the same order as the # GOT layout given in the *.dd dump. #... - *7: 0+ * 0 * FUNC * GLOBAL * DEFAULT * UND * extf2 - *8: 0+ * 0 * * FUNC * GLOBAL * DEFAULT * UND * extf3 - *9: 0+a2000 * 24 * OBJECT * GLOBAL * DEFAULT * [0-9]+ * extd2 - *10: 0+440a0 * 0 * FUNC * GLOBAL * DEFAULT * UND * extf1 - *11: 0+ * 0 * OBJECT * GLOBAL * DEFAULT * UND * extd1 - *12: 0+ * 0 * FUNC * GLOBAL * DEFAULT * UND * extf4 - *13: 0+ * 0 * OBJECT * GLOBAL * DEFAULT * UND * extd4 + *7: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf2 + *8: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf3 + *9: 0+a2000 +24 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +extd2 + *10: 0+440a0 +0 +FUNC +GLOBAL +DEFAULT +UND +extf1 + *11: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd1 + *12: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf4 + *13: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd4 #pass diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.nd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.nd index 8ee90e4..e735a45 100644 --- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.nd +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.nd @@ -1,17 +1,17 @@ Symbol table '\.dynsym' contains .*: #... -.*: 0+ * 0 * FUNC * GLOBAL * DEFAULT * UND * extf5 +.*: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf5 # The index on the next line should correspond to MIPS_GOTSYM, # and the remaining symbols should have the same order as the # GOT layout given in the *.dd dump. #... - *7: 0+ * 0 * FUNC * GLOBAL * DEFAULT * UND * extf2 - *8: 0+ * 0 * FUNC * GLOBAL * DEFAULT * UND * extf3 - *9: 0+a2000 * 24 * OBJECT * GLOBAL * DEFAULT * [0-9]+ * extd2 - *10: 0+440a0 * 0 * FUNC * GLOBAL * DEFAULT * UND * extf1 - *11: 0+ * 0 * OBJECT * GLOBAL * DEFAULT * UND * extd1 - *12: 0+ * 0 * FUNC * GLOBAL * DEFAULT * UND * extf4 - *13: 0+ * 0 * OBJECT * GLOBAL * DEFAULT * UND * extd4 + *7: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf2 + *8: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf3 + *9: 0+a2000 +24 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +extd2 + *10: 0+440a0 +0 +FUNC +GLOBAL +DEFAULT +UND +extf1 + *11: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd1 + *12: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf4 + *13: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd4 #pass diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.nd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.nd index 15ace17..7afd67d 100644 --- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.nd +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.nd @@ -1,17 +1,17 @@ Symbol table '\.dynsym' contains .*: #... -.*: 00000000 * 0 * FUNC * GLOBAL * DEFAULT * UND * extf5 +.*: 00000000 +0 +FUNC +GLOBAL +DEFAULT +UND +extf5 # The index on the next line should correspond to MIPS_GOTSYM, # and the remaining symbols should have the same order as the # GOT layout given in the *.dd dump. #... - *7: 0+ * 0 * FUNC * GLOBAL * DEFAULT * UND * extf2 - *8: 0+ * 0 * FUNC * GLOBAL * DEFAULT * UND * extf3 - *9: 0+a2000 * 24 * OBJECT * GLOBAL * DEFAULT * [0-9]+ * extd2 - *10: 0+440a0 * 0 * FUNC * GLOBAL * DEFAULT * UND * extf1 - *11: 0+ * 0 * OBJECT * GLOBAL * DEFAULT * UND * extd1 - *12: 0+ * 0 * FUNC * GLOBAL * DEFAULT * UND * extf4 - *13: 0+ * 0 * OBJECT * GLOBAL * DEFAULT * UND * extd4 + *7: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf2 + *8: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf3 + *9: 0+a2000 +24 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +extd2 + *10: 0+440a0 +0 +FUNC +GLOBAL +DEFAULT +UND +extf1 + *11: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd1 + *12: 0+ +0 +FUNC +GLOBAL +DEFAULT +UND +extf4 + *13: 0+ +0 +OBJECT +GLOBAL +DEFAULT +UND +extd4 #pass diff --git a/ld/testsuite/ld-mips-elf/vxworks1-lib.nd b/ld/testsuite/ld-mips-elf/vxworks1-lib.nd index adbf7d7..c5f31a7 100644 --- a/ld/testsuite/ld-mips-elf/vxworks1-lib.nd +++ b/ld/testsuite/ld-mips-elf/vxworks1-lib.nd @@ -1,9 +1,9 @@ #... Symbol table '\.dynsym' .*: #... -.*: 00081410 * 0 * OBJECT * GLOBAL * DEFAULT * [0-9]+ _GLOBAL_OFFSET_TABLE_ +.*: 00081410 +0 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _GLOBAL_OFFSET_TABLE_ #... Symbol table '\.symtab' .*: #... -.*: 00081410 * 0 * OBJECT * GLOBAL * DEFAULT * [0-9]+ _GLOBAL_OFFSET_TABLE_ +.*: 00081410 +0 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _GLOBAL_OFFSET_TABLE_ #pass diff --git a/ld/testsuite/ld-mmix/bspec1.d b/ld/testsuite/ld-mmix/bspec1.d index 79d53d4..04c49fa 100644 --- a/ld/testsuite/ld-mmix/bspec1.d +++ b/ld/testsuite/ld-mmix/bspec1.d @@ -6,34 +6,34 @@ There are 6 section headers, starting at offset 0xb8: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0+ 0+ - 0+ 0+ 0 0 0 - \[ 1\] \.text PROGBITS 0+ 0+78 - 0+4 0+ AX 0 0 4 - \[ 2\] \.MMIX\.spec_data\.2 PROGBITS 0+ 0+7c - 0+4 0+ 0 0 4 - \[ 3\] \.shstrtab STRTAB 0+ 0+80 - 0+33 0+ 0 0 1 - \[ 4\] \.symtab SYMTAB 0+ 0+238 - 0+d8 0+18 5 3 8 - \[ 5\] \.strtab STRTAB 0+ 0+310 - 0+2d 0+ 0 0 1 + +\[Nr\] Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0+ +0+ + +0+ +0+ +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0+ +0+78 + +0+4 +0+ +AX +0 +0 +4 + +\[ 2\] \.MMIX\.spec_data\.2 PROGBITS +0+ +0+7c + +0+4 +0+ +0 +0 +4 + +\[ 3\] \.shstrtab +STRTAB +0+ +0+80 + +0+33 +0+ +0 +0 +1 + +\[ 4\] \.symtab +SYMTAB +0+ +0+238 + +0+d8 +0+18 +5 +3 +8 + +\[ 5\] \.strtab +STRTAB +0+ +0+310 + +0+2d +0+ +0 +0 +1 Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) There are no relocations in this file\. Symbol table '\.symtab' contains 9 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 0+ 0 NOTYPE LOCAL DEFAULT UND - 1: 0+ 0 SECTION LOCAL DEFAULT 1 - 2: 0+ 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 FUNC GLOBAL DEFAULT 1 Main - 4: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 Main + +4: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/bspec2.d b/ld/testsuite/ld-mmix/bspec2.d index 98296e7..f636c90 100644 --- a/ld/testsuite/ld-mmix/bspec2.d +++ b/ld/testsuite/ld-mmix/bspec2.d @@ -9,38 +9,38 @@ There are 7 section headers, starting at offset 0xd0: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0+ 0+ - 0+ 0+ 0 0 0 - \[ 1\] \.text PROGBITS 0+ 0+78 - 0+4 0+ AX 0 0 4 - \[ 2\] \.MMIX\.spec_data\.2 PROGBITS 0+ 0+7c - 0+8 0+ 0 0 4 - \[ 3\] \.MMIX\.spec_data\.3 PROGBITS 0+ 0+84 - 0+4 0+ 0 0 4 - \[ 4\] \.shstrtab STRTAB 0+ 0+88 - 0+45 0+ 0 0 1 - \[ 5\] \.symtab SYMTAB 0+ 0+290 - 0+108 0+18 6 4 8 - \[ 6\] \.strtab STRTAB 0+ 0+398 - 0+32 0+ 0 0 1 + +\[Nr\] Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0+ +0+ + +0+ +0+ +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0+ +0+78 + +0+4 +0+ +AX +0 +0 +4 + +\[ 2\] \.MMIX\.spec_data\.2 PROGBITS +0+ +0+7c + +0+8 +0+ +0 +0 +4 + +\[ 3\] \.MMIX\.spec_data\.3 PROGBITS +0+ +0+84 + +0+4 +0+ +0 +0 +4 + +\[ 4\] \.shstrtab +STRTAB +0+ +0+88 + +0+45 +0+ +0 +0 +1 + +\[ 5\] \.symtab +SYMTAB +0+ +0+290 + +0+108 +0+18 +6 +4 +8 + +\[ 6\] \.strtab +STRTAB +0+ +0+398 + +0+32 +0+ +0 +0 +1 Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) There are no relocations in this file\. Symbol table '\.symtab' contains 11 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 0+ 0 NOTYPE LOCAL DEFAULT UND - 1: 0+ 0 SECTION LOCAL DEFAULT 1 - 2: 0+ 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 FUNC GLOBAL DEFAULT 1 Main - 5: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 - 6: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+ +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0+ +0 +SECTION +LOCAL +DEFAULT +3 + +4: 0+ +0 +FUNC +GLOBAL +DEFAULT +1 Main + +5: 0+fc +0 +NOTYPE +GLOBAL +DEFAULT +ABS ext1 + +6: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/local1.d b/ld/testsuite/ld-mmix/local1.d index fc08da7..31dbeda 100644 --- a/ld/testsuite/ld-mmix/local1.d +++ b/ld/testsuite/ld-mmix/local1.d @@ -13,34 +13,34 @@ There are 6 section headers, starting at offset 0xc8: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0+ 0+ - 0+ 0+ 0 0 0 - \[ 1\] \.text PROGBITS 0+ 0+78 - 0+8 0+ AX 0 0 4 - \[ 2\] \.MMIX\.reg_content PROGBITS 0+7e8 0+80 - 0+10 0+ W 0 0 1 - \[ 3\] \.shstrtab STRTAB 0+ 0+90 - 0+34 0+ 0 0 1 - \[ 4\] \.symtab SYMTAB 0+ 0+248 - 0+108 0+18 5 5 8 - \[ 5\] \.strtab STRTAB 0+ 0+350 - 0+32 0+ 0 0 1 + +\[Nr\] Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0+ +0+ + +0+ +0+ +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0+ +0+78 + +0+8 +0+ +AX +0 +0 +4 + +\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+80 + +0+10 +0+ +W +0 +0 +1 + +\[ 3\] \.shstrtab +STRTAB +0+ +0+90 + +0+34 +0+ +0 +0 +1 + +\[ 4\] \.symtab +SYMTAB +0+ +0+248 + +0+108 +0+18 +5 +5 +8 + +\[ 5\] \.strtab +STRTAB +0+ +0+350 + +0+32 +0+ +0 +0 +1 Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) Symbol table '\.symtab' contains 11 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 0+ 0 NOTYPE LOCAL DEFAULT UND - 1: 0+ 0 SECTION LOCAL DEFAULT 1 - 2: 0+7e8 0 SECTION LOCAL DEFAULT 2 - 3: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 4: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 5: 0+fc 0 NOTYPE GLOBAL DEFAULT PRC\[0xff00\] ext1 - 6: 0+4 0 NOTYPE GLOBAL DEFAULT 1 _start + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0+fd +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym + +4: 0+fe +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym + +5: 0+fc +0 +NOTYPE +GLOBAL +DEFAULT +PRC\[0xff00\] ext1 + +6: 0+4 +0 +NOTYPE +GLOBAL +DEFAULT +1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/local3.d b/ld/testsuite/ld-mmix/local3.d index 62db6c3..f0b6a0e 100644 --- a/ld/testsuite/ld-mmix/local3.d +++ b/ld/testsuite/ld-mmix/local3.d @@ -4,41 +4,41 @@ #source: ext1.s #source: start.s #ld: -m elf64mmix -#readelf: -Ssx1 -x2 +#readelf: -Ssx1 -x2 # Like local1, but ext1 is here a constant, not a global register. There are 6 section headers, starting at offset 0xc8: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0+ 0+ - 0+ 0+ 0 0 0 - \[ 1\] \.text PROGBITS 0+ 0+78 - 0+8 0+ AX 0 0 4 - \[ 2\] \.MMIX\.reg_content PROGBITS 0+7e8 0+80 - 0+10 0+ W 0 0 1 - \[ 3\] \.shstrtab STRTAB 0+ 0+90 - 0+34 0+ 0 0 1 - \[ 4\] \.symtab SYMTAB 0+ 0+248 - 0+108 0+18 5 5 8 - \[ 5\] \.strtab STRTAB 0+ 0+350 - 0+32 0+ 0 0 1 + +\[Nr\] Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0+ +0+ + +0+ +0+ +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0+ +0+78 + +0+8 +0+ +AX +0 +0 +4 + +\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+80 + +0+10 +0+ +W +0 +0 +1 + +\[ 3\] \.shstrtab +STRTAB +0+ +0+90 + +0+34 +0+ +0 +0 +1 + +\[ 4\] \.symtab +SYMTAB +0+ +0+248 + +0+108 +0+18 +5 +5 +8 + +\[ 5\] \.strtab +STRTAB +0+ +0+350 + +0+32 +0+ +0 +0 +1 Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) Symbol table '\.symtab' contains 11 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 0+ 0 NOTYPE LOCAL DEFAULT UND - 1: 0+ 0 SECTION LOCAL DEFAULT 1 - 2: 0+7e8 0 SECTION LOCAL DEFAULT 2 - 3: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 4: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 5: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 - 6: 0+4 0 NOTYPE GLOBAL DEFAULT 1 _start + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0+fd +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym + +4: 0+fe +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym + +5: 0+fc +0 +NOTYPE +GLOBAL +DEFAULT +ABS ext1 + +6: 0+4 +0 +NOTYPE +GLOBAL +DEFAULT +1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/local5.d b/ld/testsuite/ld-mmix/local5.d index 955c3fa..164e5c8 100644 --- a/ld/testsuite/ld-mmix/local5.d +++ b/ld/testsuite/ld-mmix/local5.d @@ -5,41 +5,41 @@ #source: regext1.s #source: start.s #ld: -m elf64mmix -#readelf: -Ssx1 -x2 +#readelf: -Ssx1 -x2 # Like local1, but with two checks for a local register. There are 6 section headers, starting at offset 0xc8: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0+ 0+ - 0+ 0+ 0 0 0 - \[ 1\] \.text PROGBITS 0+ 0+78 - 0+c 0+ AX 0 0 4 - \[ 2\] \.MMIX\.reg_content PROGBITS 0+7e8 0+84 - 0+10 0+ W 0 0 1 - \[ 3\] \.shstrtab STRTAB 0+ 0+94 - 0+34 0+ 0 0 1 - \[ 4\] \.symtab SYMTAB 0+ 0+248 - 0+108 0+18 5 5 8 - \[ 5\] \.strtab STRTAB 0+ 0+350 - 0+32 0+ 0 0 1 + +\[Nr\] Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0+ +0+ + +0+ +0+ +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0+ +0+78 + +0+c +0+ +AX +0 +0 +4 + +\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+84 + +0+10 +0+ +W +0 +0 +1 + +\[ 3\] \.shstrtab +STRTAB +0+ +0+94 + +0+34 +0+ +0 +0 +1 + +\[ 4\] \.symtab +SYMTAB +0+ +0+248 + +0+108 +0+18 +5 +5 +8 + +\[ 5\] \.strtab +STRTAB +0+ +0+350 + +0+32 +0+ +0 +0 +1 Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) Symbol table '\.symtab' contains 11 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 0+ 0 NOTYPE LOCAL DEFAULT UND - 1: 0+ 0 SECTION LOCAL DEFAULT 1 - 2: 0+7e8 0 SECTION LOCAL DEFAULT 2 - 3: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 4: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 5: 0+fc 0 NOTYPE GLOBAL DEFAULT PRC\[0xff00\] ext1 - 6: 0+8 0 NOTYPE GLOBAL DEFAULT 1 _start + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0+fd +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym + +4: 0+fe +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym + +5: 0+fc +0 +NOTYPE +GLOBAL +DEFAULT +PRC\[0xff00\] ext1 + +6: 0+8 +0 +NOTYPE +GLOBAL +DEFAULT +1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/local7.d b/ld/testsuite/ld-mmix/local7.d index 0109d13..d112d50 100644 --- a/ld/testsuite/ld-mmix/local7.d +++ b/ld/testsuite/ld-mmix/local7.d @@ -5,7 +5,7 @@ #source: ext1.s #source: start.s #ld: -m elf64mmix -#readelf: -Ssx1 -x2 +#readelf: -Ssx1 -x2 # Like local1, but ext1 is here a constant, not a global register and two # local-register checks. @@ -13,34 +13,34 @@ There are 6 section headers, starting at offset 0xc8: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0+ 0+ - 0+ 0+ 0 0 0 - \[ 1\] \.text PROGBITS 0+ 0+78 - 0+c 0+ AX 0 0 4 - \[ 2\] \.MMIX\.reg_content PROGBITS 0+7e8 0+84 - 0+10 0+ W 0 0 1 - \[ 3\] \.shstrtab STRTAB 0+ 0+94 - 0+34 0+ 0 0 1 - \[ 4\] \.symtab SYMTAB 0+ 0+248 - 0+108 0+18 5 5 8 - \[ 5\] \.strtab STRTAB 0+ 0+350 - 0+32 0+ 0 0 1 + +\[Nr\] Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0+ +0+ + +0+ +0+ +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0+ +0+78 + +0+c +0+ +AX +0 +0 +4 + +\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+84 + +0+10 +0+ +W +0 +0 +1 + +\[ 3\] \.shstrtab +STRTAB +0+ +0+94 + +0+34 +0+ +0 +0 +1 + +\[ 4\] \.symtab +SYMTAB +0+ +0+248 + +0+108 +0+18 +5 +5 +8 + +\[ 5\] \.strtab +STRTAB +0+ +0+350 + +0+32 +0+ +0 +0 +1 Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) Symbol table '\.symtab' contains 11 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 0+ 0 NOTYPE LOCAL DEFAULT UND - 1: 0+ 0 SECTION LOCAL DEFAULT 1 - 2: 0+7e8 0 SECTION LOCAL DEFAULT 2 - 3: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 4: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 5: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 - 6: 0+8 0 NOTYPE GLOBAL DEFAULT 1 _start + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+7e8 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 0+fd +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym + +4: 0+fe +0 +NOTYPE +LOCAL +DEFAULT +PRC\[0xff00\] lsym + +5: 0+fc +0 +NOTYPE +GLOBAL +DEFAULT +ABS ext1 + +6: 0+8 +0 +NOTYPE +GLOBAL +DEFAULT +1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/undef-3.d b/ld/testsuite/ld-mmix/undef-3.d index 5b3ce98..5f659bc 100644 --- a/ld/testsuite/ld-mmix/undef-3.d +++ b/ld/testsuite/ld-mmix/undef-3.d @@ -5,30 +5,30 @@ There are 5 section headers, starting at offset 0xa0: Section Headers: - \[Nr\] Name Type Address Offset - Size EntSize Flags Link Info Align - \[ 0\] NULL 0+ 0+ - 0+ 0+ 0 0 0 - \[ 1\] \.text PROGBITS 0+ 0+78 - 0+4 0+ AX 0 0 4 - \[ 2\] \.shstrtab STRTAB 0+ 0+7c - 0+21 0+ 0 0 1 - \[ 3\] \.symtab SYMTAB 0+ 0+1e0 - 0+c0 0+18 4 2 8 - \[ 4\] \.strtab STRTAB 0+ 0+2a0 - 0+2f 0+ 0 0 1 + +\[Nr\] Name +Type +Address +Offset + +Size +EntSize +Flags +Link +Info +Align + +\[ 0\] +NULL +0+ +0+ + +0+ +0+ +0 +0 +0 + +\[ 1\] \.text +PROGBITS +0+ +0+78 + +0+4 +0+ +AX +0 +0 +4 + +\[ 2\] \.shstrtab +STRTAB +0+ +0+7c + +0+21 +0+ +0 +0 +1 + +\[ 3\] \.symtab +SYMTAB +0+ +0+1e0 + +0+c0 +0+18 +4 +2 +8 + +\[ 4\] \.strtab +STRTAB +0+ +0+2a0 + +0+2f +0+ +0 +0 +1 Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) Symbol table '\.symtab' contains 8 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 0+ 0 NOTYPE LOCAL DEFAULT UND - 1: 0+ 0 SECTION LOCAL DEFAULT 1 - 2: 0+ 0 NOTYPE GLOBAL DEFAULT UND undefd - 3: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start - 4: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS __bss_start - 5: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS _edata - 6: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS _end - 7: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start\. + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+ +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND undefd + +3: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +1 _start + +4: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +5: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +6: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +7: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +1 _start\. diff --git a/ld/testsuite/ld-mn10300/i135409-1.d b/ld/testsuite/ld-mn10300/i135409-1.d index 2d64a42..7fa868a 100644 --- a/ld/testsuite/ld-mn10300/i135409-1.d +++ b/ld/testsuite/ld-mn10300/i135409-1.d @@ -1,11 +1,11 @@ Symbol table '.symtab' contains .. entries: - Num: Value Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... - ..: 0[0-9a-f]+[ ]+7 FUNC LOCAL DEFAULT . _func + +..: 0[0-9a-f]+ +7 +FUNC +LOCAL +DEFAULT +. _func #... - ..: 0[0-9a-f]+[ ]+0 NOTYPE LOCAL DEFAULT . A - ..: 0[0-9a-f]+[ ]+7 FUNC GLOBAL DEFAULT . _func2 + +..: 0[0-9a-f]+ +0 +NOTYPE +LOCAL +DEFAULT +. A + +..: 0[0-9a-f]+ +7 +FUNC +GLOBAL +DEFAULT +. _func2 #... - ..: 0[0-9a-f]+[ ]+0 NOTYPE GLOBAL DEFAULT . BOTTOM + +..: 0[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +. BOTTOM #... diff --git a/ld/testsuite/ld-mn10300/i135409-2.d b/ld/testsuite/ld-mn10300/i135409-2.d index 59c07e3..502a3ba 100644 --- a/ld/testsuite/ld-mn10300/i135409-2.d +++ b/ld/testsuite/ld-mn10300/i135409-2.d @@ -1,11 +1,11 @@ Symbol table '.symtab' contains .. entries: - Num: Value Size Type Bind Vis Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name #... - ..: 0[0-9a-f]+02[ ]+0 NOTYPE LOCAL DEFAULT . _A - ..: 0[0-9a-f]+08[ ]+0 NOTYPE LOCAL DEFAULT . _B - ..: 0[0-9a-f]+08[ ]+0 NOTYPE LOCAL DEFAULT . _C - ..: 0[0-9a-f]+10[ ]+7 FUNC LOCAL DEFAULT . _func - ..: 0[0-9a-f]+14[ ]+0 NOTYPE LOCAL DEFAULT . _D - ..: 0[0-9a-f]+17[ ]+0 NOTYPE LOCAL DEFAULT . BOTTOM + +..: 0[0-9a-f]+02 +0 +NOTYPE +LOCAL +DEFAULT +. _A + +..: 0[0-9a-f]+08 +0 +NOTYPE +LOCAL +DEFAULT +. _B + +..: 0[0-9a-f]+08 +0 +NOTYPE +LOCAL +DEFAULT +. _C + +..: 0[0-9a-f]+10 +7 +FUNC +LOCAL +DEFAULT +. _func + +..: 0[0-9a-f]+14 +0 +NOTYPE +LOCAL +DEFAULT +. _D + +..: 0[0-9a-f]+17 +0 +NOTYPE +LOCAL +DEFAULT +. BOTTOM #pass diff --git a/ld/testsuite/ld-powerpc/tlsexe.r b/ld/testsuite/ld-powerpc/tlsexe.r index b4be766..32126f3 100644 --- a/ld/testsuite/ld-powerpc/tlsexe.r +++ b/ld/testsuite/ld-powerpc/tlsexe.r @@ -62,32 +62,32 @@ Relocation section '\.rela\.plt' at offset .* contains 1 entries: [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 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* TLS +GLOBAL DEFAULT +UND gd -.* 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 +.* TLS +GLOBAL +DEFAULT +UND gd +.* 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 [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -.* 0+ +0 NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +1 -.* SECTION LOCAL +DEFAULT +2 -.* SECTION LOCAL +DEFAULT +3 -.* SECTION LOCAL +DEFAULT +4 -.* SECTION LOCAL +DEFAULT +5 -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* SECTION LOCAL +DEFAULT +8 -.* SECTION LOCAL +DEFAULT +9 -.* SECTION LOCAL +DEFAULT +10 -.* SECTION LOCAL +DEFAULT +11 -.* SECTION LOCAL +DEFAULT +12 -.* SECTION LOCAL +DEFAULT +13 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +12 +.* SECTION +LOCAL +DEFAULT +13 .* TLS +LOCAL +DEFAULT +8 gd4 .* TLS +LOCAL +DEFAULT +8 ld4 .* TLS +LOCAL +DEFAULT +8 ld5 @@ -97,17 +97,17 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +DEFAULT +8 le5 .* OBJECT +LOCAL +HIDDEN +10 _DYNAMIC .* (FUNC|NOTYPE) +LOCAL +DEFAULT +UND \.__tls_get_addr(|_opt) -.* GLOBAL DEFAULT +UND gd -.* GLOBAL DEFAULT +9 le0 -.* GLOBAL DEFAULT +9 ld0 -.* GLOBAL DEFAULT +9 le1 -.* GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +7 _start -.* TLS +GLOBAL DEFAULT +9 ld2 -.* TLS +GLOBAL DEFAULT +9 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start +.* GLOBAL +DEFAULT +UND gd +.* GLOBAL +DEFAULT +9 le0 +.* GLOBAL +DEFAULT +9 ld0 +.* GLOBAL +DEFAULT +9 le1 +.* GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +7 _start +.* 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 -.* TLS +GLOBAL DEFAULT +9 ie0 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +9 gd0 +.* TLS +GLOBAL +DEFAULT +9 ie0 diff --git a/ld/testsuite/ld-powerpc/tlsexe32.r b/ld/testsuite/ld-powerpc/tlsexe32.r index f2c1a45..f5443bd 100644 --- a/ld/testsuite/ld-powerpc/tlsexe32.r +++ b/ld/testsuite/ld-powerpc/tlsexe32.r @@ -60,31 +60,31 @@ Relocation section '\.rela\.plt' at offset .* contains 1 entries: [0-9a-f ]+R_PPC_JMP_SLOT[0-9a-f ]+__tls_get_addr_opt \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +ABS __end -.* 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 +UND gd +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +ABS __end +.* 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 [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +1 -.* SECTION LOCAL +DEFAULT +2 -.* SECTION LOCAL +DEFAULT +3 -.* SECTION LOCAL +DEFAULT +4 -.* SECTION LOCAL +DEFAULT +5 -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* SECTION LOCAL +DEFAULT +8 -.* SECTION LOCAL +DEFAULT +9 -.* SECTION LOCAL +DEFAULT +10 -.* SECTION LOCAL +DEFAULT +11 -.* SECTION LOCAL +DEFAULT +12 +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +12 .* TLS +LOCAL +DEFAULT +8 gd4 .* TLS +LOCAL +DEFAULT +8 ld4 .* TLS +LOCAL +DEFAULT +8 ld5 @@ -94,18 +94,18 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +DEFAULT +8 le5 .* OBJECT +LOCAL +HIDDEN +10 _DYNAMIC .* OBJECT +LOCAL +HIDDEN +11 _GLOBAL_OFFSET_TABLE_ -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +9 le0 -.* TLS +GLOBAL DEFAULT +9 ld0 -.* TLS +GLOBAL DEFAULT +9 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +7 _start -.* NOTYPE +GLOBAL DEFAULT +ABS __end -.* 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 -.* TLS +GLOBAL DEFAULT +9 ie0 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +9 le0 +.* TLS +GLOBAL +DEFAULT +9 ld0 +.* TLS +GLOBAL +DEFAULT +9 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +7 _start +.* NOTYPE +GLOBAL +DEFAULT +ABS __end +.* 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 +.* TLS +GLOBAL +DEFAULT +9 ie0 diff --git a/ld/testsuite/ld-powerpc/tlsexetoc.r b/ld/testsuite/ld-powerpc/tlsexetoc.r index d1f75df..267cba5 100644 --- a/ld/testsuite/ld-powerpc/tlsexetoc.r +++ b/ld/testsuite/ld-powerpc/tlsexetoc.r @@ -62,31 +62,31 @@ Relocation section '\.rela\.plt' at offset .* contains 1 entries: [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 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +UND ld -.* 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 +UND gd +.* TLS +GLOBAL +DEFAULT +UND ld +.* 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 [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +1 -.* SECTION LOCAL +DEFAULT +2 -.* SECTION LOCAL +DEFAULT +3 -.* SECTION LOCAL +DEFAULT +4 -.* SECTION LOCAL +DEFAULT +5 -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* SECTION LOCAL +DEFAULT +8 -.* SECTION LOCAL +DEFAULT +9 -.* SECTION LOCAL +DEFAULT +10 -.* SECTION LOCAL +DEFAULT +11 -.* SECTION LOCAL +DEFAULT +12 -.* SECTION LOCAL +DEFAULT +13 +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +12 +.* SECTION +LOCAL +DEFAULT +13 .* TLS +LOCAL +DEFAULT +8 gd4 .* TLS +LOCAL +DEFAULT +8 ld4 .* TLS +LOCAL +DEFAULT +8 ld5 @@ -97,17 +97,17 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* NOTYPE +LOCAL +DEFAULT +12 \.Lie0 .* OBJECT +LOCAL +HIDDEN +10 _DYNAMIC .* (FUNC|NOTYPE) +LOCAL +DEFAULT +UND \.__tls_get_addr(|_opt) -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +9 le0 -.* TLS +GLOBAL DEFAULT +9 ld0 -.* TLS +GLOBAL DEFAULT +9 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +7 _start -.* 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 -.* TLS +GLOBAL DEFAULT +9 ie0 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +9 le0 +.* TLS +GLOBAL +DEFAULT +9 ld0 +.* TLS +GLOBAL +DEFAULT +9 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +7 _start +.* 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 +.* TLS +GLOBAL +DEFAULT +9 ie0 diff --git a/ld/testsuite/ld-powerpc/tlsso.r b/ld/testsuite/ld-powerpc/tlsso.r index 4693c28..c1a7347 100644 --- a/ld/testsuite/ld-powerpc/tlsso.r +++ b/ld/testsuite/ld-powerpc/tlsso.r @@ -68,40 +68,40 @@ Relocation section '\.rela\.plt' at offset .* contains 1 entries: [0-9a-f ]+R_PPC64_JMP_SLOT +0+ __tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +8 le0 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 ld0 -.* TLS +GLOBAL DEFAULT +8 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +6 _start -.* TLS +GLOBAL DEFAULT +8 ld2 -.* TLS +GLOBAL DEFAULT +8 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +8 gd0 -.* TLS +GLOBAL DEFAULT +8 ie0 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +8 le0 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 ld0 +.* TLS +GLOBAL +DEFAULT +8 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +6 _start +.* TLS +GLOBAL +DEFAULT +8 ld2 +.* TLS +GLOBAL +DEFAULT +8 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +8 gd0 +.* TLS +GLOBAL +DEFAULT +8 ie0 Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +1 -.* SECTION LOCAL +DEFAULT +2 -.* SECTION LOCAL +DEFAULT +3 -.* SECTION LOCAL +DEFAULT +4 -.* SECTION LOCAL +DEFAULT +5 -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* SECTION LOCAL +DEFAULT +8 -.* SECTION LOCAL +DEFAULT +9 -.* SECTION LOCAL +DEFAULT +10 -.* SECTION LOCAL +DEFAULT +11 -.* SECTION LOCAL +DEFAULT +12 +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +12 .* TLS +LOCAL +DEFAULT +7 gd4 .* TLS +LOCAL +DEFAULT +7 ld4 .* TLS +LOCAL +DEFAULT +7 ld5 @@ -111,17 +111,17 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +DEFAULT +7 le5 .* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC .* NOTYPE +LOCAL +DEFAULT +UND \.__tls_get_addr -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +8 le0 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 ld0 -.* TLS +GLOBAL DEFAULT +8 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +6 _start -.* TLS +GLOBAL DEFAULT +8 ld2 -.* TLS +GLOBAL DEFAULT +8 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +8 gd0 -.* TLS +GLOBAL DEFAULT +8 ie0 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +8 le0 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 ld0 +.* TLS +GLOBAL +DEFAULT +8 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +6 _start +.* TLS +GLOBAL +DEFAULT +8 ld2 +.* TLS +GLOBAL +DEFAULT +8 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +8 gd0 +.* TLS +GLOBAL +DEFAULT +8 ie0 diff --git a/ld/testsuite/ld-powerpc/tlsso32.r b/ld/testsuite/ld-powerpc/tlsso32.r index b29f2c4..aff469b 100644 --- a/ld/testsuite/ld-powerpc/tlsso32.r +++ b/ld/testsuite/ld-powerpc/tlsso32.r @@ -69,40 +69,40 @@ Relocation section '\.rela\.plt' at offset 0x[0-9a-f]+ contains 1 entries: [0-9a-f ]+R_PPC_JMP_SLOT +0+ +__tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +8 le0 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 ld0 -.* TLS +GLOBAL DEFAULT +8 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +6 _start -.* NOTYPE +GLOBAL DEFAULT +ABS __end -.* TLS +GLOBAL DEFAULT +8 ld2 -.* TLS +GLOBAL DEFAULT +8 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +8 gd0 -.* TLS +GLOBAL DEFAULT +8 ie0 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +8 le0 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 ld0 +.* TLS +GLOBAL +DEFAULT +8 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +6 _start +.* NOTYPE +GLOBAL +DEFAULT +ABS __end +.* TLS +GLOBAL +DEFAULT +8 ld2 +.* TLS +GLOBAL +DEFAULT +8 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +8 gd0 +.* TLS +GLOBAL +DEFAULT +8 ie0 Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +1 -.* SECTION LOCAL +DEFAULT +2 -.* SECTION LOCAL +DEFAULT +3 -.* SECTION LOCAL +DEFAULT +4 -.* SECTION LOCAL +DEFAULT +5 -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* SECTION LOCAL +DEFAULT +8 -.* SECTION LOCAL +DEFAULT +9 -.* SECTION LOCAL +DEFAULT +10 -.* SECTION LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 .* TLS +LOCAL +DEFAULT +7 gd4 .* TLS +LOCAL +DEFAULT +7 ld4 .* TLS +LOCAL +DEFAULT +7 ld5 @@ -112,18 +112,18 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +DEFAULT +7 le5 .* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC .* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +8 le0 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 ld0 -.* TLS +GLOBAL DEFAULT +8 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +6 _start -.* NOTYPE +GLOBAL DEFAULT +ABS __end -.* TLS +GLOBAL DEFAULT +8 ld2 -.* TLS +GLOBAL DEFAULT +8 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +8 gd0 -.* TLS +GLOBAL DEFAULT +8 ie0 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +8 le0 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 ld0 +.* TLS +GLOBAL +DEFAULT +8 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +6 _start +.* NOTYPE +GLOBAL +DEFAULT +ABS __end +.* TLS +GLOBAL +DEFAULT +8 ld2 +.* TLS +GLOBAL +DEFAULT +8 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +8 gd0 +.* TLS +GLOBAL +DEFAULT +8 ie0 diff --git a/ld/testsuite/ld-powerpc/tlstocso.r b/ld/testsuite/ld-powerpc/tlstocso.r index b557767..2855dda 100644 --- a/ld/testsuite/ld-powerpc/tlstocso.r +++ b/ld/testsuite/ld-powerpc/tlstocso.r @@ -63,40 +63,40 @@ Relocation section '\.rela\.plt' at offset .* contains 1 entries: [0-9a-f ]+R_PPC64_JMP_SLOT +0+ __tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +8 le0 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 ld0 -.* TLS +GLOBAL DEFAULT +8 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +6 _start -.* TLS +GLOBAL DEFAULT +8 ld2 -.* TLS +GLOBAL DEFAULT +8 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +8 gd0 -.* TLS +GLOBAL DEFAULT +8 ie0 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +8 le0 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 ld0 +.* TLS +GLOBAL +DEFAULT +8 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +6 _start +.* TLS +GLOBAL +DEFAULT +8 ld2 +.* TLS +GLOBAL +DEFAULT +8 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +8 gd0 +.* TLS +GLOBAL +DEFAULT +8 ie0 Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +1 -.* SECTION LOCAL +DEFAULT +2 -.* SECTION LOCAL +DEFAULT +3 -.* SECTION LOCAL +DEFAULT +4 -.* SECTION LOCAL +DEFAULT +5 -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* SECTION LOCAL +DEFAULT +8 -.* SECTION LOCAL +DEFAULT +9 -.* SECTION LOCAL +DEFAULT +10 -.* SECTION LOCAL +DEFAULT +11 -.* SECTION LOCAL +DEFAULT +12 +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +12 .* TLS +LOCAL +DEFAULT +7 gd4 .* TLS +LOCAL +DEFAULT +7 ld4 .* TLS +LOCAL +DEFAULT +7 ld5 @@ -107,17 +107,17 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* NOTYPE +LOCAL +DEFAULT +11 \.Lie0 .* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC .* NOTYPE +LOCAL +DEFAULT +UND \.__tls_get_addr -.* TLS +GLOBAL DEFAULT +UND gd -.* TLS +GLOBAL DEFAULT +8 le0 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 ld0 -.* TLS +GLOBAL DEFAULT +8 le1 -.* TLS +GLOBAL DEFAULT +UND ld -.* NOTYPE +GLOBAL DEFAULT +6 _start -.* TLS +GLOBAL DEFAULT +8 ld2 -.* TLS +GLOBAL DEFAULT +8 ld1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL DEFAULT +8 gd0 -.* TLS +GLOBAL DEFAULT +8 ie0 +.* TLS +GLOBAL +DEFAULT +UND gd +.* TLS +GLOBAL +DEFAULT +8 le0 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 ld0 +.* TLS +GLOBAL +DEFAULT +8 le1 +.* TLS +GLOBAL +DEFAULT +UND ld +.* NOTYPE +GLOBAL +DEFAULT +6 _start +.* TLS +GLOBAL +DEFAULT +8 ld2 +.* TLS +GLOBAL +DEFAULT +8 ld1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +8 gd0 +.* TLS +GLOBAL +DEFAULT +8 ie0 diff --git a/ld/testsuite/ld-powerpc/vxworks1-lib.nd b/ld/testsuite/ld-powerpc/vxworks1-lib.nd index cbc1c8c..7531ec7 100644 --- a/ld/testsuite/ld-powerpc/vxworks1-lib.nd +++ b/ld/testsuite/ld-powerpc/vxworks1-lib.nd @@ -1,9 +1,9 @@ #... Symbol table '\.dynsym' .*: #... -.*: 00090400 * 0 * OBJECT * GLOBAL * DEFAULT * [0-9]+ _GLOBAL_OFFSET_TABLE_ +.*: 00090400 +0 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _GLOBAL_OFFSET_TABLE_ #... Symbol table '\.symtab' .*: #... -.*: 00090400 * 0 * OBJECT * GLOBAL * DEFAULT * [0-9]+ _GLOBAL_OFFSET_TABLE_ +.*: 00090400 +0 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _GLOBAL_OFFSET_TABLE_ #pass diff --git a/ld/testsuite/ld-s390/tlsbin.rd b/ld/testsuite/ld-s390/tlsbin.rd index c6bfc5b..a2b3084 100644 --- a/ld/testsuite/ld-s390/tlsbin.rd +++ b/ld/testsuite/ld-s390/tlsbin.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0 +\[[ 0-9]+\] .interp .* +\[[ 0-9]+\] .hash .* @@ -35,111 +35,111 @@ Entry point 0x[0-9a-f]+ There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - PHDR +0x0+34 0x0+400034 0x0+400034 0x0+c0 0x0+c0 R E 0x4 - INTERP +0x0+f4 0x0+4000f4 0x0+4000f4 0x0+11 0x0+11 R +0x1 + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +PHDR +0x0+34 0x0+400034 0x0+400034 0x0+c0 0x0+c0 R E 0x4 + +INTERP +0x0+f4 0x0+4000f4 0x0+4000f4 0x0+11 0x0+11 R +0x1 .*Requesting program interpreter.* - LOAD .* R E 0x1000 - LOAD .* RW 0x1000 - DYNAMIC .* RW 0x4 - TLS .* 0x0+60 0x0+a0 R +0x20 + +LOAD .* R E 0x1000 + +LOAD .* RW +0x1000 + +DYNAMIC .* RW +0x4 + +TLS .* 0x0+60 0x0+a0 R +0x20 Section to Segment mapping: - Segment Sections... - 00 * - 01 +.interp * - 02 +.interp .hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * - 03 +.tdata .dynamic .got * - 04 +.dynamic * - 05 +.tdata .tbss * + +Segment Sections... + +00 * + +01 +.interp * + +02 +.interp .hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * + +03 +.tdata .dynamic .got * + +04 +.dynamic * + +05 +.tdata .tbss * Relocation section '.rela.dyn' at offset .* contains 4 entries: - Offset +Info +Type +Sym.Value Sym. Name \+ Addend + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend [0-9a-f ]+R_390_TLS_TPOFF +0+ +sG3 \+ 0 [0-9a-f ]+R_390_TLS_TPOFF +0+ +sG2 \+ 0 [0-9a-f ]+R_390_TLS_TPOFF +0+ +sG6 \+ 0 [0-9a-f ]+R_390_TLS_TPOFF +0+ +sG1 \+ 0 Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: - Offset +Info +Type +Sym.Value Sym. Name \+ Addend + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend [0-9a-f ]+R_390_JMP_SLOT[0-9a-f ]+__tls_get_offset \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value Size Type +Bind +Vis +Ndx Name -.* NOTYPE LOCAL DEFAULT UND -.* TLS +GLOBAL DEFAULT UND sG3 -.* TLS +GLOBAL DEFAULT UND sG2 -.* FUNC +GLOBAL DEFAULT UND __tls_get_offset -.* NOTYPE GLOBAL DEFAULT ABS __bss_start -.* TLS +GLOBAL DEFAULT UND sG6 -.* TLS +GLOBAL DEFAULT UND sG1 -.* NOTYPE GLOBAL DEFAULT ABS _edata -.* NOTYPE GLOBAL DEFAULT ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* NOTYPE +LOCAL +DEFAULT +UND +.* TLS +GLOBAL +DEFAULT +UND sG3 +.* TLS +GLOBAL +DEFAULT +UND sG2 +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_offset +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sG6 +.* TLS +GLOBAL +DEFAULT +UND sG1 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value Size Type +Bind +Vis +Ndx Name -.* NOTYPE LOCAL DEFAULT UND -.* SECTION LOCAL DEFAULT +1 -.* SECTION LOCAL DEFAULT +2 -.* SECTION LOCAL DEFAULT +3 -.* SECTION LOCAL DEFAULT +4 -.* SECTION LOCAL DEFAULT +5 -.* SECTION LOCAL DEFAULT +6 -.* SECTION LOCAL DEFAULT +7 -.* SECTION LOCAL DEFAULT +8 -.* SECTION LOCAL DEFAULT +9 -.* SECTION LOCAL DEFAULT +10 -.* SECTION LOCAL DEFAULT +11 -.* SECTION LOCAL DEFAULT +12 -.* TLS +LOCAL DEFAULT +9 sl1 -.* TLS +LOCAL DEFAULT +9 sl2 -.* TLS +LOCAL DEFAULT +9 sl3 -.* TLS +LOCAL DEFAULT +9 sl4 -.* TLS +LOCAL DEFAULT +9 sl5 -.* TLS +LOCAL DEFAULT +9 sl6 -.* TLS +LOCAL DEFAULT +9 sl7 -.* TLS +LOCAL DEFAULT +9 sl8 -.* TLS +LOCAL DEFAULT +10 bl1 -.* TLS +LOCAL DEFAULT +10 bl2 -.* TLS +LOCAL DEFAULT +10 bl3 -.* TLS +LOCAL DEFAULT +10 bl4 -.* TLS +LOCAL DEFAULT +10 bl5 -.* TLS +LOCAL DEFAULT +10 bl6 -.* TLS +LOCAL DEFAULT +10 bl7 -.* TLS +LOCAL DEFAULT +10 bl8 -.* OBJECT LOCAL HIDDEN +11 _DYNAMIC -.* OBJECT LOCAL HIDDEN +12 _GLOBAL_OFFSET_TABLE_ -.* TLS +GLOBAL DEFAULT UND sG3 -.* TLS +GLOBAL DEFAULT +9 sg8 -.* TLS +GLOBAL DEFAULT +10 bg8 -.* TLS +GLOBAL DEFAULT +10 bg6 -.* TLS +GLOBAL DEFAULT +10 bg3 -.* TLS +GLOBAL DEFAULT +9 sg3 -.* TLS +GLOBAL HIDDEN +9 sh3 -.* TLS +GLOBAL DEFAULT UND sG2 -.* TLS +GLOBAL DEFAULT +9 sg4 -.* TLS +GLOBAL DEFAULT +9 sg5 -.* TLS +GLOBAL DEFAULT +10 bg5 -.* TLS +GLOBAL HIDDEN +9 sh7 -.* TLS +GLOBAL HIDDEN +9 sh8 -.* FUNC +GLOBAL DEFAULT UND __tls_get_offset -.* TLS +GLOBAL DEFAULT +9 sg1 -.* FUNC +GLOBAL DEFAULT +8 _start -.* TLS +GLOBAL HIDDEN +9 sh4 -.* TLS +GLOBAL DEFAULT +10 bg7 -.* TLS +GLOBAL HIDDEN +9 sh5 -.* NOTYPE GLOBAL DEFAULT ABS __bss_start -.* TLS +GLOBAL DEFAULT UND sG6 -.* FUNC +GLOBAL DEFAULT +8 fn2 -.* TLS +GLOBAL DEFAULT +9 sg2 -.* TLS +GLOBAL DEFAULT UND sG1 -.* TLS +GLOBAL HIDDEN +9 sh1 -.* TLS +GLOBAL DEFAULT +9 sg6 -.* TLS +GLOBAL DEFAULT +9 sg7 -.* NOTYPE GLOBAL DEFAULT ABS _edata -.* NOTYPE GLOBAL DEFAULT ABS _end -.* TLS +GLOBAL HIDDEN +9 sh2 -.* TLS +GLOBAL HIDDEN +9 sh6 -.* TLS +GLOBAL DEFAULT +10 bg2 -.* TLS +GLOBAL DEFAULT +10 bg1 -.* TLS +GLOBAL DEFAULT +10 bg4 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* NOTYPE +LOCAL +DEFAULT +UND +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +12 +.* TLS +LOCAL +DEFAULT +9 sl1 +.* TLS +LOCAL +DEFAULT +9 sl2 +.* TLS +LOCAL +DEFAULT +9 sl3 +.* TLS +LOCAL +DEFAULT +9 sl4 +.* TLS +LOCAL +DEFAULT +9 sl5 +.* TLS +LOCAL +DEFAULT +9 sl6 +.* TLS +LOCAL +DEFAULT +9 sl7 +.* TLS +LOCAL +DEFAULT +9 sl8 +.* TLS +LOCAL +DEFAULT +10 bl1 +.* TLS +LOCAL +DEFAULT +10 bl2 +.* TLS +LOCAL +DEFAULT +10 bl3 +.* TLS +LOCAL +DEFAULT +10 bl4 +.* TLS +LOCAL +DEFAULT +10 bl5 +.* TLS +LOCAL +DEFAULT +10 bl6 +.* TLS +LOCAL +DEFAULT +10 bl7 +.* TLS +LOCAL +DEFAULT +10 bl8 +.* OBJECT +LOCAL +HIDDEN +11 _DYNAMIC +.* OBJECT +LOCAL +HIDDEN +12 _GLOBAL_OFFSET_TABLE_ +.* TLS +GLOBAL +DEFAULT +UND sG3 +.* TLS +GLOBAL +DEFAULT +9 sg8 +.* TLS +GLOBAL +DEFAULT +10 bg8 +.* TLS +GLOBAL +DEFAULT +10 bg6 +.* TLS +GLOBAL +DEFAULT +10 bg3 +.* TLS +GLOBAL +DEFAULT +9 sg3 +.* TLS +GLOBAL +HIDDEN +9 sh3 +.* TLS +GLOBAL +DEFAULT +UND sG2 +.* TLS +GLOBAL +DEFAULT +9 sg4 +.* TLS +GLOBAL +DEFAULT +9 sg5 +.* TLS +GLOBAL +DEFAULT +10 bg5 +.* TLS +GLOBAL +HIDDEN +9 sh7 +.* TLS +GLOBAL +HIDDEN +9 sh8 +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_offset +.* TLS +GLOBAL +DEFAULT +9 sg1 +.* FUNC +GLOBAL +DEFAULT +8 _start +.* TLS +GLOBAL +HIDDEN +9 sh4 +.* TLS +GLOBAL +DEFAULT +10 bg7 +.* TLS +GLOBAL +HIDDEN +9 sh5 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sG6 +.* FUNC +GLOBAL +DEFAULT +8 fn2 +.* TLS +GLOBAL +DEFAULT +9 sg2 +.* TLS +GLOBAL +DEFAULT +UND sG1 +.* TLS +GLOBAL +HIDDEN +9 sh1 +.* TLS +GLOBAL +DEFAULT +9 sg6 +.* TLS +GLOBAL +DEFAULT +9 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +HIDDEN +9 sh2 +.* TLS +GLOBAL +HIDDEN +9 sh6 +.* TLS +GLOBAL +DEFAULT +10 bg2 +.* TLS +GLOBAL +DEFAULT +10 bg1 +.* TLS +GLOBAL +DEFAULT +10 bg4 diff --git a/ld/testsuite/ld-s390/tlsbin_64.rd b/ld/testsuite/ld-s390/tlsbin_64.rd index 62b240b..b2c0987 100644 --- a/ld/testsuite/ld-s390/tlsbin_64.rd +++ b/ld/testsuite/ld-s390/tlsbin_64.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0 +\[[ 0-9]+\] .interp .* +\[[ 0-9]+\] .hash .* @@ -35,23 +35,23 @@ Entry point 0x[0-9a-f]+ There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - PHDR +0x0+40 0x0+80000040 0x0+80000040 0x0+150 0x0+150 R E 0x8 - INTERP +0x0+190 0x0+80000190 0x0+80000190 0x0+11 0x0+11 R +0x1 + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +PHDR +0x0+40 0x0+80000040 0x0+80000040 0x0+150 0x0+150 R E 0x8 + +INTERP +0x0+190 0x0+80000190 0x0+80000190 0x0+11 0x0+11 R +0x1 .*Requesting program interpreter.* - LOAD .* R E 0x1000 - LOAD .* RW 0x1000 - DYNAMIC .* RW 0x8 - TLS .* 0x0+60 0x0+a0 R +0x20 + +LOAD .* R E 0x1000 + +LOAD .* RW +0x1000 + +DYNAMIC .* RW +0x8 + +TLS .* 0x0+60 0x0+a0 R +0x20 Section to Segment mapping: - Segment Sections... - 00 * - 01 +.interp * - 02 +.interp .hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * - 03 +.tdata .dynamic .got * - 04 +.dynamic * - 05 +.tdata .tbss * + +Segment Sections... + +00 * + +01 +.interp * + +02 +.interp .hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * + +03 +.tdata .dynamic .got * + +04 +.dynamic * + +05 +.tdata .tbss * Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries: +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend @@ -65,32 +65,32 @@ Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: [0-9a-f ]+R_390_JMP_SLOT[0-9a-f ]+__tls_get_offset \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* TLS +GLOBAL DEFAULT +UND sG3 -.* TLS +GLOBAL DEFAULT +UND sG2 -.* FUNC +GLOBAL DEFAULT +UND __tls_get_offset -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +UND sG6 -.* TLS +GLOBAL DEFAULT +UND sG1 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +UND sG3 +.* TLS +GLOBAL +DEFAULT +UND sG2 +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_offset +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sG6 +.* TLS +GLOBAL +DEFAULT +UND sG1 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND -.* SECTION LOCAL +DEFAULT +1 -.* SECTION LOCAL +DEFAULT +2 -.* SECTION LOCAL +DEFAULT +3 -.* SECTION LOCAL +DEFAULT +4 -.* SECTION LOCAL +DEFAULT +5 -.* SECTION LOCAL +DEFAULT +6 -.* SECTION LOCAL +DEFAULT +7 -.* SECTION LOCAL +DEFAULT +8 -.* SECTION LOCAL +DEFAULT +9 -.* SECTION LOCAL +DEFAULT +10 -.* SECTION LOCAL +DEFAULT +11 -.* SECTION LOCAL +DEFAULT +12 +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* SECTION +LOCAL +DEFAULT +12 .* TLS +LOCAL +DEFAULT +9 sl1 .* TLS +LOCAL +DEFAULT +9 sl2 .* TLS +LOCAL +DEFAULT +9 sl3 @@ -109,37 +109,37 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +DEFAULT +10 bl8 .* OBJECT +LOCAL +HIDDEN +11 _DYNAMIC .* OBJECT +LOCAL +HIDDEN +12 _GLOBAL_OFFSET_TABLE_ -.* TLS +GLOBAL DEFAULT +UND sG3 -.* TLS +GLOBAL DEFAULT +9 sg8 -.* TLS +GLOBAL DEFAULT +10 bg8 -.* TLS +GLOBAL DEFAULT +10 bg6 -.* TLS +GLOBAL DEFAULT +10 bg3 -.* TLS +GLOBAL DEFAULT +9 sg3 -.* TLS +GLOBAL HIDDEN +9 sh3 -.* TLS +GLOBAL DEFAULT +UND sG2 -.* TLS +GLOBAL DEFAULT +9 sg4 -.* TLS +GLOBAL DEFAULT +9 sg5 -.* TLS +GLOBAL DEFAULT +10 bg5 -.* TLS +GLOBAL HIDDEN +9 sh7 -.* TLS +GLOBAL HIDDEN +9 sh8 -.* FUNC +GLOBAL DEFAULT +UND __tls_get_offset -.* TLS +GLOBAL DEFAULT +9 sg1 -.* FUNC +GLOBAL DEFAULT +8 _start -.* TLS +GLOBAL HIDDEN +9 sh4 -.* TLS +GLOBAL DEFAULT +10 bg7 -.* TLS +GLOBAL HIDDEN +9 sh5 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +UND sG6 -.* FUNC +GLOBAL DEFAULT +8 fn2 -.* TLS +GLOBAL DEFAULT +9 sg2 -.* TLS +GLOBAL DEFAULT +UND sG1 -.* TLS +GLOBAL HIDDEN +9 sh1 -.* TLS +GLOBAL DEFAULT +9 sg6 -.* TLS +GLOBAL DEFAULT +9 sg7 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL HIDDEN +9 sh2 -.* TLS +GLOBAL HIDDEN +9 sh6 -.* TLS +GLOBAL DEFAULT +10 bg2 -.* TLS +GLOBAL DEFAULT +10 bg1 -.* TLS +GLOBAL DEFAULT +10 bg4 +.* TLS +GLOBAL +DEFAULT +UND sG3 +.* TLS +GLOBAL +DEFAULT +9 sg8 +.* TLS +GLOBAL +DEFAULT +10 bg8 +.* TLS +GLOBAL +DEFAULT +10 bg6 +.* TLS +GLOBAL +DEFAULT +10 bg3 +.* TLS +GLOBAL +DEFAULT +9 sg3 +.* TLS +GLOBAL +HIDDEN +9 sh3 +.* TLS +GLOBAL +DEFAULT +UND sG2 +.* TLS +GLOBAL +DEFAULT +9 sg4 +.* TLS +GLOBAL +DEFAULT +9 sg5 +.* TLS +GLOBAL +DEFAULT +10 bg5 +.* TLS +GLOBAL +HIDDEN +9 sh7 +.* TLS +GLOBAL +HIDDEN +9 sh8 +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_offset +.* TLS +GLOBAL +DEFAULT +9 sg1 +.* FUNC +GLOBAL +DEFAULT +8 _start +.* TLS +GLOBAL +HIDDEN +9 sh4 +.* TLS +GLOBAL +DEFAULT +10 bg7 +.* TLS +GLOBAL +HIDDEN +9 sh5 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sG6 +.* FUNC +GLOBAL +DEFAULT +8 fn2 +.* TLS +GLOBAL +DEFAULT +9 sg2 +.* TLS +GLOBAL +DEFAULT +UND sG1 +.* TLS +GLOBAL +HIDDEN +9 sh1 +.* TLS +GLOBAL +DEFAULT +9 sg6 +.* TLS +GLOBAL +DEFAULT +9 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +HIDDEN +9 sh2 +.* TLS +GLOBAL +HIDDEN +9 sh6 +.* TLS +GLOBAL +DEFAULT +10 bg2 +.* TLS +GLOBAL +DEFAULT +10 bg1 +.* TLS +GLOBAL +DEFAULT +10 bg4 diff --git a/ld/testsuite/ld-s390/tlspic.rd b/ld/testsuite/ld-s390/tlspic.rd index 1e79a2e..6cee8ca 100644 --- a/ld/testsuite/ld-s390/tlspic.rd +++ b/ld/testsuite/ld-s390/tlspic.rd @@ -8,8 +8,8 @@ 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-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 0 + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al + +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0 +\[[ 0-9]+\] .hash .* +\[[ 0-9]+\] .dynsym .* +\[[ 0-9]+\] .dynstr .* @@ -17,8 +17,8 @@ Section Headers: +\[[ 0-9]+\] .rela.plt .* +\[[ 0-9]+\] .plt .* +\[[ 0-9]+\] .text +PROGBITS .* - +\[[ 0-9]+\] .tdata +PROGBITS .* 0+60 00 WAT 0 +0 32 - +\[[ 0-9]+\] .tbss +NOBITS .* 0+20 00 WAT 0 +0 1 + +\[[ 0-9]+\] .tdata +PROGBITS .* 0+60 00 WAT +0 +0 32 + +\[[ 0-9]+\] .tbss +NOBITS .* 0+20 00 WAT +0 +0 +1 +\[[ 0-9]+\] .dynamic +DYNAMIC .* +\[[ 0-9]+\] .got +PROGBITS .* +\[[ 0-9]+\] .shstrtab .* @@ -34,21 +34,21 @@ Entry point 0x[0-9a-f]+ There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz MemSiz Flg Align - LOAD .* R E 0x1000 - LOAD .* RW 0x1000 - DYNAMIC .* RW 0x4 - TLS .* 0x0+60 0x0+80 R +0x20 + +Type +Offset +VirtAddr +PhysAddr +FileSiz MemSiz +Flg Align + +LOAD .* R E 0x1000 + +LOAD .* RW +0x1000 + +DYNAMIC .* RW +0x4 + +TLS .* 0x0+60 0x0+80 R +0x20 Section to Segment mapping: - Segment Sections... + +Segment Sections... +00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text +01 +.tdata .dynamic .got +02 +.dynamic +03 +.tdata .tbss Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: - Offset +Info +Type +Sym.Value Sym. Name \+ Addend + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend [0-9a-f ]+R_390_TLS_DTPMOD +0+ [0-9a-f ]+R_390_TLS_TPOFF +0+24 [0-9a-f ]+R_390_TLS_TPOFF +0+30 @@ -60,83 +60,83 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: [0-9a-f ]+R_390_TLS_DTPMOD +0+ [0-9a-f ]+R_390_TLS_TPOFF +0+44 [0-9a-f ]+R_390_TLS_TPOFF +0+10 +sg5 \+ 0 -[0-9a-f ]+R_390_TLS_DTPMOD 0+ +sg1 \+ 0 -[0-9a-f ]+R_390_TLS_DTPOFF 0+ +sg1 \+ 0 +[0-9a-f ]+R_390_TLS_DTPMOD +0+ +sg1 \+ 0 +[0-9a-f ]+R_390_TLS_DTPOFF +0+ +sg1 \+ 0 [0-9a-f ]+R_390_TLS_TPOFF +0+4 +sg2 \+ 0 Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: - Offset +Info +Type +Sym.Value Sym. Name \+ Addend + Offset +Info +Type +Sym.Value +Sym. Name \+ Addend [0-9a-f ]+R_390_JMP_SLOT +0+ +__tls_get_offset \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value Size Type +Bind +Vis +Ndx Name -.* NOTYPE LOCAL DEFAULT UND -.* SECTION LOCAL DEFAULT +7 -.* SECTION LOCAL DEFAULT +8 -.* TLS +GLOBAL DEFAULT +8 sg8 -.* TLS +GLOBAL DEFAULT +8 sg3 -.* TLS +GLOBAL DEFAULT +8 sg4 -.* TLS +GLOBAL DEFAULT +8 sg5 -.* NOTYPE GLOBAL DEFAULT UND __tls_get_offset -.* TLS +GLOBAL DEFAULT +8 sg1 -.* FUNC +GLOBAL DEFAULT +7 fn1 -.* NOTYPE GLOBAL DEFAULT ABS __bss_start -.* TLS +GLOBAL DEFAULT +8 sg2 -.* TLS +GLOBAL DEFAULT +8 sg6 -.* TLS +GLOBAL DEFAULT +8 sg7 -.* NOTYPE GLOBAL DEFAULT ABS _edata -.* NOTYPE GLOBAL DEFAULT ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* NOTYPE +LOCAL +DEFAULT +UND +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* TLS +GLOBAL +DEFAULT +8 sg8 +.* TLS +GLOBAL +DEFAULT +8 sg3 +.* TLS +GLOBAL +DEFAULT +8 sg4 +.* TLS +GLOBAL +DEFAULT +8 sg5 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_offset +.* TLS +GLOBAL +DEFAULT +8 sg1 +.* FUNC +GLOBAL +DEFAULT +7 fn1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +8 sg2 +.* TLS +GLOBAL +DEFAULT +8 sg6 +.* TLS +GLOBAL +DEFAULT +8 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value Size Type +Bind +Vis +Ndx Name -.* NOTYPE LOCAL DEFAULT UND -.* SECTION LOCAL DEFAULT +1 -.* SECTION LOCAL DEFAULT +2 -.* SECTION LOCAL DEFAULT +3 -.* SECTION LOCAL DEFAULT +4 -.* SECTION LOCAL DEFAULT +5 -.* SECTION LOCAL DEFAULT +6 -.* SECTION LOCAL DEFAULT +7 -.* SECTION LOCAL DEFAULT +8 -.* SECTION LOCAL DEFAULT +9 -.* SECTION LOCAL DEFAULT +10 -.* SECTION LOCAL DEFAULT +11 -.* TLS +LOCAL DEFAULT +8 sl1 -.* TLS +LOCAL DEFAULT +8 sl2 -.* TLS +LOCAL DEFAULT +8 sl3 -.* TLS +LOCAL DEFAULT +8 sl4 -.* TLS +LOCAL DEFAULT +8 sl5 -.* TLS +LOCAL DEFAULT +8 sl6 -.* TLS +LOCAL DEFAULT +8 sl7 -.* TLS +LOCAL DEFAULT +8 sl8 -.* TLS +LOCAL HIDDEN +9 sH1 -.* OBJECT LOCAL HIDDEN ABS _DYNAMIC -.* TLS +LOCAL HIDDEN +8 sh3 -.* TLS +LOCAL HIDDEN +9 sH2 -.* TLS +LOCAL HIDDEN +9 sH7 -.* TLS +LOCAL HIDDEN +8 sh7 -.* TLS +LOCAL HIDDEN +8 sh8 -.* TLS +LOCAL HIDDEN +9 sH4 -.* TLS +LOCAL HIDDEN +8 sh4 -.* TLS +LOCAL HIDDEN +9 sH3 -.* TLS +LOCAL HIDDEN +8 sh5 -.* TLS +LOCAL HIDDEN +9 sH5 -.* TLS +LOCAL HIDDEN +9 sH6 -.* TLS +LOCAL HIDDEN +9 sH8 -.* TLS +LOCAL HIDDEN +8 sh1 -.* OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ -.* TLS +LOCAL HIDDEN +8 sh2 -.* TLS +LOCAL HIDDEN +8 sh6 -.* TLS +GLOBAL DEFAULT +8 sg8 -.* TLS +GLOBAL DEFAULT +8 sg3 -.* TLS +GLOBAL DEFAULT +8 sg4 -.* TLS +GLOBAL DEFAULT +8 sg5 -.* NOTYPE GLOBAL DEFAULT UND __tls_get_offset -.* TLS +GLOBAL DEFAULT +8 sg1 -.* FUNC +GLOBAL DEFAULT +7 fn1 -.* NOTYPE GLOBAL DEFAULT ABS __bss_start -.* TLS +GLOBAL DEFAULT +8 sg2 -.* TLS +GLOBAL DEFAULT +8 sg6 -.* TLS +GLOBAL DEFAULT +8 sg7 -.* NOTYPE GLOBAL DEFAULT ABS _edata -.* NOTYPE GLOBAL DEFAULT ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* NOTYPE +LOCAL +DEFAULT +UND +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* TLS +LOCAL +DEFAULT +8 sl1 +.* TLS +LOCAL +DEFAULT +8 sl2 +.* TLS +LOCAL +DEFAULT +8 sl3 +.* TLS +LOCAL +DEFAULT +8 sl4 +.* TLS +LOCAL +DEFAULT +8 sl5 +.* TLS +LOCAL +DEFAULT +8 sl6 +.* TLS +LOCAL +DEFAULT +8 sl7 +.* TLS +LOCAL +DEFAULT +8 sl8 +.* TLS +LOCAL +HIDDEN +9 sH1 +.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC +.* TLS +LOCAL +HIDDEN +8 sh3 +.* TLS +LOCAL +HIDDEN +9 sH2 +.* TLS +LOCAL +HIDDEN +9 sH7 +.* TLS +LOCAL +HIDDEN +8 sh7 +.* TLS +LOCAL +HIDDEN +8 sh8 +.* TLS +LOCAL +HIDDEN +9 sH4 +.* TLS +LOCAL +HIDDEN +8 sh4 +.* TLS +LOCAL +HIDDEN +9 sH3 +.* TLS +LOCAL +HIDDEN +8 sh5 +.* TLS +LOCAL +HIDDEN +9 sH5 +.* TLS +LOCAL +HIDDEN +9 sH6 +.* TLS +LOCAL +HIDDEN +9 sH8 +.* TLS +LOCAL +HIDDEN +8 sh1 +.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ +.* TLS +LOCAL +HIDDEN +8 sh2 +.* TLS +LOCAL +HIDDEN +8 sh6 +.* TLS +GLOBAL +DEFAULT +8 sg8 +.* TLS +GLOBAL +DEFAULT +8 sg3 +.* TLS +GLOBAL +DEFAULT +8 sg4 +.* TLS +GLOBAL +DEFAULT +8 sg5 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_offset +.* TLS +GLOBAL +DEFAULT +8 sg1 +.* FUNC +GLOBAL +DEFAULT +7 fn1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +8 sg2 +.* TLS +GLOBAL +DEFAULT +8 sg6 +.* TLS +GLOBAL +DEFAULT +8 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end diff --git a/ld/testsuite/ld-s390/tlspic_64.rd b/ld/testsuite/ld-s390/tlspic_64.rd index 62c1a76..45a2691 100644 --- a/ld/testsuite/ld-s390/tlspic_64.rd +++ b/ld/testsuite/ld-s390/tlspic_64.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 +\[[ 0-9]+\] .hash .* +\[[ 0-9]+\] .dynsym .* @@ -34,21 +34,21 @@ Entry point 0x[0-9a-f]+ There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - LOAD .* R E 0x1000 - LOAD .* RW +0x1000 - DYNAMIC .* RW +0x8 - TLS .* 0x0+60 0x0+80 R +0x20 + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +LOAD .* R E 0x1000 + +LOAD .* RW +0x1000 + +DYNAMIC .* RW +0x8 + +TLS .* 0x0+60 0x0+80 R +0x20 Section to Segment mapping: - Segment Sections... - 00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * - 01 +.tdata .dynamic .got * - 02 +.dynamic * - 03 +.tdata .tbss * + +Segment Sections... + +00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * + +01 +.tdata .dynamic .got * + +02 +.dynamic * + +03 +.tdata .tbss * Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: - +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend + +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend [0-9a-f ]+R_390_TLS_DTPMOD +0+ [0-9a-f ]+R_390_TLS_TPOFF +0+24 [0-9a-f ]+R_390_TLS_TPOFF +0+30 @@ -65,78 +65,78 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: [0-9a-f ]+R_390_TLS_TPOFF +0+4 sg2 \+ 0 Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: - +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend + +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend [0-9a-f ]+R_390_JMP_SLOT +0+ __tls_get_offset \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -.* NOTYPE LOCAL DEFAULT UND -.* SECTION LOCAL DEFAULT +7 -.* SECTION LOCAL DEFAULT +8 -.* TLS +GLOBAL DEFAULT +8 sg8 -.* TLS +GLOBAL DEFAULT +8 sg3 -.* TLS +GLOBAL DEFAULT +8 sg4 -.* TLS +GLOBAL DEFAULT +8 sg5 -.* NOTYPE GLOBAL DEFAULT UND __tls_get_offset -.* TLS +GLOBAL DEFAULT +8 sg1 -.* FUNC +GLOBAL DEFAULT +7 fn1 -.* NOTYPE GLOBAL DEFAULT ABS __bss_start -.* TLS +GLOBAL DEFAULT +8 sg2 -.* TLS +GLOBAL DEFAULT +8 sg6 -.* TLS +GLOBAL DEFAULT +8 sg7 -.* NOTYPE GLOBAL DEFAULT ABS _edata -.* NOTYPE GLOBAL DEFAULT ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* NOTYPE +LOCAL +DEFAULT +UND +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* TLS +GLOBAL +DEFAULT +8 sg8 +.* TLS +GLOBAL +DEFAULT +8 sg3 +.* TLS +GLOBAL +DEFAULT +8 sg4 +.* TLS +GLOBAL +DEFAULT +8 sg5 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_offset +.* TLS +GLOBAL +DEFAULT +8 sg1 +.* FUNC +GLOBAL +DEFAULT +7 fn1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +8 sg2 +.* TLS +GLOBAL +DEFAULT +8 sg6 +.* TLS +GLOBAL +DEFAULT +8 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -.* NOTYPE LOCAL DEFAULT UND -.* SECTION LOCAL DEFAULT +1 -.* SECTION LOCAL DEFAULT +2 -.* SECTION LOCAL DEFAULT +3 -.* SECTION LOCAL DEFAULT +4 -.* SECTION LOCAL DEFAULT +5 -.* SECTION LOCAL DEFAULT +6 -.* SECTION LOCAL DEFAULT +7 -.* SECTION LOCAL DEFAULT +8 -.* SECTION LOCAL DEFAULT +9 -.* SECTION LOCAL DEFAULT +10 -.* SECTION LOCAL DEFAULT +11 -.* TLS +LOCAL DEFAULT +8 sl1 -.* TLS +LOCAL DEFAULT +8 sl2 -.* TLS +LOCAL DEFAULT +8 sl3 -.* TLS +LOCAL DEFAULT +8 sl4 -.* TLS +LOCAL DEFAULT +8 sl5 -.* TLS +LOCAL DEFAULT +8 sl6 -.* TLS +LOCAL DEFAULT +8 sl7 -.* TLS +LOCAL DEFAULT +8 sl8 -.* TLS +LOCAL HIDDEN +9 sH1 -.* OBJECT LOCAL HIDDEN ABS _DYNAMIC -.* TLS +LOCAL HIDDEN +8 sh3 -.* TLS +LOCAL HIDDEN +9 sH2 -.* TLS +LOCAL HIDDEN +9 sH7 -.* TLS +LOCAL HIDDEN +8 sh7 -.* TLS +LOCAL HIDDEN +8 sh8 -.* TLS +LOCAL HIDDEN +9 sH4 -.* TLS +LOCAL HIDDEN +8 sh4 -.* TLS +LOCAL HIDDEN +9 sH3 -.* TLS +LOCAL HIDDEN +8 sh5 -.* TLS +LOCAL HIDDEN +9 sH5 -.* TLS +LOCAL HIDDEN +9 sH6 -.* TLS +LOCAL HIDDEN +9 sH8 -.* TLS +LOCAL HIDDEN +8 sh1 -.* OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ -.* TLS +LOCAL HIDDEN +8 sh2 -.* TLS +LOCAL HIDDEN +8 sh6 -.* TLS +GLOBAL DEFAULT +8 sg8 -.* TLS +GLOBAL DEFAULT +8 sg3 -.* TLS +GLOBAL DEFAULT +8 sg4 -.* TLS +GLOBAL DEFAULT +8 sg5 -.* NOTYPE GLOBAL DEFAULT UND __tls_get_offset -.* TLS +GLOBAL DEFAULT +8 sg1 -.* FUNC +GLOBAL DEFAULT +7 fn1 -.* NOTYPE GLOBAL DEFAULT ABS __bss_start -.* TLS +GLOBAL DEFAULT +8 sg2 -.* TLS +GLOBAL DEFAULT +8 sg6 -.* TLS +GLOBAL DEFAULT +8 sg7 -.* NOTYPE GLOBAL DEFAULT ABS _edata -.* NOTYPE GLOBAL DEFAULT ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* NOTYPE +LOCAL +DEFAULT +UND +.* SECTION +LOCAL +DEFAULT +1 +.* SECTION +LOCAL +DEFAULT +2 +.* SECTION +LOCAL +DEFAULT +3 +.* SECTION +LOCAL +DEFAULT +4 +.* SECTION +LOCAL +DEFAULT +5 +.* SECTION +LOCAL +DEFAULT +6 +.* SECTION +LOCAL +DEFAULT +7 +.* SECTION +LOCAL +DEFAULT +8 +.* SECTION +LOCAL +DEFAULT +9 +.* SECTION +LOCAL +DEFAULT +10 +.* SECTION +LOCAL +DEFAULT +11 +.* TLS +LOCAL +DEFAULT +8 sl1 +.* TLS +LOCAL +DEFAULT +8 sl2 +.* TLS +LOCAL +DEFAULT +8 sl3 +.* TLS +LOCAL +DEFAULT +8 sl4 +.* TLS +LOCAL +DEFAULT +8 sl5 +.* TLS +LOCAL +DEFAULT +8 sl6 +.* TLS +LOCAL +DEFAULT +8 sl7 +.* TLS +LOCAL +DEFAULT +8 sl8 +.* TLS +LOCAL +HIDDEN +9 sH1 +.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC +.* TLS +LOCAL +HIDDEN +8 sh3 +.* TLS +LOCAL +HIDDEN +9 sH2 +.* TLS +LOCAL +HIDDEN +9 sH7 +.* TLS +LOCAL +HIDDEN +8 sh7 +.* TLS +LOCAL +HIDDEN +8 sh8 +.* TLS +LOCAL +HIDDEN +9 sH4 +.* TLS +LOCAL +HIDDEN +8 sh4 +.* TLS +LOCAL +HIDDEN +9 sH3 +.* TLS +LOCAL +HIDDEN +8 sh5 +.* TLS +LOCAL +HIDDEN +9 sH5 +.* TLS +LOCAL +HIDDEN +9 sH6 +.* TLS +LOCAL +HIDDEN +9 sH8 +.* TLS +LOCAL +HIDDEN +8 sh1 +.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ +.* TLS +LOCAL +HIDDEN +8 sh2 +.* TLS +LOCAL +HIDDEN +8 sh6 +.* TLS +GLOBAL +DEFAULT +8 sg8 +.* TLS +GLOBAL +DEFAULT +8 sg3 +.* TLS +GLOBAL +DEFAULT +8 sg4 +.* TLS +GLOBAL +DEFAULT +8 sg5 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_offset +.* TLS +GLOBAL +DEFAULT +8 sg1 +.* FUNC +GLOBAL +DEFAULT +7 fn1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +8 sg2 +.* TLS +GLOBAL +DEFAULT +8 sg6 +.* TLS +GLOBAL +DEFAULT +8 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end diff --git a/ld/testsuite/ld-sh/sh64/crange1.rd b/ld/testsuite/ld-sh/sh64/crange1.rd index aa080dc..7928ad4 100644 --- a/ld/testsuite/ld-sh/sh64/crange1.rd +++ b/ld/testsuite/ld-sh/sh64/crange1.rd @@ -1,40 +1,40 @@ .* Section Headers: - \[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al - \[ 0\] NULL 00000000 000000 000000 00 0 0 0 - \[ 1\] \.init PROGBITS 00001000 000080 000004 00 AXp 0 0 4 - \[ 2\] \.text PROGBITS 00001004 000084 000018 00 AXp 0 0 4 - \[ 3\] \.stack PROGBITS 00080000 000100 000004 00 WA 0 0 1 - \[ 4\] \.cranges LOUSER\+1 00000000 000104 00001e 00 W 0 0 1 - \[ 5\] \.shstrtab STRTAB .* - \[ 6\] \.symtab SYMTAB .* - \[ 7\] \.strtab STRTAB .* + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al + +\[ 0\] +NULL +00000000 000000 000000 00 +0 +0 +0 + +\[ 1\] \.init +PROGBITS +00001000 000080 000004 00 AXp +0 +0 +4 + +\[ 2\] \.text +PROGBITS +00001004 000084 000018 00 AXp +0 +0 +4 + +\[ 3\] \.stack +PROGBITS +00080000 000100 000004 00 +WA +0 +0 +1 + +\[ 4\] \.cranges +LOUSER\+1 +00000000 000104 00001e 00 +W +0 +0 +1 + +\[ 5\] \.shstrtab +STRTAB +.* + +\[ 6\] \.symtab +SYMTAB +.* + +\[ 7\] \.strtab +STRTAB +.* Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) There are no relocations in this file\. Symbol table '\.symtab' contains [0-9]+ entries: - Num: Value Size Type Bind Vis Ndx Name -.*: 00000000 0 NOTYPE LOCAL DEFAULT UND -.*: 00001000 0 SECTION LOCAL DEFAULT 1 -.*: 00001004 0 SECTION LOCAL DEFAULT 2 -.*: 00080000 0 SECTION LOCAL DEFAULT 3 -.*: 00000000 0 SECTION LOCAL DEFAULT 4 -.*: 00001004 0 NOTYPE LOCAL DEFAULT \[<other>: 4\] 2 start2 -.*: 000010a0 0 NOTYPE GLOBAL DEFAULT .* ___dtors -.*: 000010a0 0 NOTYPE GLOBAL DEFAULT ABS __bss_start -.*: 000010a0 0 NOTYPE GLOBAL DEFAULT .* ___ctors_end -.*: 00001004 0 NOTYPE GLOBAL DEFAULT 2 diversion2 -.*: 000010a0 0 NOTYPE GLOBAL DEFAULT .* ___ctors -.*: 000010a0 0 NOTYPE GLOBAL DEFAULT ABS _edata -.*: 000010a0 0 NOTYPE GLOBAL DEFAULT ABS _end -.*: 00001000 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 start -.*: 00080000 0 NOTYPE GLOBAL DEFAULT 3 _stack -.*: 000010a0 0 NOTYPE GLOBAL DEFAULT .* ___dtors_end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.*: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND +.*: 00001000 +0 +SECTION +LOCAL +DEFAULT +1 +.*: 00001004 +0 +SECTION +LOCAL +DEFAULT +2 +.*: 00080000 +0 +SECTION +LOCAL +DEFAULT +3 +.*: 00000000 +0 +SECTION +LOCAL +DEFAULT +4 +.*: 00001004 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2 +.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors +.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors_end +.*: 00001004 +0 +NOTYPE +GLOBAL +DEFAULT +2 diversion2 +.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors +.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata +.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end +.*: 00001000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start +.*: 00080000 +0 +NOTYPE +GLOBAL +DEFAULT +3 _stack +.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors_end Hex dump of section '\.init': 0x00001000 6ff0fff0 .* diff --git a/ld/testsuite/ld-sh/sh64/crange2.rd b/ld/testsuite/ld-sh/sh64/crange2.rd index 9690276..bd2e44f 100644 --- a/ld/testsuite/ld-sh/sh64/crange2.rd +++ b/ld/testsuite/ld-sh/sh64/crange2.rd @@ -1,44 +1,44 @@ .* Section Headers: - \[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al - \[ 0\] NULL 00000000 000000 000000 00 0 0 0 - \[ 1\] \.init PROGBITS 00001000 000080 000004 00 AXp 0 0 4 - \[ 2\] \.text PROGBITS 00001004 000084 00005c 00 AXp 0 0 4 - \[ 3\] \.stack PROGBITS 00080000 000100 000004 00 WA 0 0 1 - \[ 4\] \.cranges LOUSER\+1 00000000 000104 000046 00 W 0 0 1 - \[ 5\] \.shstrtab STRTAB .* - \[ 6\] \.symtab SYMTAB .* - \[ 7\] \.strtab STRTAB .* + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al + +\[ 0\] +NULL +00000000 000000 000000 00 +0 +0 +0 + +\[ 1\] \.init +PROGBITS +00001000 000080 000004 00 AXp +0 +0 +4 + +\[ 2\] \.text +PROGBITS +00001004 000084 00005c 00 AXp +0 +0 +4 + +\[ 3\] \.stack +PROGBITS +00080000 000100 000004 00 +WA +0 +0 +1 + +\[ 4\] \.cranges +LOUSER\+1 +00000000 000104 000046 00 +W +0 +0 +1 + +\[ 5\] \.shstrtab +STRTAB +.* + +\[ 6\] \.symtab +SYMTAB +.* + +\[ 7\] \.strtab +STRTAB +.* Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) There are no relocations in this file\. Symbol table '\.symtab' contains [0-9]+ entries: - Num: Value Size Type Bind Vis Ndx Name -.*: 00000000 0 NOTYPE LOCAL DEFAULT UND -.*: 00001000 0 SECTION LOCAL DEFAULT 1 -.*: 00001004 0 SECTION LOCAL DEFAULT 2 -.*: 00080000 0 SECTION LOCAL DEFAULT 3 -.*: 00000000 0 SECTION LOCAL DEFAULT 4 -.*: 00001004 0 NOTYPE LOCAL DEFAULT \[<other>: 4\] 2 start2 -.*: 0000101c 0 NOTYPE LOCAL DEFAULT \[<other>: 4\] 2 sec1 -.*: 0000102c 0 NOTYPE LOCAL DEFAULT \[<other>: 4\] 2 sec2 -.*: 00001040 0 NOTYPE LOCAL DEFAULT 2 sec3 -.*: 00001048 0 NOTYPE LOCAL DEFAULT 2 sec4 -.*: 000010e0 0 NOTYPE GLOBAL DEFAULT .* ___dtors -.*: 000010e0 0 NOTYPE GLOBAL DEFAULT ABS __bss_start -.*: 000010e0 0 NOTYPE GLOBAL DEFAULT .* ___ctors_end -.*: 00001004 0 NOTYPE GLOBAL DEFAULT 2 diversion2 -.*: 000010e0 0 NOTYPE GLOBAL DEFAULT .* ___ctors -.*: 000010e0 0 NOTYPE GLOBAL DEFAULT ABS _edata -.*: 000010e0 0 NOTYPE GLOBAL DEFAULT ABS _end -.*: 00001000 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 start -.*: 00080000 0 NOTYPE GLOBAL DEFAULT 3 _stack -.*: 000010e0 0 NOTYPE GLOBAL DEFAULT .* ___dtors_end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.*: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND +.*: 00001000 +0 +SECTION +LOCAL +DEFAULT +1 +.*: 00001004 +0 +SECTION +LOCAL +DEFAULT +2 +.*: 00080000 +0 +SECTION +LOCAL +DEFAULT +3 +.*: 00000000 +0 +SECTION +LOCAL +DEFAULT +4 +.*: 00001004 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2 +.*: 0000101c +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 sec1 +.*: 0000102c +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 sec2 +.*: 00001040 +0 +NOTYPE +LOCAL +DEFAULT +2 sec3 +.*: 00001048 +0 +NOTYPE +LOCAL +DEFAULT +2 sec4 +.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors +.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors_end +.*: 00001004 +0 +NOTYPE +GLOBAL +DEFAULT +2 diversion2 +.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors +.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata +.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end +.*: 00001000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start +.*: 00080000 +0 +NOTYPE +GLOBAL +DEFAULT +3 _stack +.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors_end Hex dump of section '\.text': 0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 0000002a .* diff --git a/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd b/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd index 4d9197b..b17d79f 100644 --- a/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd +++ b/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd @@ -1,60 +1,60 @@ ELF Header: - Magic: 7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 - Class: ELF32 - Data: 2's complement, big endian - Version: 1 \(current\) - OS/ABI: UNIX - System V - ABI Version: 0 - Type: EXEC \(Executable file\) - Machine: Renesas / SuperH SH - Version: 0x1 - Entry point address: 0x10c4 - Start of program headers: 52 \(bytes into file\) - Start of section headers: 504 \(bytes into file\) - Flags: 0xa, sh5 - Size of this header: 52 \(bytes\) - Size of program headers: 32 \(bytes\) - Number of program headers: 2 - Size of section headers: 40 \(bytes\) - Number of section headers: 8 - Section header string table index: 5 + +Magic: +7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 + +Class: +ELF32 + +Data: +2's complement, big endian + +Version: +1 \(current\) + +OS/ABI: +UNIX - System V + +ABI Version: +0 + +Type: +EXEC \(Executable file\) + +Machine: +Renesas / SuperH SH + +Version: +0x1 + +Entry point address: +0x10c4 + +Start of program headers: +52 \(bytes into file\) + +Start of section headers: +504 \(bytes into file\) + +Flags: +0xa, sh5 + +Size of this header: +52 \(bytes\) + +Size of program headers: +32 \(bytes\) + +Number of program headers: +2 + +Size of section headers: +40 \(bytes\) + +Number of section headers: +8 + +Section header string table index: 5 Section Headers: - \[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al - \[ 0\] NULL 00000000 000000 000000 00 0 0 0 - \[ 1\] \.init PROGBITS 00001000 000080 000004 00 AXp 0 0 4 - \[ 2\] \.text PROGBITS 00001004 000084 0000d8 00 AXp 0 0 4 - \[ 3\] \.stack PROGBITS 00080000 000180 000004 00 WA 0 0 1 - \[ 4\] \.cranges LOUSER\+1 00000000 000184 00003c 00 W 0 0 1 - \[ 5\] \.shstrtab STRTAB .* - \[ 6\] \.symtab SYMTAB .* - \[ 7\] \.strtab STRTAB .* + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al + +\[ 0\] +NULL +00000000 000000 000000 00 +0 +0 +0 + +\[ 1\] \.init +PROGBITS +00001000 000080 000004 00 AXp +0 +0 +4 + +\[ 2\] \.text +PROGBITS +00001004 000084 0000d8 00 AXp +0 +0 +4 + +\[ 3\] \.stack +PROGBITS +00080000 000180 000004 00 +WA +0 +0 +1 + +\[ 4\] \.cranges +LOUSER\+1 +00000000 000184 00003c 00 +W +0 +0 +1 + +\[ 5\] \.shstrtab +STRTAB +.* + +\[ 6\] \.symtab +SYMTAB +.* + +\[ 7\] \.strtab +STRTAB +.* Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) Symbol table '\.symtab' contains [0-9]+ entries: - Num: Value Size Type Bind Vis Ndx Name -.*: 00000000 0 NOTYPE LOCAL DEFAULT UND -.*: 00001000 0 SECTION LOCAL DEFAULT 1 -.*: 00001004 0 SECTION LOCAL DEFAULT 2 -.*: 00080000 0 SECTION LOCAL DEFAULT 3 -.*: 00000000 0 SECTION LOCAL DEFAULT 4 -.*: 00001004 0 NOTYPE LOCAL DEFAULT 2 sec4 -.*: 000010a4 0 NOTYPE LOCAL DEFAULT \[<other>: 4\] 2 start2 -.*: 000010bc 0 NOTYPE LOCAL DEFAULT 2 sec3 -.*: 000010c4 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 2 diversion -.*: 00001160 0 NOTYPE GLOBAL DEFAULT .* ___dtors -.*: 00001160 0 NOTYPE GLOBAL DEFAULT ABS __bss_start -.*: 00001160 0 NOTYPE GLOBAL DEFAULT .* ___ctors_end -.*: 000010a4 0 NOTYPE GLOBAL DEFAULT 2 diversion2 -.*: 00001160 0 NOTYPE GLOBAL DEFAULT .* ___ctors -.*: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _edata -.*: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _end -.*: 00001000 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 start -.*: 00080000 0 NOTYPE GLOBAL DEFAULT 3 _stack -.*: 00001160 0 NOTYPE GLOBAL DEFAULT .* ___dtors_end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.*: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND +.*: 00001000 +0 +SECTION +LOCAL +DEFAULT +1 +.*: 00001004 +0 +SECTION +LOCAL +DEFAULT +2 +.*: 00080000 +0 +SECTION +LOCAL +DEFAULT +3 +.*: 00000000 +0 +SECTION +LOCAL +DEFAULT +4 +.*: 00001004 +0 +NOTYPE +LOCAL +DEFAULT +2 sec4 +.*: 000010a4 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2 +.*: 000010bc +0 +NOTYPE +LOCAL +DEFAULT +2 sec3 +.*: 000010c4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +2 diversion +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors_end +.*: 000010a4 +0 +NOTYPE +GLOBAL +DEFAULT +2 diversion2 +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end +.*: 00001000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start +.*: 00080000 +0 +NOTYPE +GLOBAL +DEFAULT +3 _stack +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors_end Hex dump of section '\.text': 0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .* diff --git a/ld/testsuite/ld-sh/sh64/crange3-media.rd b/ld/testsuite/ld-sh/sh64/crange3-media.rd index f1ba8e0..c38bf9a 100644 --- a/ld/testsuite/ld-sh/sh64/crange3-media.rd +++ b/ld/testsuite/ld-sh/sh64/crange3-media.rd @@ -1,60 +1,60 @@ ELF Header: - Magic: 7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 - Class: ELF32 - Data: 2's complement, big endian - Version: 1 \(current\) - OS/ABI: UNIX - System V - ABI Version: 0 - Type: EXEC \(Executable file\) - Machine: Renesas / SuperH SH - Version: 0x1 - Entry point address: 0x10a5 - Start of program headers: 52 \(bytes into file\) - Start of section headers: 504 \(bytes into file\) - Flags: 0xa, sh5 - Size of this header: 52 \(bytes\) - Size of program headers: 32 \(bytes\) - Number of program headers: 2 - Size of section headers: 40 \(bytes\) - Number of section headers: 8 - Section header string table index: 5 + +Magic: +7f 45 4c 46 01 02 01 00 00 00 00 00 00 00 00 00 + +Class: +ELF32 + +Data: +2's complement, big endian + +Version: +1 \(current\) + +OS/ABI: +UNIX - System V + +ABI Version: +0 + +Type: +EXEC \(Executable file\) + +Machine: +Renesas / SuperH SH + +Version: +0x1 + +Entry point address: +0x10a5 + +Start of program headers: +52 \(bytes into file\) + +Start of section headers: +504 \(bytes into file\) + +Flags: +0xa, sh5 + +Size of this header: +52 \(bytes\) + +Size of program headers: +32 \(bytes\) + +Number of program headers: +2 + +Size of section headers: +40 \(bytes\) + +Number of section headers: +8 + +Section header string table index: 5 Section Headers: - \[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al - \[ 0\] NULL 00000000 000000 000000 00 0 0 0 - \[ 1\] \.init PROGBITS 00001000 000080 000004 00 AXp 0 0 4 - \[ 2\] \.text PROGBITS 00001004 000084 0000d8 00 AXp 0 0 4 - \[ 3\] \.stack PROGBITS 00080000 000180 000004 00 WA 0 0 1 - \[ 4\] \.cranges LOUSER\+1 00000000 000184 00003c 00 W 0 0 1 - \[ 5\] \.shstrtab STRTAB .* - \[ 6\] \.symtab SYMTAB .* - \[ 7\] \.strtab STRTAB .* + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al + +\[ 0\] +NULL +00000000 000000 000000 00 +0 +0 +0 + +\[ 1\] \.init +PROGBITS +00001000 000080 000004 00 AXp +0 +0 +4 + +\[ 2\] \.text +PROGBITS +00001004 000084 0000d8 00 AXp +0 +0 +4 + +\[ 3\] \.stack +PROGBITS +00080000 000180 000004 00 +WA +0 +0 +1 + +\[ 4\] \.cranges +LOUSER\+1 +00000000 000184 00003c 00 +W +0 +0 +1 + +\[ 5\] \.shstrtab +STRTAB +.* + +\[ 6\] \.symtab +SYMTAB +.* + +\[ 7\] \.strtab +STRTAB +.* Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) Symbol table '\.symtab' contains [0-9]+ entries: - Num: Value Size Type Bind Vis Ndx Name -.*: 00000000 0 NOTYPE LOCAL DEFAULT UND -.*: 00001000 0 SECTION LOCAL DEFAULT 1 -.*: 00001004 0 SECTION LOCAL DEFAULT 2 -.*: 00080000 0 SECTION LOCAL DEFAULT 3 -.*: 00000000 0 SECTION LOCAL DEFAULT 4 -.*: 00001004 0 NOTYPE LOCAL DEFAULT 2 sec4 -.*: 000010a4 0 NOTYPE LOCAL DEFAULT \[<other>: 4\] 2 start2 -.*: 000010bc 0 NOTYPE LOCAL DEFAULT 2 sec3 -.*: 000010c4 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 2 diversion -.*: 00001160 0 NOTYPE GLOBAL DEFAULT .* ___dtors -.*: 00001160 0 NOTYPE GLOBAL DEFAULT ABS __bss_start -.*: 00001160 0 NOTYPE GLOBAL DEFAULT .* ___ctors_end -.*: 000010a4 0 NOTYPE GLOBAL DEFAULT 2 diversion2 -.*: 00001160 0 NOTYPE GLOBAL DEFAULT .* ___ctors -.*: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _edata -.*: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _end -.*: 00001000 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 start -.*: 00080000 0 NOTYPE GLOBAL DEFAULT 3 _stack -.*: 00001160 0 NOTYPE GLOBAL DEFAULT .* ___dtors_end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.*: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND +.*: 00001000 +0 +SECTION +LOCAL +DEFAULT +1 +.*: 00001004 +0 +SECTION +LOCAL +DEFAULT +2 +.*: 00080000 +0 +SECTION +LOCAL +DEFAULT +3 +.*: 00000000 +0 +SECTION +LOCAL +DEFAULT +4 +.*: 00001004 +0 +NOTYPE +LOCAL +DEFAULT +2 sec4 +.*: 000010a4 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2 +.*: 000010bc +0 +NOTYPE +LOCAL +DEFAULT +2 sec3 +.*: 000010c4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +2 diversion +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors_end +.*: 000010a4 +0 +NOTYPE +GLOBAL +DEFAULT +2 diversion2 +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end +.*: 00001000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start +.*: 00080000 +0 +NOTYPE +GLOBAL +DEFAULT +3 _stack +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors_end Hex dump of section '\.text': 0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .* diff --git a/ld/testsuite/ld-sh/sh64/crange3.rd b/ld/testsuite/ld-sh/sh64/crange3.rd index 7426dab..77e3ae1 100644 --- a/ld/testsuite/ld-sh/sh64/crange3.rd +++ b/ld/testsuite/ld-sh/sh64/crange3.rd @@ -1,41 +1,41 @@ .* Section Headers: - \[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al - \[ 0\] NULL 00000000 000000 000000 00 0 0 0 - \[ 1\] \.init PROGBITS 00001000 000080 000004 00 AXp 0 0 4 - \[ 2\] \.text PROGBITS 00001004 000084 0000d8 00 AXp 0 0 4 - \[ 3\] \.stack PROGBITS 00080000 000180 000004 00 WA 0 0 1 - \[ 4\] \.cranges LOUSER\+1 00000000 000184 00003c 00 W 0 0 1 - \[ 5\] \.shstrtab STRTAB .* - \[ 6\] \.symtab SYMTAB .* - \[ 7\] \.strtab STRTAB .* + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al + +\[ 0\] +NULL +00000000 000000 000000 00 +0 +0 +0 + +\[ 1\] \.init +PROGBITS +00001000 000080 000004 00 AXp +0 +0 +4 + +\[ 2\] \.text +PROGBITS +00001004 000084 0000d8 00 AXp +0 +0 +4 + +\[ 3\] \.stack +PROGBITS +00080000 000180 000004 00 +WA +0 +0 +1 + +\[ 4\] \.cranges +LOUSER\+1 +00000000 000184 00003c 00 +W +0 +0 +1 + +\[ 5\] \.shstrtab +STRTAB +.* + +\[ 6\] \.symtab +SYMTAB +.* + +\[ 7\] \.strtab +STRTAB +.* Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) Symbol table '\.symtab' contains [0-9]+ entries: - Num: Value Size Type Bind Vis Ndx Name -.*: 00000000 0 NOTYPE LOCAL DEFAULT UND -.*: 00001000 0 SECTION LOCAL DEFAULT 1 -.*: 00001004 0 SECTION LOCAL DEFAULT 2 -.*: 00080000 0 SECTION LOCAL DEFAULT 3 -.*: 00000000 0 SECTION LOCAL DEFAULT 4 -.*: 00001004 0 NOTYPE LOCAL DEFAULT 2 sec4 -.*: 000010a4 0 NOTYPE LOCAL DEFAULT \[<other>: 4\] 2 start2 -.*: 000010bc 0 NOTYPE LOCAL DEFAULT 2 sec3 -.*: 000010c4 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 2 diversion -.*: 00001160 0 NOTYPE GLOBAL DEFAULT .* ___dtors -.*: 00001160 0 NOTYPE GLOBAL DEFAULT ABS __bss_start -.*: 00001160 0 NOTYPE GLOBAL DEFAULT .* ___ctors_end -.*: 000010a4 0 NOTYPE GLOBAL DEFAULT 2 diversion2 -.*: 00001160 0 NOTYPE GLOBAL DEFAULT .* ___ctors -.*: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _edata -.*: 00001160 0 NOTYPE GLOBAL DEFAULT ABS _end -.*: 00001000 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 start -.*: 00080000 0 NOTYPE GLOBAL DEFAULT 3 _stack -.*: 00001160 0 NOTYPE GLOBAL DEFAULT .* ___dtors_end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.*: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND +.*: 00001000 +0 +SECTION +LOCAL +DEFAULT +1 +.*: 00001004 +0 +SECTION +LOCAL +DEFAULT +2 +.*: 00080000 +0 +SECTION +LOCAL +DEFAULT +3 +.*: 00000000 +0 +SECTION +LOCAL +DEFAULT +4 +.*: 00001004 +0 +NOTYPE +LOCAL +DEFAULT +2 sec4 +.*: 000010a4 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2 +.*: 000010bc +0 +NOTYPE +LOCAL +DEFAULT +2 sec3 +.*: 000010c4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +2 diversion +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors_end +.*: 000010a4 +0 +NOTYPE +GLOBAL +DEFAULT +2 diversion2 +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___ctors +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end +.*: 00001000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start +.*: 00080000 +0 +NOTYPE +GLOBAL +DEFAULT +3 _stack +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors_end Hex dump of section '\.text': 0x00001004 6ff0fff0 6ff0fff0 6ff0fff0 6ff0fff0 .* diff --git a/ld/testsuite/ld-sh/sh64/crangerel1.rd b/ld/testsuite/ld-sh/sh64/crangerel1.rd index 7b133c6..51a6f71 100644 --- a/ld/testsuite/ld-sh/sh64/crangerel1.rd +++ b/ld/testsuite/ld-sh/sh64/crangerel1.rd @@ -1,40 +1,40 @@ There are 11 section headers, starting at offset 0xbc: Section Headers: - \[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al - \[ 0\] NULL 00000000 000000 000000 00 0 0 0 - \[ 1\] \.text PROGBITS 00000000 000034 000000 00 AX 0 0 1 - \[ 2\] \.text\.mixed PROGBITS 00000000 000034 000018 00 AXp 0 0 4 - \[ 3\] \.data PROGBITS 00000000 00004c 000000 00 WA 0 0 1 - \[ 4\] \.bss NOBITS 00000000 00004c 000000 00 WA 0 0 1 - \[ 5\] \.stack PROGBITS 00000000 00004c 000004 00 WA 0 0 1 - \[ 6\] \.cranges PROGBITS 00000000 000050 00001e 00 W 0 0 1 - \[ 7\] \.rela\.cranges RELA 00000000 000274 000024 0c 9 6 4 - \[ 8\] \.shstrtab STRTAB 00000000 00006e 00004d 00 0 0 1 - \[ 9\] \.symtab SYMTAB 00000000 000298 000090 10 10 8 4 - \[10\] \.strtab STRTAB 00000000 000328 000013 00 0 0 1 + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al + +\[ 0\] +NULL +00000000 000000 000000 00 +0 +0 +0 + +\[ 1\] \.text +PROGBITS +00000000 000034 000000 00 +AX +0 +0 +1 + +\[ 2\] \.text\.mixed +PROGBITS +00000000 000034 000018 00 AXp +0 +0 +4 + +\[ 3\] \.data +PROGBITS +00000000 00004c 000000 00 +WA +0 +0 +1 + +\[ 4\] \.bss +NOBITS +00000000 00004c 000000 00 +WA +0 +0 +1 + +\[ 5\] \.stack +PROGBITS +00000000 00004c 000004 00 +WA +0 +0 +1 + +\[ 6\] \.cranges +PROGBITS +00000000 000050 00001e 00 +W +0 +0 +1 + +\[ 7\] \.rela\.cranges +RELA +00000000 000274 000024 0c +9 +6 +4 + +\[ 8\] \.shstrtab +STRTAB +00000000 00006e 00004d 00 +0 +0 +1 + +\[ 9\] \.symtab +SYMTAB +00000000 000298 000090 10 +10 +8 +4 + +\[10\] \.strtab +STRTAB +00000000 000328 000013 00 +0 +0 +1 Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) Relocation section '\.rela\.cranges' at offset 0x[0-9a-f]+ contains 3 entries: .* -0*00000000 0+0201 R_SH_DIR32 +00000000 +\.text\.mixed +\+ 0 -0*0000000a 0+0201 R_SH_DIR32 +00000000 +\.text\.mixed +\+ 0 -0*00000014 0+0201 R_SH_DIR32 +00000000 +\.text\.mixed +\+ 0 +0*00000000 +0+0201 R_SH_DIR32 +00000000 +\.text\.mixed +\+ 0 +0*0000000a +0+0201 R_SH_DIR32 +00000000 +\.text\.mixed +\+ 0 +0*00000014 +0+0201 R_SH_DIR32 +00000000 +\.text\.mixed +\+ 0 Symbol table '\.symtab' contains 9 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00000000 0 SECTION LOCAL DEFAULT 1 - 2: 00000000 0 SECTION LOCAL DEFAULT 2 - 3: 00000000 0 SECTION LOCAL DEFAULT 3 - 4: 00000000 0 SECTION LOCAL DEFAULT 4 - 5: 00000000 0 SECTION LOCAL DEFAULT 5 - 6: 00000000 0 SECTION LOCAL DEFAULT 6 - 7: 00000000 0 NOTYPE LOCAL DEFAULT \[<other>: 4\] 2 start2 - 8: 00000000 0 NOTYPE GLOBAL DEFAULT 2 diversion2 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1 + +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +3 + +4: 00000000 +0 +SECTION +LOCAL +DEFAULT +4 + +5: 00000000 +0 +SECTION +LOCAL +DEFAULT +5 + +6: 00000000 +0 +SECTION +LOCAL +DEFAULT +6 + +7: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2 + +8: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +2 diversion2 Hex dump of section '\.text\.mixed': 0x00000000 6ff0fff0 6ff0fff0 6ff0fff0 0000002a .* diff --git a/ld/testsuite/ld-sh/sh64/crangerel2.rd b/ld/testsuite/ld-sh/sh64/crangerel2.rd index 635acfc..79b8b7d 100644 --- a/ld/testsuite/ld-sh/sh64/crangerel2.rd +++ b/ld/testsuite/ld-sh/sh64/crangerel2.rd @@ -1,22 +1,22 @@ There are 11 section headers, starting at offset 0x128: Section Headers: - \[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al - \[ 0\] NULL 00000000 000000 000000 00 0 0 0 - \[ 1\] \.text PROGBITS 00000000 000034 000000 00 AX 0 0 1 - \[ 2\] \.text\.mixed PROGBITS 00000000 000034 00005c 00 AXp 0 0 4 - \[ 3\] \.data PROGBITS 00000000 000090 000000 00 WA 0 0 1 - \[ 4\] \.bss NOBITS 00000000 000090 000000 00 WA 0 0 1 - \[ 5\] \.stack PROGBITS 00000000 000090 000004 00 WA 0 0 1 - \[ 6\] \.cranges PROGBITS 00000000 000094 000046 00 W 0 0 1 - \[ 7\] \.rela\.cranges RELA 00000000 0002e0 000054 0c 9 6 4 - \[ 8\] \.shstrtab STRTAB 00000000 0000da 00004d 00 0 0 1 - \[ 9\] \.symtab SYMTAB 00000000 000334 0000d0 10 10 12 4 - \[10\] \.strtab STRTAB 00000000 000404 000027 00 0 0 1 + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al + +\[ 0\] +NULL +00000000 000000 000000 00 +0 +0 +0 + +\[ 1\] \.text +PROGBITS +00000000 000034 000000 00 +AX +0 +0 +1 + +\[ 2\] \.text\.mixed +PROGBITS +00000000 000034 00005c 00 AXp +0 +0 +4 + +\[ 3\] \.data +PROGBITS +00000000 000090 000000 00 +WA +0 +0 +1 + +\[ 4\] \.bss +NOBITS +00000000 000090 000000 00 +WA +0 +0 +1 + +\[ 5\] \.stack +PROGBITS +00000000 000090 000004 00 +WA +0 +0 +1 + +\[ 6\] \.cranges +PROGBITS +00000000 000094 000046 00 +W +0 +0 +1 + +\[ 7\] \.rela\.cranges +RELA +00000000 0002e0 000054 0c +9 +6 +4 + +\[ 8\] \.shstrtab +STRTAB +00000000 0000da 00004d 00 +0 +0 +1 + +\[ 9\] \.symtab +SYMTAB +00000000 000334 0000d0 10 +10 +12 +4 + +\[10\] \.strtab +STRTAB +00000000 000404 000027 00 +0 +0 +1 Key to Flags: - W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) - I \(info\), L \(link order\), G \(group\), x \(unknown\) - O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) + +W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + +I \(info\), L \(link order\), G \(group\), x \(unknown\) + +O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) Relocation section '\.rela\.cranges' at offset 0x[0-9a-f]+ contains 7 entries: .* @@ -29,20 +29,20 @@ Relocation section '\.rela\.cranges' at offset 0x[0-9a-f]+ contains 7 entries: 0*0000003c +0+0201 R_SH_DIR32 +00000000 +\.text\.mixed +\+ 0 Symbol table '\.symtab' contains 13 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00000000 0 SECTION LOCAL DEFAULT 1 - 2: 00000000 0 SECTION LOCAL DEFAULT 2 - 3: 00000000 0 SECTION LOCAL DEFAULT 3 - 4: 00000000 0 SECTION LOCAL DEFAULT 4 - 5: 00000000 0 SECTION LOCAL DEFAULT 5 - 6: 00000000 0 SECTION LOCAL DEFAULT 6 - 7: 00000000 0 NOTYPE LOCAL DEFAULT \[<other>: 4\] 2 start2 - 8: 00000018 0 NOTYPE LOCAL DEFAULT \[<other>: 4\] 2 sec1 - 9: 00000028 0 NOTYPE LOCAL DEFAULT \[<other>: 4\] 2 sec2 - 10: 0000003c 0 NOTYPE LOCAL DEFAULT 2 sec3 - 11: 00000044 0 NOTYPE LOCAL DEFAULT 2 sec4 - 12: 00000000 0 NOTYPE GLOBAL DEFAULT 2 diversion2 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1 + +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +2 + +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +3 + +4: 00000000 +0 +SECTION +LOCAL +DEFAULT +4 + +5: 00000000 +0 +SECTION +LOCAL +DEFAULT +5 + +6: 00000000 +0 +SECTION +LOCAL +DEFAULT +6 + +7: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2 + +8: 00000018 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 sec1 + +9: 00000028 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 sec2 + +10: 0000003c +0 +NOTYPE +LOCAL +DEFAULT +2 sec3 + +11: 00000044 +0 +NOTYPE +LOCAL +DEFAULT +2 sec4 + +12: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +2 diversion2 Hex dump of section '\.text\.mixed': 0x00000000 6ff0fff0 6ff0fff0 6ff0fff0 0000002a .* diff --git a/ld/testsuite/ld-sh/sh64/reldl32.rd b/ld/testsuite/ld-sh/sh64/reldl32.rd index 98bbbed..400e2af 100644 --- a/ld/testsuite/ld-sh/sh64/reldl32.rd +++ b/ld/testsuite/ld-sh/sh64/reldl32.rd @@ -1,306 +1,306 @@ Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 26 entries: .* -00000008 0+5bf6 R_SH_IMM_LOW16 +00000004 +file1text1 +\+ 0 -0000000c 0+2df6 R_SH_IMM_LOW16 +0000000c +file1data2 +\+ 0 -00000010 0+30f6 R_SH_IMM_LOW16 +00000070 +file2text3 +\+ 0 -00000014 0+0ff6 R_SH_IMM_LOW16 +0000012c +file2data4 +\+ 0 -00000018 0+4cf6 R_SH_IMM_LOW16 +00000000 +unresolved1 +\+ 0 -0000001c 0+51f6 R_SH_IMM_LOW16 +00000000 +unresolved6 +\+ 0 -00000020 0+5df6 R_SH_IMM_LOW16 +00000000 +file1text1 +\+ 0 -00000024 0+5df6 R_SH_IMM_LOW16 +00000000 +file1text1 +\+ 18 -00000028 0+21f6 R_SH_IMM_LOW16 +00000000 +file1text5 +\+ 8 -0000002c 0+2df6 R_SH_IMM_LOW16 +0000000c +file1data2 +\+ 30 -00000030 0+2df6 R_SH_IMM_LOW16 +0000000c +file1data2 +\+ 0 -0000003c 0+42f6 R_SH_IMM_LOW16 +00000000 +unresolved7 +\+ 0 -00000040 0+27f6 R_SH_IMM_LOW16 +00000000 +unresolved1 +\+ 0 -00000034 0+35f8 R_SH_IMM_MEDLOW16 +00000000 +file2data4 +\+ 10 -00000038 0+35f6 R_SH_IMM_LOW16 +00000000 +file2data4 +\+ 10 -00000068 0+08f6 R_SH_IMM_LOW16 +00000064 +file2text1 +\+ 0 -0000006c 0+24f6 R_SH_IMM_LOW16 +00000124 +file2data2 +\+ 0 -00000070 0+23f6 R_SH_IMM_LOW16 +00000010 +file1text3 +\+ 0 -00000074 0+81f6 R_SH_IMM_LOW16 +00000014 +file1data4 +\+ 0 -00000078 0+4cf6 R_SH_IMM_LOW16 +00000000 +unresolved1 +\+ 0 -0000007c 0+64f6 R_SH_IMM_LOW16 +00000000 +unresolved3 +\+ 0 -00000080 0+85f6 R_SH_IMM_LOW16 +00000000 +unresolved8 +\+ 0 -00000084 0+32f6 R_SH_IMM_LOW16 +00000000 +unresolved9 +\+ 0 -00000088 0+5df6 R_SH_IMM_LOW16 +00000000 +file1text1 +\+ 0 -0000008c 0+4bf6 R_SH_IMM_LOW16 +00000000 +file1data2 +\+ 0 -00000090 0+28f6 R_SH_IMM_LOW16 +00000000 +file1data3 +\+ 0 +00000008 +0+5bf6 R_SH_IMM_LOW16 +00000004 +file1text1 +\+ 0 +0000000c +0+2df6 R_SH_IMM_LOW16 +0000000c +file1data2 +\+ 0 +00000010 +0+30f6 R_SH_IMM_LOW16 +00000070 +file2text3 +\+ 0 +00000014 +0+0ff6 R_SH_IMM_LOW16 +0000012c +file2data4 +\+ 0 +00000018 +0+4cf6 R_SH_IMM_LOW16 +00000000 +unresolved1 +\+ 0 +0000001c +0+51f6 R_SH_IMM_LOW16 +00000000 +unresolved6 +\+ 0 +00000020 +0+5df6 R_SH_IMM_LOW16 +00000000 +file1text1 +\+ 0 +00000024 +0+5df6 R_SH_IMM_LOW16 +00000000 +file1text1 +\+ 18 +00000028 +0+21f6 R_SH_IMM_LOW16 +00000000 +file1text5 +\+ 8 +0000002c +0+2df6 R_SH_IMM_LOW16 +0000000c +file1data2 +\+ 30 +00000030 +0+2df6 R_SH_IMM_LOW16 +0000000c +file1data2 +\+ 0 +0000003c +0+42f6 R_SH_IMM_LOW16 +00000000 +unresolved7 +\+ 0 +00000040 +0+27f6 R_SH_IMM_LOW16 +00000000 +unresolved1 +\+ 0 +00000034 +0+35f8 R_SH_IMM_MEDLOW16 +00000000 +file2data4 +\+ 10 +00000038 +0+35f6 R_SH_IMM_LOW16 +00000000 +file2data4 +\+ 10 +00000068 +0+08f6 R_SH_IMM_LOW16 +00000064 +file2text1 +\+ 0 +0000006c +0+24f6 R_SH_IMM_LOW16 +00000124 +file2data2 +\+ 0 +00000070 +0+23f6 R_SH_IMM_LOW16 +00000010 +file1text3 +\+ 0 +00000074 +0+81f6 R_SH_IMM_LOW16 +00000014 +file1data4 +\+ 0 +00000078 +0+4cf6 R_SH_IMM_LOW16 +00000000 +unresolved1 +\+ 0 +0000007c +0+64f6 R_SH_IMM_LOW16 +00000000 +unresolved3 +\+ 0 +00000080 +0+85f6 R_SH_IMM_LOW16 +00000000 +unresolved8 +\+ 0 +00000084 +0+32f6 R_SH_IMM_LOW16 +00000000 +unresolved9 +\+ 0 +00000088 +0+5df6 R_SH_IMM_LOW16 +00000000 +file1text1 +\+ 0 +0000008c +0+4bf6 R_SH_IMM_LOW16 +00000000 +file1data2 +\+ 0 +00000090 +0+28f6 R_SH_IMM_LOW16 +00000000 +file1data3 +\+ 0 Relocation section '\.rela\.data' at offset 0x[0-9a-f]+ contains 134 entries: .* -00000008 0+0b01 R_SH_DIR32 +00000004 +file1data1 +\+ 0 -0000000c 0+0701 R_SH_DIR32 +0000000c +file1text2 +\+ 0 -00000010 0+7801 R_SH_DIR32 +00000128 +file2data3 +\+ 0 -00000014 0+6701 R_SH_DIR32 +00000074 +file2text4 +\+ 0 -00000018 0+7401 R_SH_DIR32 +00000000 +unresolved2 +\+ 0 -0000001c 0+0501 R_SH_DIR32 +00000000 +unresolved5 +\+ 0 -00000020 0+6c01 R_SH_DIR32 +00000000 +unresolved6 +\+ 0 -00000024 0+0601 R_SH_DIR32 +00000000 +unresolved9 +\+ 0 -00000028 0+7a01 R_SH_DIR32 +00000000 +a1 +\+ 0 -0000002c 0+7001 R_SH_DIR32 +00000000 +a23 +\+ 0 -00000030 0+5401 R_SH_DIR32 +0000003c +b123 +\+ 0 -00000034 0+6a01 R_SH_DIR32 +0000009c +c3 +\+ 0 -00000038 0+3c01 R_SH_DIR32 +000000a8 +c13 +\+ 0 -0000003c 0+2601 R_SH_DIR32 +00000000 +a2 +\+ 0 -00000040 0+4e01 R_SH_DIR32 +00000000 +a3 +\+ 0 -00000044 0+2501 R_SH_DIR32 +00000000 +a4 +\+ 0 -00000048 0+6901 R_SH_DIR32 +00000000 +a12 +\+ 0 -0000004c 0+1501 R_SH_DIR32 +00000000 +a13 +\+ 0 -00000050 0+7601 R_SH_DIR32 +00000000 +a23 +\+ 0 -00000054 0+6201 R_SH_DIR32 +00000000 +a123 +\+ 0 -00000058 0+3d01 R_SH_DIR32 +00000000 +b1 +\+ 0 -0000005c 0+7101 R_SH_DIR32 +00000000 +b2 +\+ 0 -00000060 0+2f01 R_SH_DIR32 +00000000 +a3 +\+ 0 -00000064 0+7f01 R_SH_DIR32 +00000000 +a13 +\+ 0 -00000068 0+2e01 R_SH_DIR32 +00000000 +b3 +\+ 0 -0000006c 0+6801 R_SH_DIR32 +00000000 +b4 +\+ 0 -00000070 0+5201 R_SH_DIR32 +00000000 +b12 +\+ 0 -00000074 0+2901 R_SH_DIR32 +00000000 +b13 +\+ 0 -00000078 0+3e01 R_SH_DIR32 +00000000 +a123 +\+ 0 -0000007c 0+6501 R_SH_DIR32 +00000024 +b3 +\+ 0 -00000080 0+3b01 R_SH_DIR32 +00000030 +b13 +\+ 0 -00000084 0+6f01 R_SH_DIR32 +00000034 +b23 +\+ 0 -00000088 0+7d01 R_SH_DIR32 +00000000 +b23 +\+ 0 -0000008c 0+0c01 R_SH_DIR32 +00000000 +b123 +\+ 0 -00000090 0+8301 R_SH_DIR32 +00000000 +c1 +\+ 0 -00000094 0+2c01 R_SH_DIR32 +00000000 +c2 +\+ 0 -00000098 0+6301 R_SH_DIR32 +00000000 +c3 +\+ 0 -0000009c 0+3901 R_SH_DIR32 +000000ac +c23 +\+ 0 -000000a0 0+7e01 R_SH_DIR32 +000000b0 +c123 +\+ 0 -000000a4 0+0e01 R_SH_DIR32 +00000000 +c4 +\+ 0 -000000a8 0+2001 R_SH_DIR32 +00000000 +c12 +\+ 0 -000000ac 0+3101 R_SH_DIR32 +00000000 +c13 +\+ 0 -000000b0 0+3601 R_SH_DIR32 +00000000 +c23 +\+ 0 -000000b4 0+3a01 R_SH_DIR32 +00000000 +c123 +\+ 0 -000000b8 0+4801 R_SH_DIR32 +00000000 +oa1 +\+ 0 -000000bc 0+1401 R_SH_DIR32 +00000000 +ob1 +\+ 0 -000000c0 0+4401 R_SH_DIR32 +000000d0 +ob123 +\+ 0 -000000c4 0+5901 R_SH_DIR32 +00000000 +oc1 +\+ 0 -000000c8 0+7901 R_SH_DIR32 +00000000 +oa2 +\+ 0 -000000cc 0+6101 R_SH_DIR32 +000000b8 +ob2 +\+ 0 -000000d0 0+7201 R_SH_DIR32 +00000044 +oc2 +\+ 0 -000000d4 0+4901 R_SH_DIR32 +00000000 +oa12 +\+ 0 -000000d8 0+1b01 R_SH_DIR32 +00000000 +oa12 +\+ 0 -000000dc 0+6001 R_SH_DIR32 +00000000 +ob12 +\+ 0 -000000e0 0+4a01 R_SH_DIR32 +000000c4 +ob12 +\+ 0 -000000e4 0+5a01 R_SH_DIR32 +00000000 +oc12 +\+ 0 -000000e8 0+1201 R_SH_DIR32 +00000050 +oc12 +\+ 0 -000000ec 0+3f01 R_SH_DIR32 +00000000 +oa23 +\+ 0 -000000f0 0+4501 R_SH_DIR32 +00000000 +oa13 +\+ 0 -000000f4 0+0a01 R_SH_DIR32 +0000005c +oc123 +\+ 0 -000000f8 0+5501 R_SH_DIR32 +00000000 +ob13 +\+ 0 -000000fc 0+5c01 R_SH_DIR32 +00000000 +oc13 +\+ 0 -00000100 0+8201 R_SH_DIR32 +000000cc +ob23 +\+ 0 -00000104 0+2b01 R_SH_DIR32 +00000058 +oc23 +\+ 0 -00000108 0+5701 R_SH_DIR32 +00000000 +oa123 +\+ 0 -0000010c 0+5001 R_SH_DIR32 +00000000 +oa123 +\+ 0 -00000110 0+6601 R_SH_DIR32 +00000000 +ob123 +\+ 0 -00000114 0+3301 R_SH_DIR32 +00000000 +oc123 +\+ 0 -00000120 0+7c01 R_SH_DIR32 +0000011c +file2data1 +\+ 0 -00000124 0+5e01 R_SH_DIR32 +0000006c +file2text2 +\+ 0 -00000128 0+8001 R_SH_DIR32 +00000010 +file1data3 +\+ 0 -0000012c 0+7701 R_SH_DIR32 +00000014 +file1text4 +\+ 0 -00000130 0+7401 R_SH_DIR32 +00000000 +unresolved2 +\+ 0 -00000134 0+7b01 R_SH_DIR32 +00000000 +unresolved4 +\+ 0 -00000138 0+4801 R_SH_DIR32 +00000000 +oa1 +\+ 0 -0000013c 0+1701 R_SH_DIR32 +00000000 +oa2 +\+ 0 -00000140 0+6d01 R_SH_DIR32 +00000000 +oa3 +\+ 0 -00000144 0+1c01 R_SH_DIR32 +00000000 +oa13 +\+ 0 -00000148 0+1901 R_SH_DIR32 +00000054 +oc13 +\+ 0 -0000014c 0+1001 R_SH_DIR32 +00000000 +oa4 +\+ 0 -00000150 0+1b01 R_SH_DIR32 +00000000 +oa12 +\+ 0 -00000154 0+4501 R_SH_DIR32 +00000000 +oa13 +\+ 0 -00000158 0+3801 R_SH_DIR32 +00000000 +oa23 +\+ 0 -0000015c 0+3f01 R_SH_DIR32 +00000000 +oa23 +\+ 0 -00000160 0+5701 R_SH_DIR32 +00000000 +oa123 +\+ 0 -00000164 0+1601 R_SH_DIR32 +00000048 +oc3 +\+ 0 -00000168 0+5001 R_SH_DIR32 +00000000 +oa123 +\+ 0 -0000016c 0+1401 R_SH_DIR32 +00000000 +ob1 +\+ 0 -00000170 0+2201 R_SH_DIR32 +00000000 +ob2 +\+ 0 -00000174 0+5f01 R_SH_DIR32 +00000000 +ob3 +\+ 0 -00000178 0+1301 R_SH_DIR32 +00000000 +ob4 +\+ 0 -0000017c 0+8401 R_SH_DIR32 +00000000 +oa3 +\+ 0 -00000180 0+2b01 R_SH_DIR32 +00000058 +oc23 +\+ 0 -00000184 0+0a01 R_SH_DIR32 +0000005c +oc123 +\+ 0 -00000188 0+6001 R_SH_DIR32 +00000000 +ob12 +\+ 0 -0000018c 0+5501 R_SH_DIR32 +00000000 +ob13 +\+ 0 -00000190 0+4d01 R_SH_DIR32 +000000c8 +ob13 +\+ 0 -00000194 0+8201 R_SH_DIR32 +000000cc +ob23 +\+ 0 -00000198 0+5801 R_SH_DIR32 +00000000 +ob23 +\+ 0 -0000019c 0+6601 R_SH_DIR32 +00000000 +ob123 +\+ 0 -000001a0 0+5901 R_SH_DIR32 +00000000 +oc1 +\+ 0 -000001a4 0+1101 R_SH_DIR32 +000000bc +ob3 +\+ 0 -000001a8 0+4401 R_SH_DIR32 +000000d0 +ob123 +\+ 0 -000001ac 0+0901 R_SH_DIR32 +00000000 +oc2 +\+ 0 -000001b0 0+3701 R_SH_DIR32 +00000000 +oc3 +\+ 0 -000001b4 0+5301 R_SH_DIR32 +00000000 +oc4 +\+ 0 -000001b8 0+5a01 R_SH_DIR32 +00000000 +oc12 +\+ 0 -000001bc 0+5c01 R_SH_DIR32 +00000000 +oc13 +\+ 0 -000001c0 0+2a01 R_SH_DIR32 +00000000 +oc23 +\+ 0 -000001c4 0+3301 R_SH_DIR32 +00000000 +oc123 +\+ 0 -000001c8 0+7a01 R_SH_DIR32 +00000000 +a1 +\+ 0 -000001cc 0+1a01 R_SH_DIR32 +00000098 +c2 +\+ 0 -000001d0 0+6f01 R_SH_DIR32 +00000034 +b23 +\+ 0 -000001d4 0+3d01 R_SH_DIR32 +00000000 +b1 +\+ 0 -000001d8 0+8301 R_SH_DIR32 +00000000 +c1 +\+ 0 -000001dc 0+6901 R_SH_DIR32 +00000000 +a12 +\+ 0 -000001e0 0+5601 R_SH_DIR32 +00000000 +a2 +\+ 0 -000001e4 0+0d01 R_SH_DIR32 +00000020 +b2 +\+ 0 -000001e8 0+5201 R_SH_DIR32 +00000000 +b12 +\+ 0 -000001ec 0+2001 R_SH_DIR32 +00000000 +c12 +\+ 0 -000001f0 0+5401 R_SH_DIR32 +0000003c +b123 +\+ 0 -000001f4 0+7e01 R_SH_DIR32 +000000b0 +c123 +\+ 0 -000001f8 0+1501 R_SH_DIR32 +00000000 +a13 +\+ 0 -000001fc 0+2901 R_SH_DIR32 +00000000 +b13 +\+ 0 -00000200 0+3901 R_SH_DIR32 +000000ac +c23 +\+ 0 -00000204 0+3e01 R_SH_DIR32 +00000000 +a123 +\+ 0 -00000208 0+3101 R_SH_DIR32 +00000000 +c13 +\+ 0 -0000020c 0+6201 R_SH_DIR32 +00000000 +a123 +\+ 0 -00000210 0+6e01 R_SH_DIR32 +000000a4 +c12 +\+ 0 -00000214 0+7001 R_SH_DIR32 +00000000 +a23 +\+ 0 -00000218 0+0c01 R_SH_DIR32 +00000000 +b123 +\+ 0 -0000021c 0+4001 R_SH_DIR32 +00000000 +a12 +\+ 0 -00000220 0+7301 R_SH_DIR32 +0000002c +b12 +\+ 0 -00000224 0+3a01 R_SH_DIR32 +00000000 +c123 +\+ 0 +00000008 +0+0b01 R_SH_DIR32 +00000004 +file1data1 +\+ 0 +0000000c +0+0701 R_SH_DIR32 +0000000c +file1text2 +\+ 0 +00000010 +0+7801 R_SH_DIR32 +00000128 +file2data3 +\+ 0 +00000014 +0+6701 R_SH_DIR32 +00000074 +file2text4 +\+ 0 +00000018 +0+7401 R_SH_DIR32 +00000000 +unresolved2 +\+ 0 +0000001c +0+0501 R_SH_DIR32 +00000000 +unresolved5 +\+ 0 +00000020 +0+6c01 R_SH_DIR32 +00000000 +unresolved6 +\+ 0 +00000024 +0+0601 R_SH_DIR32 +00000000 +unresolved9 +\+ 0 +00000028 +0+7a01 R_SH_DIR32 +00000000 +a1 +\+ 0 +0000002c +0+7001 R_SH_DIR32 +00000000 +a23 +\+ 0 +00000030 +0+5401 R_SH_DIR32 +0000003c +b123 +\+ 0 +00000034 +0+6a01 R_SH_DIR32 +0000009c +c3 +\+ 0 +00000038 +0+3c01 R_SH_DIR32 +000000a8 +c13 +\+ 0 +0000003c +0+2601 R_SH_DIR32 +00000000 +a2 +\+ 0 +00000040 +0+4e01 R_SH_DIR32 +00000000 +a3 +\+ 0 +00000044 +0+2501 R_SH_DIR32 +00000000 +a4 +\+ 0 +00000048 +0+6901 R_SH_DIR32 +00000000 +a12 +\+ 0 +0000004c +0+1501 R_SH_DIR32 +00000000 +a13 +\+ 0 +00000050 +0+7601 R_SH_DIR32 +00000000 +a23 +\+ 0 +00000054 +0+6201 R_SH_DIR32 +00000000 +a123 +\+ 0 +00000058 +0+3d01 R_SH_DIR32 +00000000 +b1 +\+ 0 +0000005c +0+7101 R_SH_DIR32 +00000000 +b2 +\+ 0 +00000060 +0+2f01 R_SH_DIR32 +00000000 +a3 +\+ 0 +00000064 +0+7f01 R_SH_DIR32 +00000000 +a13 +\+ 0 +00000068 +0+2e01 R_SH_DIR32 +00000000 +b3 +\+ 0 +0000006c +0+6801 R_SH_DIR32 +00000000 +b4 +\+ 0 +00000070 +0+5201 R_SH_DIR32 +00000000 +b12 +\+ 0 +00000074 +0+2901 R_SH_DIR32 +00000000 +b13 +\+ 0 +00000078 +0+3e01 R_SH_DIR32 +00000000 +a123 +\+ 0 +0000007c +0+6501 R_SH_DIR32 +00000024 +b3 +\+ 0 +00000080 +0+3b01 R_SH_DIR32 +00000030 +b13 +\+ 0 +00000084 +0+6f01 R_SH_DIR32 +00000034 +b23 +\+ 0 +00000088 +0+7d01 R_SH_DIR32 +00000000 +b23 +\+ 0 +0000008c +0+0c01 R_SH_DIR32 +00000000 +b123 +\+ 0 +00000090 +0+8301 R_SH_DIR32 +00000000 +c1 +\+ 0 +00000094 +0+2c01 R_SH_DIR32 +00000000 +c2 +\+ 0 +00000098 +0+6301 R_SH_DIR32 +00000000 +c3 +\+ 0 +0000009c +0+3901 R_SH_DIR32 +000000ac +c23 +\+ 0 +000000a0 +0+7e01 R_SH_DIR32 +000000b0 +c123 +\+ 0 +000000a4 +0+0e01 R_SH_DIR32 +00000000 +c4 +\+ 0 +000000a8 +0+2001 R_SH_DIR32 +00000000 +c12 +\+ 0 +000000ac +0+3101 R_SH_DIR32 +00000000 +c13 +\+ 0 +000000b0 +0+3601 R_SH_DIR32 +00000000 +c23 +\+ 0 +000000b4 +0+3a01 R_SH_DIR32 +00000000 +c123 +\+ 0 +000000b8 +0+4801 R_SH_DIR32 +00000000 +oa1 +\+ 0 +000000bc +0+1401 R_SH_DIR32 +00000000 +ob1 +\+ 0 +000000c0 +0+4401 R_SH_DIR32 +000000d0 +ob123 +\+ 0 +000000c4 +0+5901 R_SH_DIR32 +00000000 +oc1 +\+ 0 +000000c8 +0+7901 R_SH_DIR32 +00000000 +oa2 +\+ 0 +000000cc +0+6101 R_SH_DIR32 +000000b8 +ob2 +\+ 0 +000000d0 +0+7201 R_SH_DIR32 +00000044 +oc2 +\+ 0 +000000d4 +0+4901 R_SH_DIR32 +00000000 +oa12 +\+ 0 +000000d8 +0+1b01 R_SH_DIR32 +00000000 +oa12 +\+ 0 +000000dc +0+6001 R_SH_DIR32 +00000000 +ob12 +\+ 0 +000000e0 +0+4a01 R_SH_DIR32 +000000c4 +ob12 +\+ 0 +000000e4 +0+5a01 R_SH_DIR32 +00000000 +oc12 +\+ 0 +000000e8 +0+1201 R_SH_DIR32 +00000050 +oc12 +\+ 0 +000000ec +0+3f01 R_SH_DIR32 +00000000 +oa23 +\+ 0 +000000f0 +0+4501 R_SH_DIR32 +00000000 +oa13 +\+ 0 +000000f4 +0+0a01 R_SH_DIR32 +0000005c +oc123 +\+ 0 +000000f8 +0+5501 R_SH_DIR32 +00000000 +ob13 +\+ 0 +000000fc +0+5c01 R_SH_DIR32 +00000000 +oc13 +\+ 0 +00000100 +0+8201 R_SH_DIR32 +000000cc +ob23 +\+ 0 +00000104 +0+2b01 R_SH_DIR32 +00000058 +oc23 +\+ 0 +00000108 +0+5701 R_SH_DIR32 +00000000 +oa123 +\+ 0 +0000010c +0+5001 R_SH_DIR32 +00000000 +oa123 +\+ 0 +00000110 +0+6601 R_SH_DIR32 +00000000 +ob123 +\+ 0 +00000114 +0+3301 R_SH_DIR32 +00000000 +oc123 +\+ 0 +00000120 +0+7c01 R_SH_DIR32 +0000011c +file2data1 +\+ 0 +00000124 +0+5e01 R_SH_DIR32 +0000006c +file2text2 +\+ 0 +00000128 +0+8001 R_SH_DIR32 +00000010 +file1data3 +\+ 0 +0000012c +0+7701 R_SH_DIR32 +00000014 +file1text4 +\+ 0 +00000130 +0+7401 R_SH_DIR32 +00000000 +unresolved2 +\+ 0 +00000134 +0+7b01 R_SH_DIR32 +00000000 +unresolved4 +\+ 0 +00000138 +0+4801 R_SH_DIR32 +00000000 +oa1 +\+ 0 +0000013c +0+1701 R_SH_DIR32 +00000000 +oa2 +\+ 0 +00000140 +0+6d01 R_SH_DIR32 +00000000 +oa3 +\+ 0 +00000144 +0+1c01 R_SH_DIR32 +00000000 +oa13 +\+ 0 +00000148 +0+1901 R_SH_DIR32 +00000054 +oc13 +\+ 0 +0000014c +0+1001 R_SH_DIR32 +00000000 +oa4 +\+ 0 +00000150 +0+1b01 R_SH_DIR32 +00000000 +oa12 +\+ 0 +00000154 +0+4501 R_SH_DIR32 +00000000 +oa13 +\+ 0 +00000158 +0+3801 R_SH_DIR32 +00000000 +oa23 +\+ 0 +0000015c +0+3f01 R_SH_DIR32 +00000000 +oa23 +\+ 0 +00000160 +0+5701 R_SH_DIR32 +00000000 +oa123 +\+ 0 +00000164 +0+1601 R_SH_DIR32 +00000048 +oc3 +\+ 0 +00000168 +0+5001 R_SH_DIR32 +00000000 +oa123 +\+ 0 +0000016c +0+1401 R_SH_DIR32 +00000000 +ob1 +\+ 0 +00000170 +0+2201 R_SH_DIR32 +00000000 +ob2 +\+ 0 +00000174 +0+5f01 R_SH_DIR32 +00000000 +ob3 +\+ 0 +00000178 +0+1301 R_SH_DIR32 +00000000 +ob4 +\+ 0 +0000017c +0+8401 R_SH_DIR32 +00000000 +oa3 +\+ 0 +00000180 +0+2b01 R_SH_DIR32 +00000058 +oc23 +\+ 0 +00000184 +0+0a01 R_SH_DIR32 +0000005c +oc123 +\+ 0 +00000188 +0+6001 R_SH_DIR32 +00000000 +ob12 +\+ 0 +0000018c +0+5501 R_SH_DIR32 +00000000 +ob13 +\+ 0 +00000190 +0+4d01 R_SH_DIR32 +000000c8 +ob13 +\+ 0 +00000194 +0+8201 R_SH_DIR32 +000000cc +ob23 +\+ 0 +00000198 +0+5801 R_SH_DIR32 +00000000 +ob23 +\+ 0 +0000019c +0+6601 R_SH_DIR32 +00000000 +ob123 +\+ 0 +000001a0 +0+5901 R_SH_DIR32 +00000000 +oc1 +\+ 0 +000001a4 +0+1101 R_SH_DIR32 +000000bc +ob3 +\+ 0 +000001a8 +0+4401 R_SH_DIR32 +000000d0 +ob123 +\+ 0 +000001ac +0+0901 R_SH_DIR32 +00000000 +oc2 +\+ 0 +000001b0 +0+3701 R_SH_DIR32 +00000000 +oc3 +\+ 0 +000001b4 +0+5301 R_SH_DIR32 +00000000 +oc4 +\+ 0 +000001b8 +0+5a01 R_SH_DIR32 +00000000 +oc12 +\+ 0 +000001bc +0+5c01 R_SH_DIR32 +00000000 +oc13 +\+ 0 +000001c0 +0+2a01 R_SH_DIR32 +00000000 +oc23 +\+ 0 +000001c4 +0+3301 R_SH_DIR32 +00000000 +oc123 +\+ 0 +000001c8 +0+7a01 R_SH_DIR32 +00000000 +a1 +\+ 0 +000001cc +0+1a01 R_SH_DIR32 +00000098 +c2 +\+ 0 +000001d0 +0+6f01 R_SH_DIR32 +00000034 +b23 +\+ 0 +000001d4 +0+3d01 R_SH_DIR32 +00000000 +b1 +\+ 0 +000001d8 +0+8301 R_SH_DIR32 +00000000 +c1 +\+ 0 +000001dc +0+6901 R_SH_DIR32 +00000000 +a12 +\+ 0 +000001e0 +0+5601 R_SH_DIR32 +00000000 +a2 +\+ 0 +000001e4 +0+0d01 R_SH_DIR32 +00000020 +b2 +\+ 0 +000001e8 +0+5201 R_SH_DIR32 +00000000 +b12 +\+ 0 +000001ec +0+2001 R_SH_DIR32 +00000000 +c12 +\+ 0 +000001f0 +0+5401 R_SH_DIR32 +0000003c +b123 +\+ 0 +000001f4 +0+7e01 R_SH_DIR32 +000000b0 +c123 +\+ 0 +000001f8 +0+1501 R_SH_DIR32 +00000000 +a13 +\+ 0 +000001fc +0+2901 R_SH_DIR32 +00000000 +b13 +\+ 0 +00000200 +0+3901 R_SH_DIR32 +000000ac +c23 +\+ 0 +00000204 +0+3e01 R_SH_DIR32 +00000000 +a123 +\+ 0 +00000208 +0+3101 R_SH_DIR32 +00000000 +c13 +\+ 0 +0000020c +0+6201 R_SH_DIR32 +00000000 +a123 +\+ 0 +00000210 +0+6e01 R_SH_DIR32 +000000a4 +c12 +\+ 0 +00000214 +0+7001 R_SH_DIR32 +00000000 +a23 +\+ 0 +00000218 +0+0c01 R_SH_DIR32 +00000000 +b123 +\+ 0 +0000021c +0+4001 R_SH_DIR32 +00000000 +a12 +\+ 0 +00000220 +0+7301 R_SH_DIR32 +0000002c +b12 +\+ 0 +00000224 +0+3a01 R_SH_DIR32 +00000000 +c123 +\+ 0 Symbol table '\.symtab' contains 134 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 00000000 0 NOTYPE LOCAL DEFAULT UND - 1: 00000000 0 SECTION LOCAL DEFAULT 1 - 2: 00000000 0 SECTION LOCAL DEFAULT 3 - 3: 00000000 0 SECTION LOCAL DEFAULT 5 - 4: 00000000 0 SECTION LOCAL DEFAULT 6 - 5: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved5 - 6: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved9 - 7: 0000000c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file1text2 - 8: 00000064 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file2text1 - 9: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc2 - 10: 0000005c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc123 - 11: 00000004 0 NOTYPE GLOBAL DEFAULT 3 file1data1 - 12: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b123 - 13: 00000020 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b2 - 14: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c4 - 15: 0000012c 0 NOTYPE GLOBAL DEFAULT 3 file2data4 - 16: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa4 - 17: 000000bc 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob3 - 18: 00000050 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc12 - 19: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob4 - 20: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob1 - 21: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a13 - 22: 00000048 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc3 - 23: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa2 - 24: 000000a0 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c4 - 25: 00000054 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc13 - 26: 00000098 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c2 - 27: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa12 - 28: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa13 - 29: 000000c0 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob4 - 30: 0000001c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b1 - 31: 00000018 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file1text5 - 32: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c12 - 33: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1text5 - 34: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob2 - 35: 00000010 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file1text3 - 36: 00000124 0 NOTYPE GLOBAL DEFAULT 3 file2data2 - 37: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a4 - 38: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a2 - 39: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved1 - 40: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1data3 - 41: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b13 - 42: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc23 - 43: 00000058 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc23 - 44: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c2 - 45: 0000000c 0 NOTYPE GLOBAL DEFAULT 3 file1data2 - 46: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b3 - 47: 00000000 0 NOTYPE GLOBAL DEFAULT UND a3 - 48: 00000070 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file2text3 - 49: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c13 - 50: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved9 - 51: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc123 - 52: 00000028 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b4 - 53: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file2data4 - 54: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c23 - 55: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc3 - 56: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa23 - 57: 000000ac 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c23 - 58: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c123 - 59: 00000030 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b13 - 60: 000000a8 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c13 - 61: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b1 - 62: 00000000 0 NOTYPE GLOBAL DEFAULT UND a123 - 63: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa23 - 64: 00000000 0 NOTYPE GLOBAL DEFAULT UND a12 - 65: 000000b4 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob1 - 66: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved7 - 67: 00000060 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 start2 - 68: 000000d0 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob123 - 69: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa13 - 70: 00000094 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c1 - 71: 0000004c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc4 - 72: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa1 - 73: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa12 - 74: 000000c4 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob12 - 75: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1data2 - 76: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved1 - 77: 000000c8 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob13 - 78: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a3 - 79: 00000018 0 NOTYPE GLOBAL DEFAULT 3 file1data5 - 80: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa123 - 81: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved6 - 82: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b12 - 83: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc4 - 84: 0000003c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b123 - 85: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob13 - 86: 00000000 0 NOTYPE GLOBAL DEFAULT UND a2 - 87: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa123 - 88: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob23 - 89: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc1 - 90: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc12 - 91: 00000004 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file1text1 - 92: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc13 - 93: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1text1 - 94: 0000006c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file2text2 - 95: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob3 - 96: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob12 - 97: 000000b8 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob2 - 98: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a123 - 99: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c3 - 100: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved3 - 101: 00000024 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b3 - 102: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob123 - 103: 00000074 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file2text4 - 104: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b4 - 105: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a12 - 106: 0000009c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c3 - 107: 00000040 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc1 - 108: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved6 - 109: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa3 - 110: 000000a4 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c12 - 111: 00000034 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b23 - 112: 00000000 0 NOTYPE GLOBAL DEFAULT UND a23 - 113: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b2 - 114: 00000044 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc2 - 115: 0000002c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b12 - 116: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved2 - 117: 00000000 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 start - 118: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a23 - 119: 00000014 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file1text4 - 120: 00000128 0 NOTYPE GLOBAL DEFAULT 3 file2data3 - 121: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa2 - 122: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a1 - 123: 00000000 0 NOTYPE GLOBAL DEFAULT UND unresolved4 - 124: 0000011c 0 NOTYPE GLOBAL DEFAULT 3 file2data1 - 125: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b23 - 126: 000000b0 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c123 - 127: 00000000 0 NOTYPE GLOBAL DEFAULT UND a13 - 128: 00000010 0 NOTYPE GLOBAL DEFAULT 3 file1data3 - 129: 00000014 0 NOTYPE GLOBAL DEFAULT 3 file1data4 - 130: 000000cc 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob23 - 131: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c1 - 132: 00000000 0 NOTYPE GLOBAL DEFAULT UND oa3 - 133: 00000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved8 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 00000000 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 00000000 +0 +SECTION +LOCAL +DEFAULT +1 + +2: 00000000 +0 +SECTION +LOCAL +DEFAULT +3 + +3: 00000000 +0 +SECTION +LOCAL +DEFAULT +5 + +4: 00000000 +0 +SECTION +LOCAL +DEFAULT +6 + +5: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved5 + +6: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved9 + +7: 0000000c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file1text2 + +8: 00000064 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file2text1 + +9: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc2 + +10: 0000005c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc123 + +11: 00000004 +0 +NOTYPE +GLOBAL +DEFAULT +3 file1data1 + +12: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b123 + +13: 00000020 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b2 + +14: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c4 + +15: 0000012c +0 +NOTYPE +GLOBAL +DEFAULT +3 file2data4 + +16: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa4 + +17: 000000bc +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob3 + +18: 00000050 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc12 + +19: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob4 + +20: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob1 + +21: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a13 + +22: 00000048 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc3 + +23: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa2 + +24: 000000a0 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c4 + +25: 00000054 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc13 + +26: 00000098 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c2 + +27: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa12 + +28: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND oa13 + +29: 000000c0 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob4 + +30: 0000001c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b1 + +31: 00000018 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file1text5 + +32: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c12 + +33: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND file1text5 + +34: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob2 + +35: 00000010 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file1text3 + +36: 00000124 +0 +NOTYPE +GLOBAL +DEFAULT +3 file2data2 + +37: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a4 + +38: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a2 + +39: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND unresolved1 + +40: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND file1data3 + +41: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b13 + +42: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc23 + +43: 00000058 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc23 + +44: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c2 + +45: 0000000c +0 +NOTYPE +GLOBAL +DEFAULT +3 file1data2 + +46: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b3 + +47: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND a3 + +48: 00000070 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file2text3 + +49: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c13 + +50: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND unresolved9 + +51: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc123 + +52: 00000028 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b4 + +53: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND file2data4 + +54: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c23 + +55: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc3 + +56: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa23 + +57: 000000ac +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c23 + +58: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c123 + +59: 00000030 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b13 + +60: 000000a8 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c13 + +61: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b1 + +62: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND a123 + +63: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND oa23 + +64: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND a12 + +65: 000000b4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob1 + +66: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND unresolved7 + +67: 00000060 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start2 + +68: 000000d0 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob123 + +69: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa13 + +70: 00000094 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c1 + +71: 0000004c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc4 + +72: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa1 + +73: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND oa12 + +74: 000000c4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob12 + +75: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND file1data2 + +76: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved1 + +77: 000000c8 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob13 + +78: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a3 + +79: 00000018 +0 +NOTYPE +GLOBAL +DEFAULT +3 file1data5 + +80: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa123 + +81: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved6 + +82: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b12 + +83: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc4 + +84: 0000003c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b123 + +85: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob13 + +86: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND a2 + +87: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND oa123 + +88: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob23 + +89: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc1 + +90: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc12 + +91: 00000004 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file1text1 + +92: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc13 + +93: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND file1text1 + +94: 0000006c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file2text2 + +95: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob3 + +96: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob12 + +97: 000000b8 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob2 + +98: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a123 + +99: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c3 + +100: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved3 + +101: 00000024 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b3 + +102: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob123 + +103: 00000074 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file2text4 + +104: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b4 + +105: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a12 + +106: 0000009c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c3 + +107: 00000040 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc1 + +108: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND unresolved6 + +109: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa3 + +110: 000000a4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c12 + +111: 00000034 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b23 + +112: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND a23 + +113: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b2 + +114: 00000044 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc2 + +115: 0000002c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b12 + +116: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved2 + +117: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start + +118: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a23 + +119: 00000014 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file1text4 + +120: 00000128 +0 +NOTYPE +GLOBAL +DEFAULT +3 file2data3 + +121: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND oa2 + +122: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a1 + +123: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved4 + +124: 0000011c +0 +NOTYPE +GLOBAL +DEFAULT +3 file2data1 + +125: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b23 + +126: 000000b0 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c123 + +127: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND a13 + +128: 00000010 +0 +NOTYPE +GLOBAL +DEFAULT +3 file1data3 + +129: 00000014 +0 +NOTYPE +GLOBAL +DEFAULT +3 file1data4 + +130: 000000cc +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob23 + +131: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c1 + +132: 00000000 +0 +NOTYPE +GLOBAL +DEFAULT +UND oa3 + +133: 00000000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND unresolved8 Hex dump of section '\.text': .* diff --git a/ld/testsuite/ld-sh/sh64/reldl64.rd b/ld/testsuite/ld-sh/sh64/reldl64.rd index a34537b..8bd5502 100644 --- a/ld/testsuite/ld-sh/sh64/reldl64.rd +++ b/ld/testsuite/ld-sh/sh64/reldl64.rd @@ -1,308 +1,308 @@ Relocation section '\.rela\.text' at offset 0x[0-9a-f]+ contains 28 entries: .* -0+8 0+5b000000f6 R_SH_IMM_LOW16[ ]+0+4 +file1text1[ ]+\+ 0 -0+c 0+2d000000f6 R_SH_IMM_LOW16[ ]+0+c +file1data2[ ]+\+ 0 -0+10 0+30000000f6 R_SH_IMM_LOW16[ ]+0+78 +file2text3[ ]+\+ 0 -0+14 0+0f000000f6 R_SH_IMM_LOW16[ ]+0+12c +file2data4[ ]+\+ 0 -0+18 0+4c000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved1[ ]+\+ 0 -0+1c 0+51000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved6[ ]+\+ 0 -0+20 0+5d000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text1[ ]+\+ 0 -0+24 0+5d000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text1[ ]+\+ 18 -0+28 0+21000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text5[ ]+\+ 8 -0+2c 0+2d000000f6 R_SH_IMM_LOW16[ ]+0+c +file1data2[ ]+\+ 30 -0+30 0+2d000000f6 R_SH_IMM_LOW16[ ]+0+c +file1data2[ ]+\+ 0 -0+44 0+42000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved7[ ]+\+ 0 -0+48 0+27000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved1[ ]+\+ 0 -0+34 0+35000000fc R_SH_IMM_HI16[ ]+0+ +file2data4[ ]+\+ 10 -0+38 0+35000000fa R_SH_IMM_MEDHI16[ ]+0+ +file2data4[ ]+\+ 10 -0+3c 0+35000000f8 R_SH_IMM_MEDLOW16[ ]+0+ +file2data4[ ]+\+ 10 -0+40 0+35000000f6 R_SH_IMM_LOW16[ ]+0+ +file2data4[ ]+\+ 10 -0+70 0+08000000f6 R_SH_IMM_LOW16[ ]+0+6c +file2text1[ ]+\+ 0 -0+74 0+24000000f6 R_SH_IMM_LOW16[ ]+0+124 +file2data2[ ]+\+ 0 -0+78 0+23000000f6 R_SH_IMM_LOW16[ ]+0+10 +file1text3[ ]+\+ 0 -0+7c 0+81000000f6 R_SH_IMM_LOW16[ ]+0+14 +file1data4[ ]+\+ 0 -0+80 0+4c000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved1[ ]+\+ 0 -0+84 0+64000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved3[ ]+\+ 0 -0+88 0+85000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved8[ ]+\+ 0 -0+8c 0+32000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved9[ ]+\+ 0 -0+90 0+5d000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text1[ ]+\+ 0 -0+94 0+4b000000f6 R_SH_IMM_LOW16[ ]+0+ +file1data2[ ]+\+ 0 -0+98 0+28000000f6 R_SH_IMM_LOW16[ ]+0+ +file1data3[ ]+\+ 0 +0+8 +0+5b000000f6 R_SH_IMM_LOW16[ ]+0+4 +file1text1[ ]+\+ 0 +0+c +0+2d000000f6 R_SH_IMM_LOW16[ ]+0+c +file1data2[ ]+\+ 0 +0+10 +0+30000000f6 R_SH_IMM_LOW16[ ]+0+78 +file2text3[ ]+\+ 0 +0+14 +0+0f000000f6 R_SH_IMM_LOW16[ ]+0+12c +file2data4[ ]+\+ 0 +0+18 +0+4c000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved1[ ]+\+ 0 +0+1c +0+51000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved6[ ]+\+ 0 +0+20 +0+5d000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text1[ ]+\+ 0 +0+24 +0+5d000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text1[ ]+\+ 18 +0+28 +0+21000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text5[ ]+\+ 8 +0+2c +0+2d000000f6 R_SH_IMM_LOW16[ ]+0+c +file1data2[ ]+\+ 30 +0+30 +0+2d000000f6 R_SH_IMM_LOW16[ ]+0+c +file1data2[ ]+\+ 0 +0+44 +0+42000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved7[ ]+\+ 0 +0+48 +0+27000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved1[ ]+\+ 0 +0+34 +0+35000000fc R_SH_IMM_HI16[ ]+0+ +file2data4[ ]+\+ 10 +0+38 +0+35000000fa R_SH_IMM_MEDHI16[ ]+0+ +file2data4[ ]+\+ 10 +0+3c +0+35000000f8 R_SH_IMM_MEDLOW16[ ]+0+ +file2data4[ ]+\+ 10 +0+40 +0+35000000f6 R_SH_IMM_LOW16[ ]+0+ +file2data4[ ]+\+ 10 +0+70 +0+08000000f6 R_SH_IMM_LOW16[ ]+0+6c +file2text1[ ]+\+ 0 +0+74 +0+24000000f6 R_SH_IMM_LOW16[ ]+0+124 +file2data2[ ]+\+ 0 +0+78 +0+23000000f6 R_SH_IMM_LOW16[ ]+0+10 +file1text3[ ]+\+ 0 +0+7c +0+81000000f6 R_SH_IMM_LOW16[ ]+0+14 +file1data4[ ]+\+ 0 +0+80 +0+4c000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved1[ ]+\+ 0 +0+84 +0+64000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved3[ ]+\+ 0 +0+88 +0+85000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved8[ ]+\+ 0 +0+8c +0+32000000f6 R_SH_IMM_LOW16[ ]+0+ +unresolved9[ ]+\+ 0 +0+90 +0+5d000000f6 R_SH_IMM_LOW16[ ]+0+ +file1text1[ ]+\+ 0 +0+94 +0+4b000000f6 R_SH_IMM_LOW16[ ]+0+ +file1data2[ ]+\+ 0 +0+98 +0+28000000f6 R_SH_IMM_LOW16[ ]+0+ +file1data3[ ]+\+ 0 Relocation section '\.rela\.data' at offset 0x[0-9a-f]+ contains 134 entries: .* -0+8 0+0b00000001 R_SH_DIR32[ ]+0+4 +file1data1[ ]+\+ 0 -0+c 0+700000001 R_SH_DIR32[ ]+0+c +file1text2[ ]+\+ 0 -0+10 0+7800000001 R_SH_DIR32[ ]+0+128 +file2data3[ ]+\+ 0 -0+14 0+6700000001 R_SH_DIR32[ ]+0+7c +file2text4[ ]+\+ 0 -0+18 0+7400000001 R_SH_DIR32[ ]+0+ +unresolved2[ ]+\+ 0 -0+1c 0+0500000001 R_SH_DIR32[ ]+0+ +unresolved5[ ]+\+ 0 -0+20 0+6c00000001 R_SH_DIR32[ ]+0+ +unresolved6[ ]+\+ 0 -0+24 0+0600000001 R_SH_DIR32[ ]+0+ +unresolved9[ ]+\+ 0 -0+28 0+7a00000001 R_SH_DIR32[ ]+0+ +a1[ ]+\+ 0 -0+2c 0+7000000001 R_SH_DIR32[ ]+0+ +a23[ ]+\+ 0 -0+30 0+5400000001 R_SH_DIR32[ ]+0+44 +b123[ ]+\+ 0 -0+34 0+6a00000001 R_SH_DIR32[ ]+0+a4 +c3[ ]+\+ 0 -0+38 0+3c00000001 R_SH_DIR32[ ]+0+b0 +c13[ ]+\+ 0 -0+3c 0+2600000001 R_SH_DIR32[ ]+0+ +a2[ ]+\+ 0 -0+40 0+4e00000001 R_SH_DIR32[ ]+0+ +a3[ ]+\+ 0 -0+44 0+2500000001 R_SH_DIR32[ ]+0+ +a4[ ]+\+ 0 -0+48 0+6900000001 R_SH_DIR32[ ]+0+ +a12[ ]+\+ 0 -0+4c 0+1500000001 R_SH_DIR32[ ]+0+ +a13[ ]+\+ 0 -0+50 0+7600000001 R_SH_DIR32[ ]+0+ +a23[ ]+\+ 0 -0+54 0+6200000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 -0+58 0+3d00000001 R_SH_DIR32[ ]+0+ +b1[ ]+\+ 0 -0+5c 0+7100000001 R_SH_DIR32[ ]+0+ +b2[ ]+\+ 0 -0+60 0+2f00000001 R_SH_DIR32[ ]+0+ +a3[ ]+\+ 0 -0+64 0+7f00000001 R_SH_DIR32[ ]+0+ +a13[ ]+\+ 0 -0+68 0+2e00000001 R_SH_DIR32[ ]+0+ +b3[ ]+\+ 0 -0+6c 0+6800000001 R_SH_DIR32[ ]+0+ +b4[ ]+\+ 0 -0+70 0+5200000001 R_SH_DIR32[ ]+0+ +b12[ ]+\+ 0 -0+74 0+2900000001 R_SH_DIR32[ ]+0+ +b13[ ]+\+ 0 -0+78 0+3e00000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 -0+7c 0+6500000001 R_SH_DIR32[ ]+0+24 +b3[ ]+\+ 0 -0+80 0+3b00000001 R_SH_DIR32[ ]+0+30 +b13[ ]+\+ 0 -0+84 0+6f00000001 R_SH_DIR32[ ]+0+34 +b23[ ]+\+ 0 -0+88 0+7d00000001 R_SH_DIR32[ ]+0+ +b23[ ]+\+ 0 -0+8c 0+0c00000001 R_SH_DIR32[ ]+0+ +b123[ ]+\+ 0 -0+90 0+8300000001 R_SH_DIR32[ ]+0+ +c1[ ]+\+ 0 -0+94 0+2c00000001 R_SH_DIR32[ ]+0+ +c2[ ]+\+ 0 -0+98 0+6300000001 R_SH_DIR32[ ]+0+ +c3[ ]+\+ 0 -0+9c 0+3900000001 R_SH_DIR32[ ]+0+b4 +c23[ ]+\+ 0 -0+a0 0+7e00000001 R_SH_DIR32[ ]+0+b8 +c123[ ]+\+ 0 -0+a4 0+0e00000001 R_SH_DIR32[ ]+0+ +c4[ ]+\+ 0 -0+a8 0+2000000001 R_SH_DIR32[ ]+0+ +c12[ ]+\+ 0 -0+ac 0+3100000001 R_SH_DIR32[ ]+0+ +c13[ ]+\+ 0 -0+b0 0+3600000001 R_SH_DIR32[ ]+0+ +c23[ ]+\+ 0 -0+b4 0+3a00000001 R_SH_DIR32[ ]+0+ +c123[ ]+\+ 0 -0+b8 0+4800000001 R_SH_DIR32[ ]+0+ +oa1[ ]+\+ 0 -0+bc 0+1400000001 R_SH_DIR32[ ]+0+ +ob1[ ]+\+ 0 -0+c0 0+4400000001 R_SH_DIR32[ ]+0+d8 +ob123[ ]+\+ 0 -0+c4 0+5900000001 R_SH_DIR32[ ]+0+ +oc1[ ]+\+ 0 -0+c8 0+7900000001 R_SH_DIR32[ ]+0+ +oa2[ ]+\+ 0 -0+cc 0+6100000001 R_SH_DIR32[ ]+0+c0 +ob2[ ]+\+ 0 -0+d0 0+7200000001 R_SH_DIR32[ ]+0+4c +oc2[ ]+\+ 0 -0+d4 0+4900000001 R_SH_DIR32[ ]+0+ +oa12[ ]+\+ 0 -0+d8 0+1b00000001 R_SH_DIR32[ ]+0+ +oa12[ ]+\+ 0 -0+dc 0+6000000001 R_SH_DIR32[ ]+0+ +ob12[ ]+\+ 0 -0+e0 0+4a00000001 R_SH_DIR32[ ]+0+cc +ob12[ ]+\+ 0 -0+e4 0+5a00000001 R_SH_DIR32[ ]+0+ +oc12[ ]+\+ 0 -0+e8 0+1200000001 R_SH_DIR32[ ]+0+58 +oc12[ ]+\+ 0 -0+ec 0+3f00000001 R_SH_DIR32[ ]+0+ +oa23[ ]+\+ 0 -0+f0 0+4500000001 R_SH_DIR32[ ]+0+ +oa13[ ]+\+ 0 -0+f4 0+0a00000001 R_SH_DIR32[ ]+0+64 +oc123[ ]+\+ 0 -0+f8 0+5500000001 R_SH_DIR32[ ]+0+ +ob13[ ]+\+ 0 -0+fc 0+5c00000001 R_SH_DIR32[ ]+0+ +oc13[ ]+\+ 0 -0+100 0+8200000001 R_SH_DIR32[ ]+0+d4 +ob23[ ]+\+ 0 -0+104 0+2b00000001 R_SH_DIR32[ ]+0+60 +oc23[ ]+\+ 0 -0+108 0+5700000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 -0+10c 0+5000000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 -0+110 0+6600000001 R_SH_DIR32[ ]+0+ +ob123[ ]+\+ 0 -0+114 0+3300000001 R_SH_DIR32[ ]+0+ +oc123[ ]+\+ 0 -0+120 0+7c00000001 R_SH_DIR32[ ]+0+11c +file2data1[ ]+\+ 0 -0+124 0+5e00000001 R_SH_DIR32[ ]+0+74 +file2text2[ ]+\+ 0 -0+128 0+8000000001 R_SH_DIR32[ ]+0+10 +file1data3[ ]+\+ 0 -0+12c 0+7700000001 R_SH_DIR32[ ]+0+14 +file1text4[ ]+\+ 0 -0+130 0+7400000001 R_SH_DIR32[ ]+0+ +unresolved2[ ]+\+ 0 -0+134 0+7b00000001 R_SH_DIR32[ ]+0+ +unresolved4[ ]+\+ 0 -0+138 0+4800000001 R_SH_DIR32[ ]+0+ +oa1[ ]+\+ 0 -0+13c 0+1700000001 R_SH_DIR32[ ]+0+ +oa2[ ]+\+ 0 -0+140 0+6d00000001 R_SH_DIR32[ ]+0+ +oa3[ ]+\+ 0 -0+144 0+1c00000001 R_SH_DIR32[ ]+0+ +oa13[ ]+\+ 0 -0+148 0+1900000001 R_SH_DIR32[ ]+0+5c +oc13[ ]+\+ 0 -0+14c 0+1000000001 R_SH_DIR32[ ]+0+ +oa4[ ]+\+ 0 -0+150 0+1b00000001 R_SH_DIR32[ ]+0+ +oa12[ ]+\+ 0 -0+154 0+4500000001 R_SH_DIR32[ ]+0+ +oa13[ ]+\+ 0 -0+158 0+3800000001 R_SH_DIR32[ ]+0+ +oa23[ ]+\+ 0 -0+15c 0+3f00000001 R_SH_DIR32[ ]+0+ +oa23[ ]+\+ 0 -0+160 0+5700000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 -0+164 0+1600000001 R_SH_DIR32[ ]+0+50 +oc3[ ]+\+ 0 -0+168 0+5000000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 -0+16c 0+1400000001 R_SH_DIR32[ ]+0+ +ob1[ ]+\+ 0 -0+170 0+2200000001 R_SH_DIR32[ ]+0+ +ob2[ ]+\+ 0 -0+174 0+5f00000001 R_SH_DIR32[ ]+0+ +ob3[ ]+\+ 0 -0+178 0+1300000001 R_SH_DIR32[ ]+0+ +ob4[ ]+\+ 0 -0+17c 0+8400000001 R_SH_DIR32[ ]+0+ +oa3[ ]+\+ 0 -0+180 0+2b00000001 R_SH_DIR32[ ]+0+60 +oc23[ ]+\+ 0 -0+184 0+0a00000001 R_SH_DIR32[ ]+0+64 +oc123[ ]+\+ 0 -0+188 0+6000000001 R_SH_DIR32[ ]+0+ +ob12[ ]+\+ 0 -0+18c 0+5500000001 R_SH_DIR32[ ]+0+ +ob13[ ]+\+ 0 -0+190 0+4d00000001 R_SH_DIR32[ ]+0+d0 +ob13[ ]+\+ 0 -0+194 0+8200000001 R_SH_DIR32[ ]+0+d4 +ob23[ ]+\+ 0 -0+198 0+5800000001 R_SH_DIR32[ ]+0+ +ob23[ ]+\+ 0 -0+19c 0+6600000001 R_SH_DIR32[ ]+0+ +ob123[ ]+\+ 0 -0+1a0 0+5900000001 R_SH_DIR32[ ]+0+ +oc1[ ]+\+ 0 -0+1a4 0+1100000001 R_SH_DIR32[ ]+0+c4 +ob3[ ]+\+ 0 -0+1a8 0+4400000001 R_SH_DIR32[ ]+0+d8 +ob123[ ]+\+ 0 -0+1ac 0+0900000001 R_SH_DIR32[ ]+0+ +oc2[ ]+\+ 0 -0+1b0 0+3700000001 R_SH_DIR32[ ]+0+ +oc3[ ]+\+ 0 -0+1b4 0+5300000001 R_SH_DIR32[ ]+0+ +oc4[ ]+\+ 0 -0+1b8 0+5a00000001 R_SH_DIR32[ ]+0+ +oc12[ ]+\+ 0 -0+1bc 0+5c00000001 R_SH_DIR32[ ]+0+ +oc13[ ]+\+ 0 -0+1c0 0+2a00000001 R_SH_DIR32[ ]+0+ +oc23[ ]+\+ 0 -0+1c4 0+3300000001 R_SH_DIR32[ ]+0+ +oc123[ ]+\+ 0 -0+1c8 0+7a00000001 R_SH_DIR32[ ]+0+ +a1[ ]+\+ 0 -0+1cc 0+1a00000001 R_SH_DIR32[ ]+0+a0 +c2[ ]+\+ 0 -0+1d0 0+6f00000001 R_SH_DIR32[ ]+0+34 +b23[ ]+\+ 0 -0+1d4 0+3d00000001 R_SH_DIR32[ ]+0+ +b1[ ]+\+ 0 -0+1d8 0+8300000001 R_SH_DIR32[ ]+0+ +c1[ ]+\+ 0 -0+1dc 0+6900000001 R_SH_DIR32[ ]+0+ +a12[ ]+\+ 0 -0+1e0 0+5600000001 R_SH_DIR32[ ]+0+ +a2[ ]+\+ 0 -0+1e4 0+0d00000001 R_SH_DIR32[ ]+0+20 +b2[ ]+\+ 0 -0+1e8 0+5200000001 R_SH_DIR32[ ]+0+ +b12[ ]+\+ 0 -0+1ec 0+2000000001 R_SH_DIR32[ ]+0+ +c12[ ]+\+ 0 -0+1f0 0+5400000001 R_SH_DIR32[ ]+0+44 +b123[ ]+\+ 0 -0+1f4 0+7e00000001 R_SH_DIR32[ ]+0+b8 +c123[ ]+\+ 0 -0+1f8 0+1500000001 R_SH_DIR32[ ]+0+ +a13[ ]+\+ 0 -0+1fc 0+2900000001 R_SH_DIR32[ ]+0+ +b13[ ]+\+ 0 -0+200 0+3900000001 R_SH_DIR32[ ]+0+b4 +c23[ ]+\+ 0 -0+204 0+3e00000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 -0+208 0+3100000001 R_SH_DIR32[ ]+0+ +c13[ ]+\+ 0 -0+20c 0+6200000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 -0+210 0+6e00000001 R_SH_DIR32[ ]+0+ac +c12[ ]+\+ 0 -0+214 0+7000000001 R_SH_DIR32[ ]+0+ +a23[ ]+\+ 0 -0+218 0+0c00000001 R_SH_DIR32[ ]+0+ +b123[ ]+\+ 0 -0+21c 0+4000000001 R_SH_DIR32[ ]+0+ +a12[ ]+\+ 0 -0+220 0+7300000001 R_SH_DIR32[ ]+0+2c +b12[ ]+\+ 0 -0+224 0+3a00000001 R_SH_DIR32[ ]+0+ +c123[ ]+\+ 0 +0+8 +0+0b00000001 R_SH_DIR32[ ]+0+4 +file1data1[ ]+\+ 0 +0+c +0+700000001 R_SH_DIR32[ ]+0+c +file1text2[ ]+\+ 0 +0+10 +0+7800000001 R_SH_DIR32[ ]+0+128 +file2data3[ ]+\+ 0 +0+14 +0+6700000001 R_SH_DIR32[ ]+0+7c +file2text4[ ]+\+ 0 +0+18 +0+7400000001 R_SH_DIR32[ ]+0+ +unresolved2[ ]+\+ 0 +0+1c +0+0500000001 R_SH_DIR32[ ]+0+ +unresolved5[ ]+\+ 0 +0+20 +0+6c00000001 R_SH_DIR32[ ]+0+ +unresolved6[ ]+\+ 0 +0+24 +0+0600000001 R_SH_DIR32[ ]+0+ +unresolved9[ ]+\+ 0 +0+28 +0+7a00000001 R_SH_DIR32[ ]+0+ +a1[ ]+\+ 0 +0+2c +0+7000000001 R_SH_DIR32[ ]+0+ +a23[ ]+\+ 0 +0+30 +0+5400000001 R_SH_DIR32[ ]+0+44 +b123[ ]+\+ 0 +0+34 +0+6a00000001 R_SH_DIR32[ ]+0+a4 +c3[ ]+\+ 0 +0+38 +0+3c00000001 R_SH_DIR32[ ]+0+b0 +c13[ ]+\+ 0 +0+3c +0+2600000001 R_SH_DIR32[ ]+0+ +a2[ ]+\+ 0 +0+40 +0+4e00000001 R_SH_DIR32[ ]+0+ +a3[ ]+\+ 0 +0+44 +0+2500000001 R_SH_DIR32[ ]+0+ +a4[ ]+\+ 0 +0+48 +0+6900000001 R_SH_DIR32[ ]+0+ +a12[ ]+\+ 0 +0+4c +0+1500000001 R_SH_DIR32[ ]+0+ +a13[ ]+\+ 0 +0+50 +0+7600000001 R_SH_DIR32[ ]+0+ +a23[ ]+\+ 0 +0+54 +0+6200000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 +0+58 +0+3d00000001 R_SH_DIR32[ ]+0+ +b1[ ]+\+ 0 +0+5c +0+7100000001 R_SH_DIR32[ ]+0+ +b2[ ]+\+ 0 +0+60 +0+2f00000001 R_SH_DIR32[ ]+0+ +a3[ ]+\+ 0 +0+64 +0+7f00000001 R_SH_DIR32[ ]+0+ +a13[ ]+\+ 0 +0+68 +0+2e00000001 R_SH_DIR32[ ]+0+ +b3[ ]+\+ 0 +0+6c +0+6800000001 R_SH_DIR32[ ]+0+ +b4[ ]+\+ 0 +0+70 +0+5200000001 R_SH_DIR32[ ]+0+ +b12[ ]+\+ 0 +0+74 +0+2900000001 R_SH_DIR32[ ]+0+ +b13[ ]+\+ 0 +0+78 +0+3e00000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 +0+7c +0+6500000001 R_SH_DIR32[ ]+0+24 +b3[ ]+\+ 0 +0+80 +0+3b00000001 R_SH_DIR32[ ]+0+30 +b13[ ]+\+ 0 +0+84 +0+6f00000001 R_SH_DIR32[ ]+0+34 +b23[ ]+\+ 0 +0+88 +0+7d00000001 R_SH_DIR32[ ]+0+ +b23[ ]+\+ 0 +0+8c +0+0c00000001 R_SH_DIR32[ ]+0+ +b123[ ]+\+ 0 +0+90 +0+8300000001 R_SH_DIR32[ ]+0+ +c1[ ]+\+ 0 +0+94 +0+2c00000001 R_SH_DIR32[ ]+0+ +c2[ ]+\+ 0 +0+98 +0+6300000001 R_SH_DIR32[ ]+0+ +c3[ ]+\+ 0 +0+9c +0+3900000001 R_SH_DIR32[ ]+0+b4 +c23[ ]+\+ 0 +0+a0 +0+7e00000001 R_SH_DIR32[ ]+0+b8 +c123[ ]+\+ 0 +0+a4 +0+0e00000001 R_SH_DIR32[ ]+0+ +c4[ ]+\+ 0 +0+a8 +0+2000000001 R_SH_DIR32[ ]+0+ +c12[ ]+\+ 0 +0+ac +0+3100000001 R_SH_DIR32[ ]+0+ +c13[ ]+\+ 0 +0+b0 +0+3600000001 R_SH_DIR32[ ]+0+ +c23[ ]+\+ 0 +0+b4 +0+3a00000001 R_SH_DIR32[ ]+0+ +c123[ ]+\+ 0 +0+b8 +0+4800000001 R_SH_DIR32[ ]+0+ +oa1[ ]+\+ 0 +0+bc +0+1400000001 R_SH_DIR32[ ]+0+ +ob1[ ]+\+ 0 +0+c0 +0+4400000001 R_SH_DIR32[ ]+0+d8 +ob123[ ]+\+ 0 +0+c4 +0+5900000001 R_SH_DIR32[ ]+0+ +oc1[ ]+\+ 0 +0+c8 +0+7900000001 R_SH_DIR32[ ]+0+ +oa2[ ]+\+ 0 +0+cc +0+6100000001 R_SH_DIR32[ ]+0+c0 +ob2[ ]+\+ 0 +0+d0 +0+7200000001 R_SH_DIR32[ ]+0+4c +oc2[ ]+\+ 0 +0+d4 +0+4900000001 R_SH_DIR32[ ]+0+ +oa12[ ]+\+ 0 +0+d8 +0+1b00000001 R_SH_DIR32[ ]+0+ +oa12[ ]+\+ 0 +0+dc +0+6000000001 R_SH_DIR32[ ]+0+ +ob12[ ]+\+ 0 +0+e0 +0+4a00000001 R_SH_DIR32[ ]+0+cc +ob12[ ]+\+ 0 +0+e4 +0+5a00000001 R_SH_DIR32[ ]+0+ +oc12[ ]+\+ 0 +0+e8 +0+1200000001 R_SH_DIR32[ ]+0+58 +oc12[ ]+\+ 0 +0+ec +0+3f00000001 R_SH_DIR32[ ]+0+ +oa23[ ]+\+ 0 +0+f0 +0+4500000001 R_SH_DIR32[ ]+0+ +oa13[ ]+\+ 0 +0+f4 +0+0a00000001 R_SH_DIR32[ ]+0+64 +oc123[ ]+\+ 0 +0+f8 +0+5500000001 R_SH_DIR32[ ]+0+ +ob13[ ]+\+ 0 +0+fc +0+5c00000001 R_SH_DIR32[ ]+0+ +oc13[ ]+\+ 0 +0+100 +0+8200000001 R_SH_DIR32[ ]+0+d4 +ob23[ ]+\+ 0 +0+104 +0+2b00000001 R_SH_DIR32[ ]+0+60 +oc23[ ]+\+ 0 +0+108 +0+5700000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 +0+10c +0+5000000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 +0+110 +0+6600000001 R_SH_DIR32[ ]+0+ +ob123[ ]+\+ 0 +0+114 +0+3300000001 R_SH_DIR32[ ]+0+ +oc123[ ]+\+ 0 +0+120 +0+7c00000001 R_SH_DIR32[ ]+0+11c +file2data1[ ]+\+ 0 +0+124 +0+5e00000001 R_SH_DIR32[ ]+0+74 +file2text2[ ]+\+ 0 +0+128 +0+8000000001 R_SH_DIR32[ ]+0+10 +file1data3[ ]+\+ 0 +0+12c +0+7700000001 R_SH_DIR32[ ]+0+14 +file1text4[ ]+\+ 0 +0+130 +0+7400000001 R_SH_DIR32[ ]+0+ +unresolved2[ ]+\+ 0 +0+134 +0+7b00000001 R_SH_DIR32[ ]+0+ +unresolved4[ ]+\+ 0 +0+138 +0+4800000001 R_SH_DIR32[ ]+0+ +oa1[ ]+\+ 0 +0+13c +0+1700000001 R_SH_DIR32[ ]+0+ +oa2[ ]+\+ 0 +0+140 +0+6d00000001 R_SH_DIR32[ ]+0+ +oa3[ ]+\+ 0 +0+144 +0+1c00000001 R_SH_DIR32[ ]+0+ +oa13[ ]+\+ 0 +0+148 +0+1900000001 R_SH_DIR32[ ]+0+5c +oc13[ ]+\+ 0 +0+14c +0+1000000001 R_SH_DIR32[ ]+0+ +oa4[ ]+\+ 0 +0+150 +0+1b00000001 R_SH_DIR32[ ]+0+ +oa12[ ]+\+ 0 +0+154 +0+4500000001 R_SH_DIR32[ ]+0+ +oa13[ ]+\+ 0 +0+158 +0+3800000001 R_SH_DIR32[ ]+0+ +oa23[ ]+\+ 0 +0+15c +0+3f00000001 R_SH_DIR32[ ]+0+ +oa23[ ]+\+ 0 +0+160 +0+5700000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 +0+164 +0+1600000001 R_SH_DIR32[ ]+0+50 +oc3[ ]+\+ 0 +0+168 +0+5000000001 R_SH_DIR32[ ]+0+ +oa123[ ]+\+ 0 +0+16c +0+1400000001 R_SH_DIR32[ ]+0+ +ob1[ ]+\+ 0 +0+170 +0+2200000001 R_SH_DIR32[ ]+0+ +ob2[ ]+\+ 0 +0+174 +0+5f00000001 R_SH_DIR32[ ]+0+ +ob3[ ]+\+ 0 +0+178 +0+1300000001 R_SH_DIR32[ ]+0+ +ob4[ ]+\+ 0 +0+17c +0+8400000001 R_SH_DIR32[ ]+0+ +oa3[ ]+\+ 0 +0+180 +0+2b00000001 R_SH_DIR32[ ]+0+60 +oc23[ ]+\+ 0 +0+184 +0+0a00000001 R_SH_DIR32[ ]+0+64 +oc123[ ]+\+ 0 +0+188 +0+6000000001 R_SH_DIR32[ ]+0+ +ob12[ ]+\+ 0 +0+18c +0+5500000001 R_SH_DIR32[ ]+0+ +ob13[ ]+\+ 0 +0+190 +0+4d00000001 R_SH_DIR32[ ]+0+d0 +ob13[ ]+\+ 0 +0+194 +0+8200000001 R_SH_DIR32[ ]+0+d4 +ob23[ ]+\+ 0 +0+198 +0+5800000001 R_SH_DIR32[ ]+0+ +ob23[ ]+\+ 0 +0+19c +0+6600000001 R_SH_DIR32[ ]+0+ +ob123[ ]+\+ 0 +0+1a0 +0+5900000001 R_SH_DIR32[ ]+0+ +oc1[ ]+\+ 0 +0+1a4 +0+1100000001 R_SH_DIR32[ ]+0+c4 +ob3[ ]+\+ 0 +0+1a8 +0+4400000001 R_SH_DIR32[ ]+0+d8 +ob123[ ]+\+ 0 +0+1ac +0+0900000001 R_SH_DIR32[ ]+0+ +oc2[ ]+\+ 0 +0+1b0 +0+3700000001 R_SH_DIR32[ ]+0+ +oc3[ ]+\+ 0 +0+1b4 +0+5300000001 R_SH_DIR32[ ]+0+ +oc4[ ]+\+ 0 +0+1b8 +0+5a00000001 R_SH_DIR32[ ]+0+ +oc12[ ]+\+ 0 +0+1bc +0+5c00000001 R_SH_DIR32[ ]+0+ +oc13[ ]+\+ 0 +0+1c0 +0+2a00000001 R_SH_DIR32[ ]+0+ +oc23[ ]+\+ 0 +0+1c4 +0+3300000001 R_SH_DIR32[ ]+0+ +oc123[ ]+\+ 0 +0+1c8 +0+7a00000001 R_SH_DIR32[ ]+0+ +a1[ ]+\+ 0 +0+1cc +0+1a00000001 R_SH_DIR32[ ]+0+a0 +c2[ ]+\+ 0 +0+1d0 +0+6f00000001 R_SH_DIR32[ ]+0+34 +b23[ ]+\+ 0 +0+1d4 +0+3d00000001 R_SH_DIR32[ ]+0+ +b1[ ]+\+ 0 +0+1d8 +0+8300000001 R_SH_DIR32[ ]+0+ +c1[ ]+\+ 0 +0+1dc +0+6900000001 R_SH_DIR32[ ]+0+ +a12[ ]+\+ 0 +0+1e0 +0+5600000001 R_SH_DIR32[ ]+0+ +a2[ ]+\+ 0 +0+1e4 +0+0d00000001 R_SH_DIR32[ ]+0+20 +b2[ ]+\+ 0 +0+1e8 +0+5200000001 R_SH_DIR32[ ]+0+ +b12[ ]+\+ 0 +0+1ec +0+2000000001 R_SH_DIR32[ ]+0+ +c12[ ]+\+ 0 +0+1f0 +0+5400000001 R_SH_DIR32[ ]+0+44 +b123[ ]+\+ 0 +0+1f4 +0+7e00000001 R_SH_DIR32[ ]+0+b8 +c123[ ]+\+ 0 +0+1f8 +0+1500000001 R_SH_DIR32[ ]+0+ +a13[ ]+\+ 0 +0+1fc +0+2900000001 R_SH_DIR32[ ]+0+ +b13[ ]+\+ 0 +0+200 +0+3900000001 R_SH_DIR32[ ]+0+b4 +c23[ ]+\+ 0 +0+204 +0+3e00000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 +0+208 +0+3100000001 R_SH_DIR32[ ]+0+ +c13[ ]+\+ 0 +0+20c +0+6200000001 R_SH_DIR32[ ]+0+ +a123[ ]+\+ 0 +0+210 +0+6e00000001 R_SH_DIR32[ ]+0+ac +c12[ ]+\+ 0 +0+214 +0+7000000001 R_SH_DIR32[ ]+0+ +a23[ ]+\+ 0 +0+218 +0+0c00000001 R_SH_DIR32[ ]+0+ +b123[ ]+\+ 0 +0+21c +0+4000000001 R_SH_DIR32[ ]+0+ +a12[ ]+\+ 0 +0+220 +0+7300000001 R_SH_DIR32[ ]+0+2c +b12[ ]+\+ 0 +0+224 +0+3a00000001 R_SH_DIR32[ ]+0+ +c123[ ]+\+ 0 Symbol table '\.symtab' contains 134 entries: - Num: Value Size Type Bind Vis Ndx Name - 0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND - 1: 0000000000000000 0 SECTION LOCAL DEFAULT 1 - 2: 0000000000000000 0 SECTION LOCAL DEFAULT 3 - 3: 0000000000000000 0 SECTION LOCAL DEFAULT 5 - 4: 0000000000000000 0 SECTION LOCAL DEFAULT 6 - 5: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND unresolved5 - 6: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND unresolved9 - 7: 000000000000000c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file1text2 - 8: 000000000000006c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file2text1 - 9: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc2 - 10: 0000000000000064 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc123 - 11: 0000000000000004 0 NOTYPE GLOBAL DEFAULT 3 file1data1 - 12: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b123 - 13: 0000000000000020 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b2 - 14: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c4 - 15: 000000000000012c 0 NOTYPE GLOBAL DEFAULT 3 file2data4 - 16: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa4 - 17: 00000000000000c4 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob3 - 18: 0000000000000058 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc12 - 19: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob4 - 20: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob1 - 21: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a13 - 22: 0000000000000050 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc3 - 23: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa2 - 24: 00000000000000a8 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c4 - 25: 000000000000005c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc13 - 26: 00000000000000a0 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c2 - 27: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa12 - 28: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND oa13 - 29: 00000000000000c8 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob4 - 30: 000000000000001c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b1 - 31: 0000000000000018 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file1text5 - 32: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c12 - 33: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1text5 - 34: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob2 - 35: 0000000000000010 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file1text3 - 36: 0000000000000124 0 NOTYPE GLOBAL DEFAULT 3 file2data2 - 37: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a4 - 38: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a2 - 39: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved1 - 40: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1data3 - 41: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b13 - 42: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc23 - 43: 0000000000000060 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc23 - 44: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c2 - 45: 000000000000000c 0 NOTYPE GLOBAL DEFAULT 3 file1data2 - 46: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b3 - 47: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND a3 - 48: 0000000000000078 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file2text3 - 49: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c13 - 50: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved9 - 51: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc123 - 52: 0000000000000028 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b4 - 53: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file2data4 - 54: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c23 - 55: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc3 - 56: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa23 - 57: 00000000000000b4 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c23 - 58: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c123 - 59: 0000000000000030 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b13 - 60: 00000000000000b0 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c13 - 61: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b1 - 62: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND a123 - 63: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND oa23 - 64: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND a12 - 65: 00000000000000bc 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob1 - 66: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved7 - 67: 0000000000000068 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 start2 - 68: 00000000000000d8 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob123 - 69: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa13 - 70: 000000000000009c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c1 - 71: 0000000000000054 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc4 - 72: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa1 - 73: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND oa12 - 74: 00000000000000cc 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob12 - 75: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1data2 - 76: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND unresolved1 - 77: 00000000000000d0 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob13 - 78: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a3 - 79: 0000000000000018 0 NOTYPE GLOBAL DEFAULT 3 file1data5 - 80: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa123 - 81: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND unresolved6 - 82: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b12 - 83: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc4 - 84: 0000000000000044 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b123 - 85: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob13 - 86: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND a2 - 87: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND oa123 - 88: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob23 - 89: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc1 - 90: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc12 - 91: 0000000000000004 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file1text1 - 92: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oc13 - 93: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND file1text1 - 94: 0000000000000074 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file2text2 - 95: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob3 - 96: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob12 - 97: 00000000000000c0 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 ob2 - 98: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a123 - 99: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c3 - 100: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND unresolved3 - 101: 0000000000000024 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b3 - 102: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND ob123 - 103: 000000000000007c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file2text4 - 104: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b4 - 105: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a12 - 106: 00000000000000a4 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c3 - 107: 0000000000000048 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc1 - 108: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved6 - 109: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND oa3 - 110: 00000000000000ac 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c12 - 111: 0000000000000034 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b23 - 112: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND a23 - 113: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b2 - 114: 000000000000004c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 oc2 - 115: 000000000000002c 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 b12 - 116: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND unresolved2 - 117: 0000000000000000 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 start - 118: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a23 - 119: 0000000000000014 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 file1text4 - 120: 0000000000000128 0 NOTYPE GLOBAL DEFAULT 3 file2data3 - 121: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND oa2 - 122: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND a1 - 123: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND unresolved4 - 124: 000000000000011c 0 NOTYPE GLOBAL DEFAULT 3 file2data1 - 125: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND b23 - 126: 00000000000000b8 0 NOTYPE GLOBAL DEFAULT \[<other>: 4\] 1 c123 - 127: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND a13 - 128: 0000000000000010 0 NOTYPE GLOBAL DEFAULT 3 file1data3 - 129: 0000000000000014 0 NOTYPE GLOBAL DEFAULT 3 file1data4 - 130: 00000000000000d4 0 NOTYPE GLOBAL DEFAULT \[<other>: 4] 1 ob23 - 131: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND c1 - 132: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND oa3 - 133: 0000000000000000 0 <processor specific>: 13 GLOBAL DEFAULT UND unresolved8 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +0: 0+0000 +0 +NOTYPE +LOCAL +DEFAULT +UND + +1: 0+0000 +0 +SECTION +LOCAL +DEFAULT +1 + +2: 0+0000 +0 +SECTION +LOCAL +DEFAULT +3 + +3: 0+0000 +0 +SECTION +LOCAL +DEFAULT +5 + +4: 0+0000 +0 +SECTION +LOCAL +DEFAULT +6 + +5: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved5 + +6: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved9 + +7: 0+000c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file1text2 + +8: 0+006c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file2text1 + +9: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc2 + +10: 0+0064 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc123 + +11: 0+0004 +0 +NOTYPE +GLOBAL +DEFAULT +3 file1data1 + +12: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b123 + +13: 0+0020 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b2 + +14: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c4 + +15: 0+012c +0 +NOTYPE +GLOBAL +DEFAULT +3 file2data4 + +16: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa4 + +17: 0+00c4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob3 + +18: 0+0058 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc12 + +19: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob4 + +20: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob1 + +21: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a13 + +22: 0+0050 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc3 + +23: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa2 + +24: 0+00a8 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c4 + +25: 0+005c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc13 + +26: 0+00a0 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c2 + +27: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa12 + +28: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND oa13 + +29: 0+00c8 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob4 + +30: 0+001c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b1 + +31: 0+0018 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file1text5 + +32: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c12 + +33: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND file1text5 + +34: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob2 + +35: 0+0010 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file1text3 + +36: 0+0124 +0 +NOTYPE +GLOBAL +DEFAULT +3 file2data2 + +37: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a4 + +38: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a2 + +39: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND unresolved1 + +40: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND file1data3 + +41: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b13 + +42: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc23 + +43: 0+0060 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc23 + +44: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c2 + +45: 0+000c +0 +NOTYPE +GLOBAL +DEFAULT +3 file1data2 + +46: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b3 + +47: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND a3 + +48: 0+0078 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file2text3 + +49: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c13 + +50: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND unresolved9 + +51: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc123 + +52: 0+0028 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b4 + +53: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND file2data4 + +54: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c23 + +55: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc3 + +56: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa23 + +57: 0+00b4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c23 + +58: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c123 + +59: 0+0030 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b13 + +60: 0+00b0 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c13 + +61: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b1 + +62: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND a123 + +63: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND oa23 + +64: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND a12 + +65: 0+00bc +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob1 + +66: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND unresolved7 + +67: 0+0068 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start2 + +68: 0+00d8 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob123 + +69: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa13 + +70: 0+009c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c1 + +71: 0+0054 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc4 + +72: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa1 + +73: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND oa12 + +74: 0+00cc +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob12 + +75: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND file1data2 + +76: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved1 + +77: 0+00d0 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob13 + +78: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a3 + +79: 0+0018 +0 +NOTYPE +GLOBAL +DEFAULT +3 file1data5 + +80: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa123 + +81: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved6 + +82: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b12 + +83: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc4 + +84: 0+0044 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b123 + +85: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob13 + +86: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND a2 + +87: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND oa123 + +88: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob23 + +89: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc1 + +90: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc12 + +91: 0+0004 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file1text1 + +92: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oc13 + +93: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND file1text1 + +94: 0+0074 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file2text2 + +95: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob3 + +96: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob12 + +97: 0+00c0 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 ob2 + +98: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a123 + +99: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c3 + +100: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved3 + +101: 0+0024 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b3 + +102: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND ob123 + +103: 0+007c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file2text4 + +104: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b4 + +105: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a12 + +106: 0+00a4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c3 + +107: 0+0048 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc1 + +108: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND unresolved6 + +109: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND oa3 + +110: 0+00ac +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c12 + +111: 0+0034 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b23 + +112: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND a23 + +113: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b2 + +114: 0+004c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 oc2 + +115: 0+002c +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 b12 + +116: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved2 + +117: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start + +118: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a23 + +119: 0+0014 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 file1text4 + +120: 0+0128 +0 +NOTYPE +GLOBAL +DEFAULT +3 file2data3 + +121: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND oa2 + +122: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND a1 + +123: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND unresolved4 + +124: 0+011c +0 +NOTYPE +GLOBAL +DEFAULT +3 file2data1 + +125: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND b23 + +126: 0+00b8 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 c123 + +127: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND a13 + +128: 0+0010 +0 +NOTYPE +GLOBAL +DEFAULT +3 file1data3 + +129: 0+0014 +0 +NOTYPE +GLOBAL +DEFAULT +3 file1data4 + +130: 0+00d4 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4] +1 ob23 + +131: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND c1 + +132: 0+0000 +0 +NOTYPE +GLOBAL +DEFAULT +UND oa3 + +133: 0+0000 +0 +<processor specific>: 13 +GLOBAL +DEFAULT +UND unresolved8 Hex dump of section '\.text': .* diff --git a/ld/testsuite/ld-sh/tlsbin-2.d b/ld/testsuite/ld-sh/tlsbin-2.d index 6118071..cd30833 100644 --- a/ld/testsuite/ld-sh/tlsbin-2.d +++ b/ld/testsuite/ld-sh/tlsbin-2.d @@ -8,24 +8,24 @@ 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+ 0+ +0 +0 +0 - \[ 1\] \.interp .* - \[ 2\] \.hash .* - \[ 3\] \.dynsym .* - \[ 4\] \.dynstr .* - \[ 5\] \.rela\.dyn .* - \[ 6\] \.rela\.plt .* - \[ 7\] \.plt .* - \[ 8\] \.text +PROGBITS .* - \[ 9\] \.tdata +PROGBITS .* 0+018 00 WAT 0 0 4 - \[10\] \.tbss +NOBITS .* 0+010 00 WAT 0 0 1 + +\[Nr\] Name +Type +Addr +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\] \.plt .* + +\[ 8\] \.text +PROGBITS .* + +\[ 9\] \.tdata +PROGBITS .* 0+018 00 WAT +0 +0 +4 + +\[10\] \.tbss +NOBITS .* 0+010 00 WAT +0 +0 +1 #... - \[[0-9a-f]+\] \.got +PROGBITS .* + +\[[0-9a-f]+\] \.got +PROGBITS .* #... - \[[0-9a-f]+\] \.shstrtab .* - \[[0-9a-f]+\] \.symtab .* - \[[0-9a-f]+\] \.strtab .* + +\[[0-9a-f]+\] \.shstrtab .* + +\[[0-9a-f]+\] \.symtab .* + +\[[0-9a-f]+\] \.strtab .* Key to Flags: .* .* @@ -36,23 +36,23 @@ Entry point 0x402000 There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - PHDR.* - INTERP.* + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +PHDR.* + +INTERP.* .*Requesting program interpreter.* - LOAD.* - LOAD.* - DYNAMIC.* - TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+18 0x0+28 R +0x4 + +LOAD.* + +LOAD.* + +DYNAMIC.* + +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+18 0x0+28 R +0x4 Section to Segment mapping: - Segment Sections\.\.\. - 00 + - 01 +\.interp * - 02 +\.interp \.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.plt \.text * - 03 +\.tdata \.dynamic \.got * - 04 +\.dynamic * - 05 +\.tdata \.tbss * + +Segment Sections\.\.\. + +00 + + +01 +\.interp * + +02 +\.interp \.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.plt \.text * + +03 +\.tdata \.dynamic \.got * + +04 +\.dynamic * + +05 +\.tdata \.tbss * Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 4 entries: Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend @@ -66,14 +66,14 @@ Relocation section '\.rela\.plt' at offset 0x[0-9a-f]+ contains 1 entries: [0-9a-f ]+R_SH_JMP_SLOT[0-9a-f ]+__tls_get_addr \+ [0-9a-f]+ Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -.* NOTYPE +LOCAL +DEFAULT UND * -.* TLS +GLOBAL DEFAULT UND sG3 -.* TLS +GLOBAL DEFAULT UND sG2 -.* TLS +GLOBAL DEFAULT UND sG4 -.* FUNC +GLOBAL DEFAULT UND __tls_get_addr + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* NOTYPE +LOCAL +DEFAULT +UND * +.* TLS +GLOBAL +DEFAULT +UND sG3 +.* TLS +GLOBAL +DEFAULT +UND sG2 +.* TLS +GLOBAL +DEFAULT +UND sG4 +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr #... -.* TLS +GLOBAL DEFAULT UND sG1 +.* TLS +GLOBAL +DEFAULT +UND sG1 #... #pass diff --git a/ld/testsuite/ld-sh/tlspic-2.d b/ld/testsuite/ld-sh/tlspic-2.d index 942fb2d..4005299 100644 --- a/ld/testsuite/ld-sh/tlspic-2.d +++ b/ld/testsuite/ld-sh/tlspic-2.d @@ -8,23 +8,23 @@ 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+ 0+ +0 +0 +0 - \[ 1\] \.hash .* - \[ 2\] \.dynsym .* - \[ 3\] \.dynstr .* - \[ 4\] \.rela\.dyn .* - \[ 5\] \.rela\.plt .* - \[ 6\] \.plt .* - \[ 7\] \.text +PROGBITS .* - \[ 8\] \.tdata +PROGBITS .* 0+18 00 WAT 0 0 4 - \[ 9\] \.tbss +NOBITS .* 0+08 00 WAT 0 0 1 + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al + +\[ 0\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 + +\[ 1\] \.hash .* + +\[ 2\] \.dynsym .* + +\[ 3\] \.dynstr .* + +\[ 4\] \.rela\.dyn .* + +\[ 5\] \.rela\.plt .* + +\[ 6\] \.plt .* + +\[ 7\] \.text +PROGBITS .* + +\[ 8\] \.tdata +PROGBITS .* 0+18 00 WAT +0 +0 +4 + +\[ 9\] \.tbss +NOBITS .* 0+08 00 WAT +0 +0 +1 #... - \[[0-9a-f]+\] \.got +PROGBITS .* + +\[[0-9a-f]+\] \.got +PROGBITS .* #... - \[[0-9a-f]+\] \.shstrtab .* - \[[0-9a-f]+\] \.symtab .* - \[[0-9a-f]+\] \.strtab .* + +\[[0-9a-f]+\] \.shstrtab .* + +\[[0-9a-f]+\] \.symtab .* + +\[[0-9a-f]+\] \.strtab .* Key to Flags: .* .* @@ -35,18 +35,18 @@ Entry point 0x[0-9a-f]+ There are 4 program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - LOAD.* - LOAD.* - DYNAMIC.* - TLS .* 0x0+18 0x0+20 R +0x4 + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +LOAD.* + +LOAD.* + +DYNAMIC.* + +TLS .* 0x0+18 0x0+20 R +0x4 Section to Segment mapping: - Segment Sections\.\.\. - 00 +\.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.plt \.text * - 01 +\.tdata \.dynamic \.got * - 02 +\.dynamic * - 03 +\.tdata \.tbss * + +Segment Sections\.\.\. + +00 +\.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.plt \.text * + +01 +\.tdata \.dynamic \.got * + +02 +\.dynamic * + +03 +\.tdata \.tbss * Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 10 entries: Offset +Info +Type +Sym\.Value +Sym\. Name \+ Addend @@ -66,14 +66,14 @@ Relocation section '\.rela\.plt' at offset 0x[0-9a-f]+ contains 1 entries: [0-9a-f ]+R_SH_JMP_SLOT[0-9a-f ]+__tls_get_addr \+ [0-9a-f]+ Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -.* NOTYPE +LOCAL +DEFAULT UND * -.* NOTYPE GLOBAL DEFAULT UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 sg1 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* NOTYPE +LOCAL +DEFAULT +UND * +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 sg1 #... -.* FUNC +GLOBAL DEFAULT +7 fn1 +.* FUNC +GLOBAL +DEFAULT +7 fn1 #... -.* TLS +GLOBAL DEFAULT +8 sg2 +.* TLS +GLOBAL +DEFAULT +8 sg2 #... #pass diff --git a/ld/testsuite/ld-sh/vxworks1-lib.nd b/ld/testsuite/ld-sh/vxworks1-lib.nd index edf3db3..e9f916e 100644 --- a/ld/testsuite/ld-sh/vxworks1-lib.nd +++ b/ld/testsuite/ld-sh/vxworks1-lib.nd @@ -1,9 +1,9 @@ #... Symbol table '\.dynsym' .*: #... -.*: 00081400 * 0 * OBJECT * GLOBAL * DEFAULT * [0-9]+ _GLOBAL_OFFSET_TABLE_ +.*: 00081400 +0 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _GLOBAL_OFFSET_TABLE_ #... Symbol table '\.symtab' .*: #... -.*: 00081400 * 0 * OBJECT * GLOBAL * DEFAULT * [0-9]+ _GLOBAL_OFFSET_TABLE_ +.*: 00081400 +0 +OBJECT +GLOBAL +DEFAULT +[0-9]+ _GLOBAL_OFFSET_TABLE_ #pass diff --git a/ld/testsuite/ld-sparc/gotop32.rd b/ld/testsuite/ld-sparc/gotop32.rd index e4b4295..f4b576f 100644 --- a/ld/testsuite/ld-sparc/gotop32.rd +++ b/ld/testsuite/ld-sparc/gotop32.rd @@ -38,33 +38,33 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 1 entries: [0-9a-f ]+R_SPARC_GLOB_DAT +0+13000 +sym \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +7 * -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* FUNC +GLOBAL DEFAULT +5 foo -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* NOTYPE +GLOBAL DEFAULT +8 sym +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +7 * +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* FUNC +GLOBAL +DEFAULT +5 foo +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +8 sym Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +1 * -.* SECTION LOCAL +DEFAULT +2 * -.* SECTION LOCAL +DEFAULT +3 * -.* SECTION LOCAL +DEFAULT +4 * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +7 * -.* SECTION LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +1 * +.* SECTION +LOCAL +DEFAULT +2 * +.* SECTION +LOCAL +DEFAULT +3 * +.* SECTION +LOCAL +DEFAULT +4 * +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +8 * .* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC .* OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_ .* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* FUNC +GLOBAL DEFAULT +5 foo -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* NOTYPE +GLOBAL DEFAULT +8 sym +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* FUNC +GLOBAL +DEFAULT +5 foo +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +8 sym diff --git a/ld/testsuite/ld-sparc/gotop64.rd b/ld/testsuite/ld-sparc/gotop64.rd index 24cf94f..06f71fe 100644 --- a/ld/testsuite/ld-sparc/gotop64.rd +++ b/ld/testsuite/ld-sparc/gotop64.rd @@ -38,33 +38,33 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 1 entries: [0-9a-f ]+R_SPARC_GLOB_DAT +0+103000 +sym \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +7 * -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* FUNC +GLOBAL DEFAULT +5 foo -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* NOTYPE +GLOBAL DEFAULT +8 sym +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +7 * +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* FUNC +GLOBAL +DEFAULT +5 foo +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +8 sym Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +1 * -.* SECTION LOCAL +DEFAULT +2 * -.* SECTION LOCAL +DEFAULT +3 * -.* SECTION LOCAL +DEFAULT +4 * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +7 * -.* SECTION LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +1 * +.* SECTION +LOCAL +DEFAULT +2 * +.* SECTION +LOCAL +DEFAULT +3 * +.* SECTION +LOCAL +DEFAULT +4 * +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +8 * .* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC .* OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_ .* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* FUNC +GLOBAL DEFAULT +5 foo -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* NOTYPE +GLOBAL DEFAULT +8 sym +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* FUNC +GLOBAL +DEFAULT +5 foo +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +8 sym diff --git a/ld/testsuite/ld-sparc/tlssunbin32.rd b/ld/testsuite/ld-sparc/tlssunbin32.rd index 3af973e..e5fbf08 100644 --- a/ld/testsuite/ld-sparc/tlssunbin32.rd +++ b/ld/testsuite/ld-sparc/tlssunbin32.rd @@ -47,30 +47,30 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries: [0-9a-f ]+R_SPARC_TLS_TPOFF32 +00000000 +sG1 \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* TLS +GLOBAL DEFAULT +UND sG5 -.* TLS +GLOBAL DEFAULT +UND sG2 -.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +UND sG6 -.* TLS +GLOBAL DEFAULT +UND sG1 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +UND sG5 +.* TLS +GLOBAL +DEFAULT +UND sG2 +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sG6 +.* TLS +GLOBAL +DEFAULT +UND sG1 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +1 * -.* SECTION LOCAL +DEFAULT +2 * -.* SECTION LOCAL +DEFAULT +3 * -.* SECTION LOCAL +DEFAULT +4 * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +7 * -.* SECTION LOCAL +DEFAULT +8 * -.* SECTION LOCAL +DEFAULT +9 * -.* SECTION LOCAL +DEFAULT +10 * +.* SECTION +LOCAL +DEFAULT +1 * +.* SECTION +LOCAL +DEFAULT +2 * +.* SECTION +LOCAL +DEFAULT +3 * +.* SECTION +LOCAL +DEFAULT +4 * +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +9 * +.* SECTION +LOCAL +DEFAULT +10 * .* TLS +LOCAL +DEFAULT +7 sl1 .* TLS +LOCAL +DEFAULT +7 sl2 .* TLS +LOCAL +DEFAULT +7 sl3 @@ -90,37 +90,37 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* OBJECT +LOCAL +HIDDEN +9 _DYNAMIC .* OBJECT +LOCAL +HIDDEN +10 _PROCEDURE_LINKAGE_TABLE_ .* OBJECT +LOCAL +HIDDEN +10 _GLOBAL_OFFSET_TABLE_ -.* TLS +GLOBAL DEFAULT +7 sg8 -.* TLS +GLOBAL DEFAULT +8 bg8 -.* TLS +GLOBAL DEFAULT +8 bg6 -.* TLS +GLOBAL DEFAULT +UND sG5 -.* TLS +GLOBAL DEFAULT +8 bg3 -.* TLS +GLOBAL DEFAULT +7 sg3 -.* TLS +GLOBAL HIDDEN +7 sh3 -.* TLS +GLOBAL DEFAULT +UND sG2 -.* TLS +GLOBAL DEFAULT +7 sg4 -.* TLS +GLOBAL DEFAULT +7 sg5 -.* TLS +GLOBAL DEFAULT +8 bg5 -.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL HIDDEN +7 sh7 -.* TLS +GLOBAL HIDDEN +7 sh8 -.* TLS +GLOBAL DEFAULT +7 sg1 -.* FUNC +GLOBAL DEFAULT +6 _start -.* TLS +GLOBAL HIDDEN +7 sh4 -.* TLS +GLOBAL DEFAULT +8 bg7 -.* TLS +GLOBAL HIDDEN +7 sh5 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +UND sG6 -.* FUNC +GLOBAL DEFAULT +6 fn2 -.* TLS +GLOBAL DEFAULT +7 sg2 -.* TLS +GLOBAL DEFAULT +UND sG1 -.* TLS +GLOBAL HIDDEN +7 sh1 -.* TLS +GLOBAL DEFAULT +7 sg6 -.* TLS +GLOBAL DEFAULT +7 sg7 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL HIDDEN +7 sh2 -.* TLS +GLOBAL HIDDEN +7 sh6 -.* TLS +GLOBAL DEFAULT +8 bg2 -.* TLS +GLOBAL DEFAULT +8 bg1 -.* TLS +GLOBAL DEFAULT +8 bg4 +.* TLS +GLOBAL +DEFAULT +7 sg8 +.* TLS +GLOBAL +DEFAULT +8 bg8 +.* TLS +GLOBAL +DEFAULT +8 bg6 +.* TLS +GLOBAL +DEFAULT +UND sG5 +.* TLS +GLOBAL +DEFAULT +8 bg3 +.* TLS +GLOBAL +DEFAULT +7 sg3 +.* TLS +GLOBAL +HIDDEN +7 sh3 +.* TLS +GLOBAL +DEFAULT +UND sG2 +.* TLS +GLOBAL +DEFAULT +7 sg4 +.* TLS +GLOBAL +DEFAULT +7 sg5 +.* TLS +GLOBAL +DEFAULT +8 bg5 +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +HIDDEN +7 sh7 +.* TLS +GLOBAL +HIDDEN +7 sh8 +.* TLS +GLOBAL +DEFAULT +7 sg1 +.* FUNC +GLOBAL +DEFAULT +6 _start +.* TLS +GLOBAL +HIDDEN +7 sh4 +.* TLS +GLOBAL +DEFAULT +8 bg7 +.* TLS +GLOBAL +HIDDEN +7 sh5 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sG6 +.* FUNC +GLOBAL +DEFAULT +6 fn2 +.* TLS +GLOBAL +DEFAULT +7 sg2 +.* TLS +GLOBAL +DEFAULT +UND sG1 +.* TLS +GLOBAL +HIDDEN +7 sh1 +.* TLS +GLOBAL +DEFAULT +7 sg6 +.* TLS +GLOBAL +DEFAULT +7 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +HIDDEN +7 sh2 +.* TLS +GLOBAL +HIDDEN +7 sh6 +.* TLS +GLOBAL +DEFAULT +8 bg2 +.* TLS +GLOBAL +DEFAULT +8 bg1 +.* TLS +GLOBAL +DEFAULT +8 bg4 diff --git a/ld/testsuite/ld-sparc/tlssunbin64.rd b/ld/testsuite/ld-sparc/tlssunbin64.rd index 1738639..50a98c1 100644 --- a/ld/testsuite/ld-sparc/tlssunbin64.rd +++ b/ld/testsuite/ld-sparc/tlssunbin64.rd @@ -47,30 +47,30 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries: [0-9a-f ]+R_SPARC_TLS_TPOFF64 +0+ +sG1 \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* TLS +GLOBAL DEFAULT +UND sG5 -.* TLS +GLOBAL DEFAULT +UND sG2 -.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +UND sG6 -.* TLS +GLOBAL DEFAULT +UND sG1 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +UND sG5 +.* TLS +GLOBAL +DEFAULT +UND sG2 +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sG6 +.* TLS +GLOBAL +DEFAULT +UND sG1 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +1 * -.* SECTION LOCAL +DEFAULT +2 * -.* SECTION LOCAL +DEFAULT +3 * -.* SECTION LOCAL +DEFAULT +4 * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +7 * -.* SECTION LOCAL +DEFAULT +8 * -.* SECTION LOCAL +DEFAULT +9 * -.* SECTION LOCAL +DEFAULT +10 * +.* SECTION +LOCAL +DEFAULT +1 * +.* SECTION +LOCAL +DEFAULT +2 * +.* SECTION +LOCAL +DEFAULT +3 * +.* SECTION +LOCAL +DEFAULT +4 * +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +9 * +.* SECTION +LOCAL +DEFAULT +10 * .* TLS +LOCAL +DEFAULT +7 sl1 .* TLS +LOCAL +DEFAULT +7 sl2 .* TLS +LOCAL +DEFAULT +7 sl3 @@ -90,37 +90,37 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* OBJECT +LOCAL +HIDDEN +9 _DYNAMIC .* OBJECT +LOCAL +HIDDEN +10 _PROCEDURE_LINKAGE_TABLE_ .* OBJECT +LOCAL +HIDDEN +10 _GLOBAL_OFFSET_TABLE_ -.* TLS +GLOBAL DEFAULT +7 sg8 -.* TLS +GLOBAL DEFAULT +8 bg8 -.* TLS +GLOBAL DEFAULT +8 bg6 -.* TLS +GLOBAL DEFAULT +UND sG5 -.* TLS +GLOBAL DEFAULT +8 bg3 -.* TLS +GLOBAL DEFAULT +7 sg3 -.* TLS +GLOBAL HIDDEN +7 sh3 -.* TLS +GLOBAL DEFAULT +UND sG2 -.* TLS +GLOBAL DEFAULT +7 sg4 -.* TLS +GLOBAL DEFAULT +7 sg5 -.* TLS +GLOBAL DEFAULT +8 bg5 -.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL HIDDEN +7 sh7 -.* TLS +GLOBAL HIDDEN +7 sh8 -.* TLS +GLOBAL DEFAULT +7 sg1 -.* FUNC +GLOBAL DEFAULT +6 _start -.* TLS +GLOBAL HIDDEN +7 sh4 -.* TLS +GLOBAL DEFAULT +8 bg7 -.* TLS +GLOBAL HIDDEN +7 sh5 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +UND sG6 -.* FUNC +GLOBAL DEFAULT +6 fn2 -.* TLS +GLOBAL DEFAULT +7 sg2 -.* TLS +GLOBAL DEFAULT +UND sG1 -.* TLS +GLOBAL HIDDEN +7 sh1 -.* TLS +GLOBAL DEFAULT +7 sg6 -.* TLS +GLOBAL DEFAULT +7 sg7 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end -.* TLS +GLOBAL HIDDEN +7 sh2 -.* TLS +GLOBAL HIDDEN +7 sh6 -.* TLS +GLOBAL DEFAULT +8 bg2 -.* TLS +GLOBAL DEFAULT +8 bg1 -.* TLS +GLOBAL DEFAULT +8 bg4 +.* TLS +GLOBAL +DEFAULT +7 sg8 +.* TLS +GLOBAL +DEFAULT +8 bg8 +.* TLS +GLOBAL +DEFAULT +8 bg6 +.* TLS +GLOBAL +DEFAULT +UND sG5 +.* TLS +GLOBAL +DEFAULT +8 bg3 +.* TLS +GLOBAL +DEFAULT +7 sg3 +.* TLS +GLOBAL +HIDDEN +7 sh3 +.* TLS +GLOBAL +DEFAULT +UND sG2 +.* TLS +GLOBAL +DEFAULT +7 sg4 +.* TLS +GLOBAL +DEFAULT +7 sg5 +.* TLS +GLOBAL +DEFAULT +8 bg5 +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +HIDDEN +7 sh7 +.* TLS +GLOBAL +HIDDEN +7 sh8 +.* TLS +GLOBAL +DEFAULT +7 sg1 +.* FUNC +GLOBAL +DEFAULT +6 _start +.* TLS +GLOBAL +HIDDEN +7 sh4 +.* TLS +GLOBAL +DEFAULT +8 bg7 +.* TLS +GLOBAL +HIDDEN +7 sh5 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sG6 +.* FUNC +GLOBAL +DEFAULT +6 fn2 +.* TLS +GLOBAL +DEFAULT +7 sg2 +.* TLS +GLOBAL +DEFAULT +UND sG1 +.* TLS +GLOBAL +HIDDEN +7 sh1 +.* TLS +GLOBAL +DEFAULT +7 sg6 +.* TLS +GLOBAL +DEFAULT +7 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +HIDDEN +7 sh2 +.* TLS +GLOBAL +HIDDEN +7 sh6 +.* TLS +GLOBAL +DEFAULT +8 bg2 +.* TLS +GLOBAL +DEFAULT +8 bg1 +.* TLS +GLOBAL +DEFAULT +8 bg4 diff --git a/ld/testsuite/ld-sparc/tlssunnopic32.rd b/ld/testsuite/ld-sparc/tlssunnopic32.rd index 01876d7..04797b1 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic32.rd +++ b/ld/testsuite/ld-sparc/tlssunnopic32.rd @@ -50,29 +50,29 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 12 entries: [0-9a-f ]+R_SPARC_TLS_TPOFF32 +0+ +sg2 \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +8 * -.* FUNC +GLOBAL DEFAULT +5 fn3 -.* TLS +GLOBAL DEFAULT +UND sg1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +UND sg2 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +8 * +.* FUNC +GLOBAL +DEFAULT +5 fn3 +.* TLS +GLOBAL +DEFAULT +UND sg1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sg2 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +1 * -.* SECTION LOCAL +DEFAULT +2 * -.* SECTION LOCAL +DEFAULT +3 * -.* SECTION LOCAL +DEFAULT +4 * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +7 * -.* SECTION LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +1 * +.* SECTION +LOCAL +DEFAULT +2 * +.* SECTION +LOCAL +DEFAULT +3 * +.* SECTION +LOCAL +DEFAULT +4 * +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +8 * .* TLS +LOCAL +DEFAULT +6 bl1 .* TLS +LOCAL +DEFAULT +6 bl2 .* TLS +LOCAL +DEFAULT +6 bl3 @@ -85,9 +85,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +HIDDEN +6 sh1 .* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ .* TLS +LOCAL +HIDDEN +6 sh2 -.* FUNC +GLOBAL DEFAULT +5 fn3 -.* TLS +GLOBAL DEFAULT +UND sg1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +UND sg2 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* FUNC +GLOBAL +DEFAULT +5 fn3 +.* TLS +GLOBAL +DEFAULT +UND sg1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sg2 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end diff --git a/ld/testsuite/ld-sparc/tlssunnopic64.rd b/ld/testsuite/ld-sparc/tlssunnopic64.rd index 96a426c..44c09e9 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic64.rd +++ b/ld/testsuite/ld-sparc/tlssunnopic64.rd @@ -52,29 +52,29 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: [0-9a-f ]+R_SPARC_TLS_TPOFF64 +0+ +sg2 \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +8 * -.* FUNC +GLOBAL DEFAULT +5 fn3 -.* TLS +GLOBAL DEFAULT +UND sg1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +UND sg2 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +8 * +.* FUNC +GLOBAL +DEFAULT +5 fn3 +.* TLS +GLOBAL +DEFAULT +UND sg1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sg2 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +1 * -.* SECTION LOCAL +DEFAULT +2 * -.* SECTION LOCAL +DEFAULT +3 * -.* SECTION LOCAL +DEFAULT +4 * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +7 * -.* SECTION LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +1 * +.* SECTION +LOCAL +DEFAULT +2 * +.* SECTION +LOCAL +DEFAULT +3 * +.* SECTION +LOCAL +DEFAULT +4 * +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +8 * .* TLS +LOCAL +DEFAULT +6 bl1 .* TLS +LOCAL +DEFAULT +6 bl2 .* TLS +LOCAL +DEFAULT +6 bl3 @@ -87,9 +87,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +HIDDEN +6 sh1 .* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ .* TLS +LOCAL +HIDDEN +6 sh2 -.* FUNC +GLOBAL DEFAULT +5 fn3 -.* TLS +GLOBAL DEFAULT +UND sg1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +UND sg2 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* FUNC +GLOBAL +DEFAULT +5 fn3 +.* TLS +GLOBAL +DEFAULT +UND sg1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sg2 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end diff --git a/ld/testsuite/ld-sparc/tlssunpic32.rd b/ld/testsuite/ld-sparc/tlssunpic32.rd index f947a3c..46f0163 100644 --- a/ld/testsuite/ld-sparc/tlssunpic32.rd +++ b/ld/testsuite/ld-sparc/tlssunpic32.rd @@ -60,39 +60,39 @@ Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: [0-9a-f ]+R_SPARC_JMP_SLOT +0+ +__tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +7 * -.* SECTION LOCAL +DEFAULT +10 * -.* TLS +GLOBAL DEFAULT +7 sg8 -.* TLS +GLOBAL DEFAULT +7 sg3 -.* TLS +GLOBAL DEFAULT +7 sg4 -.* TLS +GLOBAL DEFAULT +7 sg5 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +7 sg1 -.* FUNC +GLOBAL DEFAULT +6 fn1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +7 sg2 -.* TLS +GLOBAL DEFAULT +7 sg6 -.* TLS +GLOBAL DEFAULT +7 sg7 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +10 * +.* TLS +GLOBAL +DEFAULT +7 sg8 +.* TLS +GLOBAL +DEFAULT +7 sg3 +.* TLS +GLOBAL +DEFAULT +7 sg4 +.* TLS +GLOBAL +DEFAULT +7 sg5 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +7 sg1 +.* FUNC +GLOBAL +DEFAULT +6 fn1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +7 sg2 +.* TLS +GLOBAL +DEFAULT +7 sg6 +.* TLS +GLOBAL +DEFAULT +7 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +1 * -.* SECTION LOCAL +DEFAULT +2 * -.* SECTION LOCAL +DEFAULT +3 * -.* SECTION LOCAL +DEFAULT +4 * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +7 * -.* SECTION LOCAL +DEFAULT +8 * -.* SECTION LOCAL +DEFAULT +9 * -.* SECTION LOCAL +DEFAULT +10 * -.* SECTION LOCAL +DEFAULT +11 * +.* SECTION +LOCAL +DEFAULT +1 * +.* SECTION +LOCAL +DEFAULT +2 * +.* SECTION +LOCAL +DEFAULT +3 * +.* SECTION +LOCAL +DEFAULT +4 * +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +9 * +.* SECTION +LOCAL +DEFAULT +10 * +.* SECTION +LOCAL +DEFAULT +11 * .* TLS +LOCAL +DEFAULT +7 sl1 .* TLS +LOCAL +DEFAULT +7 sl2 .* TLS +LOCAL +DEFAULT +7 sl3 @@ -120,16 +120,16 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ .* TLS +LOCAL +HIDDEN +7 sh2 .* TLS +LOCAL +HIDDEN +7 sh6 -.* TLS +GLOBAL DEFAULT +7 sg8 -.* TLS +GLOBAL DEFAULT +7 sg3 -.* TLS +GLOBAL DEFAULT +7 sg4 -.* TLS +GLOBAL DEFAULT +7 sg5 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +7 sg1 -.* FUNC +GLOBAL DEFAULT +6 fn1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +7 sg2 -.* TLS +GLOBAL DEFAULT +7 sg6 -.* TLS +GLOBAL DEFAULT +7 sg7 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +7 sg8 +.* TLS +GLOBAL +DEFAULT +7 sg3 +.* TLS +GLOBAL +DEFAULT +7 sg4 +.* TLS +GLOBAL +DEFAULT +7 sg5 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +7 sg1 +.* FUNC +GLOBAL +DEFAULT +6 fn1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +7 sg2 +.* TLS +GLOBAL +DEFAULT +7 sg6 +.* TLS +GLOBAL +DEFAULT +7 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end diff --git a/ld/testsuite/ld-sparc/tlssunpic64.rd b/ld/testsuite/ld-sparc/tlssunpic64.rd index e063358..44d468b 100644 --- a/ld/testsuite/ld-sparc/tlssunpic64.rd +++ b/ld/testsuite/ld-sparc/tlssunpic64.rd @@ -60,39 +60,39 @@ Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: [0-9a-f ]+R_SPARC_JMP_SLOT +0+ +__tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +7 * -.* SECTION LOCAL +DEFAULT +10 * -.* TLS +GLOBAL DEFAULT +7 sg8 -.* TLS +GLOBAL DEFAULT +7 sg3 -.* TLS +GLOBAL DEFAULT +7 sg4 -.* TLS +GLOBAL DEFAULT +7 sg5 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +7 sg1 -.* FUNC +GLOBAL DEFAULT +6 fn1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +7 sg2 -.* TLS +GLOBAL DEFAULT +7 sg6 -.* TLS +GLOBAL DEFAULT +7 sg7 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +10 * +.* TLS +GLOBAL +DEFAULT +7 sg8 +.* TLS +GLOBAL +DEFAULT +7 sg3 +.* TLS +GLOBAL +DEFAULT +7 sg4 +.* TLS +GLOBAL +DEFAULT +7 sg5 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +7 sg1 +.* FUNC +GLOBAL +DEFAULT +6 fn1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +7 sg2 +.* TLS +GLOBAL +DEFAULT +7 sg6 +.* TLS +GLOBAL +DEFAULT +7 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name .* NOTYPE +LOCAL +DEFAULT +UND * -.* SECTION LOCAL +DEFAULT +1 * -.* SECTION LOCAL +DEFAULT +2 * -.* SECTION LOCAL +DEFAULT +3 * -.* SECTION LOCAL +DEFAULT +4 * -.* SECTION LOCAL +DEFAULT +5 * -.* SECTION LOCAL +DEFAULT +6 * -.* SECTION LOCAL +DEFAULT +7 * -.* SECTION LOCAL +DEFAULT +8 * -.* SECTION LOCAL +DEFAULT +9 * -.* SECTION LOCAL +DEFAULT +10 * -.* SECTION LOCAL +DEFAULT +11 * +.* SECTION +LOCAL +DEFAULT +1 * +.* SECTION +LOCAL +DEFAULT +2 * +.* SECTION +LOCAL +DEFAULT +3 * +.* SECTION +LOCAL +DEFAULT +4 * +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +9 * +.* SECTION +LOCAL +DEFAULT +10 * +.* SECTION +LOCAL +DEFAULT +11 * .* TLS +LOCAL +DEFAULT +7 sl1 .* TLS +LOCAL +DEFAULT +7 sl2 .* TLS +LOCAL +DEFAULT +7 sl3 @@ -117,19 +117,19 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +HIDDEN +8 sH6 .* TLS +LOCAL +HIDDEN +8 sH8 .* TLS +LOCAL +HIDDEN +7 sh1 -.* OBJECT +LOCAL HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ +.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ .* TLS +LOCAL +HIDDEN +7 sh2 .* TLS +LOCAL +HIDDEN +7 sh6 -.* TLS +GLOBAL DEFAULT +7 sg8 -.* TLS +GLOBAL DEFAULT +7 sg3 -.* TLS +GLOBAL DEFAULT +7 sg4 -.* TLS +GLOBAL DEFAULT +7 sg5 -.* NOTYPE +GLOBAL DEFAULT +UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +7 sg1 -.* FUNC +GLOBAL DEFAULT +6 fn1 -.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start -.* TLS +GLOBAL DEFAULT +7 sg2 -.* TLS +GLOBAL DEFAULT +7 sg6 -.* TLS +GLOBAL DEFAULT +7 sg7 -.* NOTYPE +GLOBAL DEFAULT +ABS _edata -.* NOTYPE +GLOBAL DEFAULT +ABS _end +.* TLS +GLOBAL +DEFAULT +7 sg8 +.* TLS +GLOBAL +DEFAULT +7 sg3 +.* TLS +GLOBAL +DEFAULT +7 sg4 +.* TLS +GLOBAL +DEFAULT +7 sg5 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +7 sg1 +.* FUNC +GLOBAL +DEFAULT +6 fn1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +7 sg2 +.* TLS +GLOBAL +DEFAULT +7 sg6 +.* TLS +GLOBAL +DEFAULT +7 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end diff --git a/ld/testsuite/ld-vxworks/plt-mips1.d b/ld/testsuite/ld-vxworks/plt-mips1.d index d580df2..ed67415 100644 --- a/ld/testsuite/ld-vxworks/plt-mips1.d +++ b/ld/testsuite/ld-vxworks/plt-mips1.d @@ -4,7 +4,7 @@ # readelf: -s #... - [0-9]*: 00000000 0 FUNC GLOBAL DEFAULT UND Foo + +[0-9]*: 00000000 +0 +FUNC +GLOBAL +DEFAULT +UND Foo #... - [0-9]*: 00000000 0 FUNC GLOBAL DEFAULT UND Foo + +[0-9]*: 00000000 +0 +FUNC +GLOBAL +DEFAULT +UND Foo #... diff --git a/ld/testsuite/ld-x86-64/tlsbin.rd b/ld/testsuite/ld-x86-64/tlsbin.rd index cf47b4e..3f0556c 100644 --- a/ld/testsuite/ld-x86-64/tlsbin.rd +++ b/ld/testsuite/ld-x86-64/tlsbin.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0 +\[[ 0-9]+\] .interp +.* +\[[ 0-9]+\] .hash +.* @@ -36,112 +36,112 @@ Entry point 0x40113c There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - PHDR.* - INTERP.* + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +PHDR.* + +INTERP.* .*Requesting program interpreter.* - LOAD +0x0+ 0x0+400000 0x0+400000 0x0+122a 0x0+122a R E 0x200000 - LOAD +0x0+122a 0x0+60122a 0x0+60122a 0x0+1e6 0x0+1e6 RW 0x200000 - DYNAMIC +0x0+1290 0x0+601290 0x0+601290 0x0+140 0x0+140 RW 0x8 - TLS +0x0+122a 0x0+60122a 0x0+60122a 0x0+60 0x0+a0 R +0x1 + +LOAD +0x0+ 0x0+400000 0x0+400000 0x0+122a 0x0+122a R E 0x200000 + +LOAD +0x0+122a 0x0+60122a 0x0+60122a 0x0+1e6 0x0+1e6 RW +0x200000 + +DYNAMIC +0x0+1290 0x0+601290 0x0+601290 0x0+140 0x0+140 RW +0x8 + +TLS +0x0+122a 0x0+60122a 0x0+60122a 0x0+60 0x0+a0 R +0x1 Section to Segment mapping: - Segment Sections... - 00 * - 01 +.interp * - 02 +.interp .hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * - 03 +.tdata .dynamic .got .got.plt * - 04 +.dynamic * - 05 +.tdata .tbss * + +Segment Sections... + +00 * + +01 +.interp * + +02 +.interp .hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * + +03 +.tdata .dynamic .got .got.plt * + +04 +.dynamic * + +05 +.tdata .tbss * Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries: - +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend + +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend [0-9a-f ]+R_X86_64_TPOFF64 +0+ sG5 \+ 0 [0-9a-f ]+R_X86_64_TPOFF64 +0+ sG2 \+ 0 [0-9a-f ]+R_X86_64_TPOFF64 +0+ sG6 \+ 0 [0-9a-f ]+R_X86_64_TPOFF64 +0+ sG1 \+ 0 Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: - +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend + +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend [0-9a-f ]+R_X86_64_JUMP_SLOT[0-9a-f ]+__tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -.* NOTYPE LOCAL DEFAULT UND * -.* TLS +GLOBAL DEFAULT UND sG5 -.* TLS +GLOBAL DEFAULT UND sG2 -.* FUNC +GLOBAL DEFAULT UND __tls_get_addr -.* NOTYPE GLOBAL DEFAULT ABS __bss_start -.* TLS +GLOBAL DEFAULT UND sG6 -.* TLS +GLOBAL DEFAULT UND sG1 -.* NOTYPE GLOBAL DEFAULT ABS _edata -.* NOTYPE GLOBAL DEFAULT ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* NOTYPE +LOCAL +DEFAULT +UND * +.* TLS +GLOBAL +DEFAULT +UND sG5 +.* TLS +GLOBAL +DEFAULT +UND sG2 +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sG6 +.* TLS +GLOBAL +DEFAULT +UND sG1 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -.* NOTYPE LOCAL DEFAULT UND * -.* SECTION LOCAL DEFAULT +1 * -.* SECTION LOCAL DEFAULT +2 * -.* SECTION LOCAL DEFAULT +3 * -.* SECTION LOCAL DEFAULT +4 * -.* SECTION LOCAL DEFAULT +5 * -.* SECTION LOCAL DEFAULT +6 * -.* SECTION LOCAL DEFAULT +7 * -.* SECTION LOCAL DEFAULT +8 * -.* SECTION LOCAL DEFAULT +9 * -.* SECTION LOCAL DEFAULT +10 * -.* SECTION LOCAL DEFAULT +11 * -.* SECTION LOCAL DEFAULT +12 * -.* SECTION LOCAL DEFAULT +13 * -.* TLS +LOCAL DEFAULT +9 sl1 -.* TLS +LOCAL DEFAULT +9 sl2 -.* TLS +LOCAL DEFAULT +9 sl3 -.* TLS +LOCAL DEFAULT +9 sl4 -.* TLS +LOCAL DEFAULT +9 sl5 -.* TLS +LOCAL DEFAULT +9 sl6 -.* TLS +LOCAL DEFAULT +9 sl7 -.* TLS +LOCAL DEFAULT +9 sl8 -.* TLS +LOCAL DEFAULT +10 bl1 -.* TLS +LOCAL DEFAULT +10 bl2 -.* TLS +LOCAL DEFAULT +10 bl3 -.* TLS +LOCAL DEFAULT +10 bl4 -.* TLS +LOCAL DEFAULT +10 bl5 -.* TLS +LOCAL DEFAULT +10 bl6 -.* TLS +LOCAL DEFAULT +10 bl7 -.* TLS +LOCAL DEFAULT +10 bl8 -.* OBJECT LOCAL HIDDEN +11 _DYNAMIC -.* OBJECT LOCAL HIDDEN +13 _GLOBAL_OFFSET_TABLE_ -.* TLS +GLOBAL DEFAULT +9 sg8 -.* TLS +GLOBAL DEFAULT +10 bg8 -.* TLS +GLOBAL DEFAULT +10 bg6 -.* TLS +GLOBAL DEFAULT UND sG5 -.* TLS +GLOBAL DEFAULT +10 bg3 -.* TLS +GLOBAL DEFAULT +9 sg3 -.* TLS +GLOBAL HIDDEN +9 sh3 -.* TLS +GLOBAL DEFAULT UND sG2 -.* TLS +GLOBAL DEFAULT +9 sg4 -.* TLS +GLOBAL DEFAULT +9 sg5 -.* TLS +GLOBAL DEFAULT +10 bg5 -.* FUNC +GLOBAL DEFAULT UND __tls_get_addr -.* TLS +GLOBAL HIDDEN +9 sh7 -.* TLS +GLOBAL HIDDEN +9 sh8 -.* TLS +GLOBAL DEFAULT +9 sg1 -.* FUNC +GLOBAL DEFAULT +8 _start -.* TLS +GLOBAL HIDDEN +9 sh4 -.* TLS +GLOBAL DEFAULT +10 bg7 -.* TLS +GLOBAL HIDDEN +9 sh5 -.* NOTYPE GLOBAL DEFAULT ABS __bss_start -.* TLS +GLOBAL DEFAULT UND sG6 -.* FUNC +GLOBAL DEFAULT +8 fn2 -.* TLS +GLOBAL DEFAULT +9 sg2 -.* TLS +GLOBAL DEFAULT UND sG1 -.* TLS +GLOBAL HIDDEN +9 sh1 -.* TLS +GLOBAL DEFAULT +9 sg6 -.* TLS +GLOBAL DEFAULT +9 sg7 -.* NOTYPE GLOBAL DEFAULT ABS _edata -.* NOTYPE GLOBAL DEFAULT ABS _end -.* TLS +GLOBAL HIDDEN +9 sh2 -.* TLS +GLOBAL HIDDEN +9 sh6 -.* TLS +GLOBAL DEFAULT +10 bg2 -.* TLS +GLOBAL DEFAULT +10 bg1 -.* TLS +GLOBAL DEFAULT +10 bg4 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* NOTYPE +LOCAL +DEFAULT +UND * +.* SECTION +LOCAL +DEFAULT +1 * +.* SECTION +LOCAL +DEFAULT +2 * +.* SECTION +LOCAL +DEFAULT +3 * +.* SECTION +LOCAL +DEFAULT +4 * +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +9 * +.* SECTION +LOCAL +DEFAULT +10 * +.* SECTION +LOCAL +DEFAULT +11 * +.* SECTION +LOCAL +DEFAULT +12 * +.* SECTION +LOCAL +DEFAULT +13 * +.* TLS +LOCAL +DEFAULT +9 sl1 +.* TLS +LOCAL +DEFAULT +9 sl2 +.* TLS +LOCAL +DEFAULT +9 sl3 +.* TLS +LOCAL +DEFAULT +9 sl4 +.* TLS +LOCAL +DEFAULT +9 sl5 +.* TLS +LOCAL +DEFAULT +9 sl6 +.* TLS +LOCAL +DEFAULT +9 sl7 +.* TLS +LOCAL +DEFAULT +9 sl8 +.* TLS +LOCAL +DEFAULT +10 bl1 +.* TLS +LOCAL +DEFAULT +10 bl2 +.* TLS +LOCAL +DEFAULT +10 bl3 +.* TLS +LOCAL +DEFAULT +10 bl4 +.* TLS +LOCAL +DEFAULT +10 bl5 +.* TLS +LOCAL +DEFAULT +10 bl6 +.* TLS +LOCAL +DEFAULT +10 bl7 +.* TLS +LOCAL +DEFAULT +10 bl8 +.* OBJECT +LOCAL +HIDDEN +11 _DYNAMIC +.* OBJECT +LOCAL +HIDDEN +13 _GLOBAL_OFFSET_TABLE_ +.* TLS +GLOBAL +DEFAULT +9 sg8 +.* TLS +GLOBAL +DEFAULT +10 bg8 +.* TLS +GLOBAL +DEFAULT +10 bg6 +.* TLS +GLOBAL +DEFAULT +UND sG5 +.* TLS +GLOBAL +DEFAULT +10 bg3 +.* TLS +GLOBAL +DEFAULT +9 sg3 +.* TLS +GLOBAL +HIDDEN +9 sh3 +.* TLS +GLOBAL +DEFAULT +UND sG2 +.* TLS +GLOBAL +DEFAULT +9 sg4 +.* TLS +GLOBAL +DEFAULT +9 sg5 +.* TLS +GLOBAL +DEFAULT +10 bg5 +.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +HIDDEN +9 sh7 +.* TLS +GLOBAL +HIDDEN +9 sh8 +.* TLS +GLOBAL +DEFAULT +9 sg1 +.* FUNC +GLOBAL +DEFAULT +8 _start +.* TLS +GLOBAL +HIDDEN +9 sh4 +.* TLS +GLOBAL +DEFAULT +10 bg7 +.* TLS +GLOBAL +HIDDEN +9 sh5 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +UND sG6 +.* FUNC +GLOBAL +DEFAULT +8 fn2 +.* TLS +GLOBAL +DEFAULT +9 sg2 +.* TLS +GLOBAL +DEFAULT +UND sG1 +.* TLS +GLOBAL +HIDDEN +9 sh1 +.* TLS +GLOBAL +DEFAULT +9 sg6 +.* TLS +GLOBAL +DEFAULT +9 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* TLS +GLOBAL +HIDDEN +9 sh2 +.* TLS +GLOBAL +HIDDEN +9 sh6 +.* TLS +GLOBAL +DEFAULT +10 bg2 +.* TLS +GLOBAL +DEFAULT +10 bg1 +.* TLS +GLOBAL +DEFAULT +10 bg4 diff --git a/ld/testsuite/ld-x86-64/tlsbindesc.rd b/ld/testsuite/ld-x86-64/tlsbindesc.rd index b70d78f..dab8c5b 100644 --- a/ld/testsuite/ld-x86-64/tlsbindesc.rd +++ b/ld/testsuite/ld-x86-64/tlsbindesc.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0 +\[[ 0-9]+\] .interp +.* +\[[ 0-9]+\] .hash +.* @@ -34,105 +34,105 @@ Entry point 0x401108 There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - PHDR.* - INTERP.* + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +PHDR.* + +INTERP.* .*Requesting program interpreter.* - LOAD +0x0+ 0x0+400000 0x0+400000 0x0+11f6 0x0+11f6 R E 0x200000 - LOAD +0x0+11f6 0x0+6011f6 0x0+6011f6 0x0+19a 0x0+19a RW 0x200000 - DYNAMIC +0x0+1258 0x0+601258 0x0+601258 0x0+100 0x0+100 RW 0x8 - TLS +0x0+11f6 0x0+6011f6 0x0+6011f6 0x0+60 0x0+a0 R +0x1 + +LOAD +0x0+ 0x0+400000 0x0+400000 0x0+11f6 0x0+11f6 R E 0x200000 + +LOAD +0x0+11f6 0x0+6011f6 0x0+6011f6 0x0+19a 0x0+19a RW +0x200000 + +DYNAMIC +0x0+1258 0x0+601258 0x0+601258 0x0+100 0x0+100 RW +0x8 + +TLS +0x0+11f6 0x0+6011f6 0x0+6011f6 0x0+60 0x0+a0 R +0x1 Section to Segment mapping: - Segment Sections... - 00 * - 01 +.interp * - 02 +.interp .hash .dynsym .dynstr .rela.dyn .text * - 03 +.tdata .dynamic .got .got.plt * - 04 +.dynamic * - 05 +.tdata .tbss * + +Segment Sections... + +00 * + +01 +.interp * + +02 +.interp .hash .dynsym .dynstr .rela.dyn .text * + +03 +.tdata .dynamic .got .got.plt * + +04 +.dynamic * + +05 +.tdata .tbss * Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 4 entries: - +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend -0+601358 0+100000012 R_X86_64_TPOFF64 +0+ sG5 \+ 0 -0+601360 0+200000012 R_X86_64_TPOFF64 +0+ sG2 \+ 0 -0+601368 0+400000012 R_X86_64_TPOFF64 +0+ sG6 \+ 0 -0+601370 0+500000012 R_X86_64_TPOFF64 +0+ sG1 \+ 0 + +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend +0+601358 +0+100000012 R_X86_64_TPOFF64 +0+ sG5 \+ 0 +0+601360 +0+200000012 R_X86_64_TPOFF64 +0+ sG2 \+ 0 +0+601368 +0+400000012 R_X86_64_TPOFF64 +0+ sG6 \+ 0 +0+601370 +0+500000012 R_X86_64_TPOFF64 +0+ sG1 \+ 0 Symbol table '\.dynsym' contains [0-9]+ 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 sG5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG2 - +[0-9]+: 0+[0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG6 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG1 - +[0-9]+: 0+[0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: 0+[0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 + +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 + +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ 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 +1 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * - +[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+20 +0 TLS +LOCAL DEFAULT +7 sl1 - +[0-9]+: 0+24 +0 TLS +LOCAL DEFAULT +7 sl2 - +[0-9]+: 0+28 +0 TLS +LOCAL DEFAULT +7 sl3 - +[0-9]+: 0+2c +0 TLS +LOCAL DEFAULT +7 sl4 - +[0-9]+: 0+30 +0 TLS +LOCAL DEFAULT +7 sl5 - +[0-9]+: 0+34 +0 TLS +LOCAL DEFAULT +7 sl6 - +[0-9]+: 0+38 +0 TLS +LOCAL DEFAULT +7 sl7 - +[0-9]+: 0+3c +0 TLS +LOCAL DEFAULT +7 sl8 - +[0-9]+: 0+80 +0 TLS +LOCAL DEFAULT +8 bl1 - +[0-9]+: 0+84 +0 TLS +LOCAL DEFAULT +8 bl2 - +[0-9]+: 0+88 +0 TLS +LOCAL DEFAULT +8 bl3 - +[0-9]+: 0+8c +0 TLS +LOCAL DEFAULT +8 bl4 - +[0-9]+: 0+90 +0 TLS +LOCAL DEFAULT +8 bl5 - +[0-9]+: 0+94 +0 TLS +LOCAL DEFAULT +8 bl6 - +[0-9]+: 0+98 +0 TLS +LOCAL DEFAULT +8 bl7 - +[0-9]+: 0+9c +0 TLS +LOCAL DEFAULT +8 bl8 - +[0-9]+: 0+a0 +0 TLS +LOCAL HIDDEN +7 _TLS_MODULE_BASE_ - +[0-9]+: 0+601258 +0 OBJECT LOCAL HIDDEN 9 _DYNAMIC - +[0-9]+: 0+601378 +0 OBJECT LOCAL HIDDEN 11 _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+1c +0 TLS +GLOBAL DEFAULT +7 sg8 - +[0-9]+: 0+7c +0 TLS +GLOBAL DEFAULT +8 bg8 - +[0-9]+: 0+74 +0 TLS +GLOBAL DEFAULT +8 bg6 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG5 - +[0-9]+: 0+68 +0 TLS +GLOBAL DEFAULT +8 bg3 - +[0-9]+: 0+8 +0 TLS +GLOBAL DEFAULT +7 sg3 - +[0-9]+: 0+48 +0 TLS +GLOBAL HIDDEN +7 sh3 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG2 - +[0-9]+: 0+c +0 TLS +GLOBAL DEFAULT +7 sg4 - +[0-9]+: 0+10 +0 TLS +GLOBAL DEFAULT +7 sg5 - +[0-9]+: 0+70 +0 TLS +GLOBAL DEFAULT +8 bg5 - +[0-9]+: 0+58 +0 TLS +GLOBAL HIDDEN +7 sh7 - +[0-9]+: 0+5c +0 TLS +GLOBAL HIDDEN +7 sh8 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +7 sg1 - +[0-9]+: 0+401108 +0 FUNC +GLOBAL DEFAULT +6 _start - +[0-9]+: 0+4c +0 TLS +GLOBAL HIDDEN +7 sh4 - +[0-9]+: 0+78 +0 TLS +GLOBAL DEFAULT +8 bg7 - +[0-9]+: 0+50 +0 TLS +GLOBAL HIDDEN +7 sh5 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG6 - +[0-9]+: 0+401000 +0 FUNC +GLOBAL DEFAULT +6 fn2 - +[0-9]+: 0+4 +0 TLS +GLOBAL DEFAULT +7 sg2 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG1 - +[0-9]+: 0+40 +0 TLS +GLOBAL HIDDEN +7 sh1 - +[0-9]+: 0+14 +0 TLS +GLOBAL DEFAULT +7 sg6 - +[0-9]+: 0+18 +0 TLS +GLOBAL DEFAULT +7 sg7 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end - +[0-9]+: 0+44 +0 TLS +GLOBAL HIDDEN +7 sh2 - +[0-9]+: 0+54 +0 TLS +GLOBAL HIDDEN +7 sh6 - +[0-9]+: 0+64 +0 TLS +GLOBAL DEFAULT +8 bg2 - +[0-9]+: 0+60 +0 TLS +GLOBAL DEFAULT +8 bg1 - +[0-9]+: 0+6c +0 TLS +GLOBAL DEFAULT +8 bg4 + +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 +1 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * + +[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+20 +0 +TLS +LOCAL +DEFAULT +7 sl1 + +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +7 sl2 + +[0-9]+: 0+28 +0 +TLS +LOCAL +DEFAULT +7 sl3 + +[0-9]+: 0+2c +0 +TLS +LOCAL +DEFAULT +7 sl4 + +[0-9]+: 0+30 +0 +TLS +LOCAL +DEFAULT +7 sl5 + +[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +7 sl6 + +[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +7 sl7 + +[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +7 sl8 + +[0-9]+: 0+80 +0 +TLS +LOCAL +DEFAULT +8 bl1 + +[0-9]+: 0+84 +0 +TLS +LOCAL +DEFAULT +8 bl2 + +[0-9]+: 0+88 +0 +TLS +LOCAL +DEFAULT +8 bl3 + +[0-9]+: 0+8c +0 +TLS +LOCAL +DEFAULT +8 bl4 + +[0-9]+: 0+90 +0 +TLS +LOCAL +DEFAULT +8 bl5 + +[0-9]+: 0+94 +0 +TLS +LOCAL +DEFAULT +8 bl6 + +[0-9]+: 0+98 +0 +TLS +LOCAL +DEFAULT +8 bl7 + +[0-9]+: 0+9c +0 +TLS +LOCAL +DEFAULT +8 bl8 + +[0-9]+: 0+a0 +0 +TLS +LOCAL +HIDDEN +7 _TLS_MODULE_BASE_ + +[0-9]+: 0+601258 +0 +OBJECT +LOCAL +HIDDEN +9 _DYNAMIC + +[0-9]+: 0+601378 +0 +OBJECT +LOCAL +HIDDEN +11 _GLOBAL_OFFSET_TABLE_ + +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +7 sg8 + +[0-9]+: 0+7c +0 +TLS +GLOBAL +DEFAULT +8 bg8 + +[0-9]+: 0+74 +0 +TLS +GLOBAL +DEFAULT +8 bg6 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 + +[0-9]+: 0+68 +0 +TLS +GLOBAL +DEFAULT +8 bg3 + +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +7 sg3 + +[0-9]+: 0+48 +0 +TLS +GLOBAL +HIDDEN +7 sh3 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 + +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +7 sg4 + +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5 + +[0-9]+: 0+70 +0 +TLS +GLOBAL +DEFAULT +8 bg5 + +[0-9]+: 0+58 +0 +TLS +GLOBAL +HIDDEN +7 sh7 + +[0-9]+: 0+5c +0 +TLS +GLOBAL +HIDDEN +7 sh8 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 + +[0-9]+: 0+401108 +0 +FUNC +GLOBAL +DEFAULT +6 _start + +[0-9]+: 0+4c +0 +TLS +GLOBAL +HIDDEN +7 sh4 + +[0-9]+: 0+78 +0 +TLS +GLOBAL +DEFAULT +8 bg7 + +[0-9]+: 0+50 +0 +TLS +GLOBAL +HIDDEN +7 sh5 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 + +[0-9]+: 0+401000 +0 +FUNC +GLOBAL +DEFAULT +6 fn2 + +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 + +[0-9]+: 0+40 +0 +TLS +GLOBAL +HIDDEN +7 sh1 + +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6 + +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +7 sg7 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +[0-9]+: 0+44 +0 +TLS +GLOBAL +HIDDEN +7 sh2 + +[0-9]+: 0+54 +0 +TLS +GLOBAL +HIDDEN +7 sh6 + +[0-9]+: 0+64 +0 +TLS +GLOBAL +DEFAULT +8 bg2 + +[0-9]+: 0+60 +0 +TLS +GLOBAL +DEFAULT +8 bg1 + +[0-9]+: 0+6c +0 +TLS +GLOBAL +DEFAULT +8 bg4 diff --git a/ld/testsuite/ld-x86-64/tlsdesc.rd b/ld/testsuite/ld-x86-64/tlsdesc.rd index a69bde1..e361352 100644 --- a/ld/testsuite/ld-x86-64/tlsdesc.rd +++ b/ld/testsuite/ld-x86-64/tlsdesc.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0 +\[[ 0-9]+\] .hash +.* +\[[ 0-9]+\] .dynsym +.* @@ -35,18 +35,18 @@ Entry point 0x1000 There are [0-9]+ 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 0x200000 - LOAD +0x0+1154 0x0+201154 0x0+201154 0x0+264 0x0+264 RW +0x200000 - DYNAMIC +0x0+11b8 0x0+2011b8 0x0+2011b8 0x0+150 0x0+150 RW +0x8 - TLS +0x0+1154 0x0+201154 0x0+201154 0x0+60 0x0+80 R +0x1 + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +LOAD +0x0+ 0x0+ 0x0+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x200000 + +LOAD +0x0+1154 0x0+201154 0x0+201154 0x0+264 0x0+264 RW +0x200000 + +DYNAMIC +0x0+11b8 0x0+2011b8 0x0+2011b8 0x0+150 0x0+150 RW +0x8 + +TLS +0x0+1154 0x0+201154 0x0+201154 0x0+60 0x0+80 R +0x1 Section to Segment mapping: - Segment Sections... - 00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * - 01 +.tdata .dynamic .got .got.plt * - 02 +.dynamic * - 03 +.tdata .tbss * + +Segment Sections... + +00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * + +01 +.tdata .dynamic .got .got.plt * + +02 +.dynamic * + +03 +.tdata .tbss * Dynamic section at offset 0x[0-9a-f]+ contains 16 entries: +Tag +Type +Name/Value @@ -69,92 +69,92 @@ Dynamic section at offset 0x[0-9a-f]+ contains 16 entries: Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 8 entries: +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend -0+201308 [0-9a-f]+ R_X86_64_TPOFF64 +0+24 -0+201310 [0-9a-f]+ R_X86_64_TPOFF64 +0+30 -0+201318 [0-9a-f]+ R_X86_64_TPOFF64 +0+64 -0+201328 [0-9a-f]+ R_X86_64_TPOFF64 +0+50 -0+201330 [0-9a-f]+ R_X86_64_TPOFF64 +0+70 -0+201340 [0-9a-f]+ R_X86_64_TPOFF64 +0+44 -0+201320 [0-9a-f]+ R_X86_64_TPOFF64 +0+10 sg5 \+ 0 -0+201338 [0-9a-f]+ R_X86_64_TPOFF64 +0+4 sg2 \+ 0 +0+201308 +[0-9a-f]+ R_X86_64_TPOFF64 +0+24 +0+201310 +[0-9a-f]+ R_X86_64_TPOFF64 +0+30 +0+201318 +[0-9a-f]+ R_X86_64_TPOFF64 +0+64 +0+201328 +[0-9a-f]+ R_X86_64_TPOFF64 +0+50 +0+201330 +[0-9a-f]+ R_X86_64_TPOFF64 +0+70 +0+201340 +[0-9a-f]+ R_X86_64_TPOFF64 +0+44 +0+201320 +[0-9a-f]+ R_X86_64_TPOFF64 +0+10 sg5 \+ 0 +0+201338 +[0-9a-f]+ R_X86_64_TPOFF64 +0+4 sg2 \+ 0 Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 5 entries: - +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend -0+201398 [0-9a-f]+ R_X86_64_TLSDESC +0+ sg1 \+ 0 -0+201368 [0-9a-f]+ R_X86_64_TLSDESC +0+20 -0+2013a8 [0-9a-f]+ R_X86_64_TLSDESC +0+40 -0+201378 [0-9a-f]+ R_X86_64_TLSDESC +0+60 -0+201388 [0-9a-f]+ R_X86_64_TLSDESC +0+ + +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend +0+201398 +[0-9a-f]+ R_X86_64_TLSDESC +0+ sg1 \+ 0 +0+201368 +[0-9a-f]+ R_X86_64_TLSDESC +0+20 +0+2013a8 +[0-9a-f]+ R_X86_64_TLSDESC +0+40 +0+201378 +[0-9a-f]+ R_X86_64_TLSDESC +0+60 +0+201388 +[0-9a-f]+ R_X86_64_TLSDESC +0+ Symbol table '\.dynsym' contains [0-9]+ 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 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * - +[0-9]+: 0+1c +0 TLS +GLOBAL DEFAULT +8 sg8 - +[0-9]+: 0+8 +0 TLS +GLOBAL DEFAULT +8 sg3 - +[0-9]+: 0+c +0 TLS +GLOBAL DEFAULT +8 sg4 - +[0-9]+: 0+10 +0 TLS +GLOBAL DEFAULT +8 sg5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +8 sg1 - +[0-9]+: 0+1000 +0 FUNC +GLOBAL DEFAULT +7 fn1 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+4 +0 TLS +GLOBAL DEFAULT +8 sg2 - +[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 NOTYPE GLOBAL DEFAULT ABS _end + +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 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * + +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +8 sg8 + +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +8 sg3 + +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +8 sg4 + +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +8 sg5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +8 sg1 + +[0-9]+: 0+1000 +0 +FUNC +GLOBAL +DEFAULT +7 fn1 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +8 sg2 + +[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 +NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ 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 +1 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * - +[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-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * - +[0-9]+: 0+20 +0 TLS +LOCAL DEFAULT +8 sl1 - +[0-9]+: 0+24 +0 TLS +LOCAL DEFAULT +8 sl2 - +[0-9]+: 0+28 +0 TLS +LOCAL DEFAULT +8 sl3 - +[0-9]+: 0+2c +0 TLS +LOCAL DEFAULT +8 sl4 - +[0-9]+: 0+30 +0 TLS +LOCAL DEFAULT +8 sl5 - +[0-9]+: 0+34 +0 TLS +LOCAL DEFAULT +8 sl6 - +[0-9]+: 0+38 +0 TLS +LOCAL DEFAULT +8 sl7 - +[0-9]+: 0+3c +0 TLS +LOCAL DEFAULT +8 sl8 - +[0-9]+: 0+60 +0 TLS +LOCAL HIDDEN +9 sH1 - +[0-9]+: 0+ +0 TLS +LOCAL HIDDEN +8 _TLS_MODULE_BASE_ - +[0-9]+: 0+2011b8 +0 OBJECT LOCAL HIDDEN ABS _DYNAMIC - +[0-9]+: 0+48 +0 TLS +LOCAL HIDDEN +8 sh3 - +[0-9]+: 0+64 +0 TLS +LOCAL HIDDEN +9 sH2 - +[0-9]+: 0+78 +0 TLS +LOCAL HIDDEN +9 sH7 - +[0-9]+: 0+58 +0 TLS +LOCAL HIDDEN +8 sh7 - +[0-9]+: 0+5c +0 TLS +LOCAL HIDDEN +8 sh8 - +[0-9]+: 0+6c +0 TLS +LOCAL HIDDEN +9 sH4 - +[0-9]+: 0+4c +0 TLS +LOCAL HIDDEN +8 sh4 - +[0-9]+: 0+68 +0 TLS +LOCAL HIDDEN +9 sH3 - +[0-9]+: 0+50 +0 TLS +LOCAL HIDDEN +8 sh5 - +[0-9]+: 0+70 +0 TLS +LOCAL HIDDEN +9 sH5 - +[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+201350 +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 - +[0-9]+: 0+8 +0 TLS +GLOBAL DEFAULT +8 sg3 - +[0-9]+: 0+c +0 TLS +GLOBAL DEFAULT +8 sg4 - +[0-9]+: 0+10 +0 TLS +GLOBAL DEFAULT +8 sg5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +8 sg1 - +[0-9]+: 0+1000 +0 FUNC +GLOBAL DEFAULT +7 fn1 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+4 +0 TLS +GLOBAL DEFAULT +8 sg2 - +[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 NOTYPE GLOBAL DEFAULT ABS _end + +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 +1 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * + +[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-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 * + +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +8 sl1 + +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +8 sl2 + +[0-9]+: 0+28 +0 +TLS +LOCAL +DEFAULT +8 sl3 + +[0-9]+: 0+2c +0 +TLS +LOCAL +DEFAULT +8 sl4 + +[0-9]+: 0+30 +0 +TLS +LOCAL +DEFAULT +8 sl5 + +[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +8 sl6 + +[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +8 sl7 + +[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +8 sl8 + +[0-9]+: 0+60 +0 +TLS +LOCAL +HIDDEN +9 sH1 + +[0-9]+: 0+ +0 +TLS +LOCAL +HIDDEN +8 _TLS_MODULE_BASE_ + +[0-9]+: 0+2011b8 +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC + +[0-9]+: 0+48 +0 +TLS +LOCAL +HIDDEN +8 sh3 + +[0-9]+: 0+64 +0 +TLS +LOCAL +HIDDEN +9 sH2 + +[0-9]+: 0+78 +0 +TLS +LOCAL +HIDDEN +9 sH7 + +[0-9]+: 0+58 +0 +TLS +LOCAL +HIDDEN +8 sh7 + +[0-9]+: 0+5c +0 +TLS +LOCAL +HIDDEN +8 sh8 + +[0-9]+: 0+6c +0 +TLS +LOCAL +HIDDEN +9 sH4 + +[0-9]+: 0+4c +0 +TLS +LOCAL +HIDDEN +8 sh4 + +[0-9]+: 0+68 +0 +TLS +LOCAL +HIDDEN +9 sH3 + +[0-9]+: 0+50 +0 +TLS +LOCAL +HIDDEN +8 sh5 + +[0-9]+: 0+70 +0 +TLS +LOCAL +HIDDEN +9 sH5 + +[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+201350 +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 + +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +8 sg3 + +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +8 sg4 + +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +8 sg5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +8 sg1 + +[0-9]+: 0+1000 +0 +FUNC +GLOBAL +DEFAULT +7 fn1 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +8 sg2 + +[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 +NOTYPE +GLOBAL +DEFAULT +ABS _end diff --git a/ld/testsuite/ld-x86-64/tlsgdesc.rd b/ld/testsuite/ld-x86-64/tlsgdesc.rd index 7806a97..3d42032 100644 --- a/ld/testsuite/ld-x86-64/tlsgdesc.rd +++ b/ld/testsuite/ld-x86-64/tlsgdesc.rd @@ -7,7 +7,7 @@ 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 + +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 +\[[ 0-9]+\] \.hash +.* +\[[ 0-9]+\] \.dynsym +.* @@ -32,73 +32,73 @@ Entry point 0x[0-9a-f]+ There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - LOAD.* - LOAD.* - DYNAMIC.* + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +LOAD.* + +LOAD.* + +DYNAMIC.* Section to Segment mapping: - Segment Sections... - 00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * - 01 +.dynamic .got .got.plt * - 02 +.dynamic * + +Segment Sections... + +00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * + +01 +.dynamic .got .got.plt * + +02 +.dynamic * Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 8 entries: - +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend -[0-9a-f]+ 0+200000012 R_X86_64_TPOFF64 +0+ sG3 \+ 0 -[0-9a-f]+ 0+300000012 R_X86_64_TPOFF64 +0+ sG5 \+ 0 -[0-9a-f]+ 0+400000010 R_X86_64_DTPMOD64 +0+ sG2 \+ 0 -[0-9a-f]+ 0+400000011 R_X86_64_DTPOFF64 +0+ sG2 \+ 0 -[0-9a-f]+ 0+500000012 R_X86_64_TPOFF64 +0+ sG4 \+ 0 -[0-9a-f]+ 0+800000012 R_X86_64_TPOFF64 +0+ sG6 \+ 0 -[0-9a-f]+ 0+a00000010 R_X86_64_DTPMOD64 +0+ sG1 \+ 0 -[0-9a-f]+ 0+a00000011 R_X86_64_DTPOFF64 +0+ sG1 \+ 0 + +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend +[0-9a-f]+ +0+200000012 R_X86_64_TPOFF64 +0+ sG3 \+ 0 +[0-9a-f]+ +0+300000012 R_X86_64_TPOFF64 +0+ sG5 \+ 0 +[0-9a-f]+ +0+400000010 R_X86_64_DTPMOD64 +0+ sG2 \+ 0 +[0-9a-f]+ +0+400000011 R_X86_64_DTPOFF64 +0+ sG2 \+ 0 +[0-9a-f]+ +0+500000012 R_X86_64_TPOFF64 +0+ sG4 \+ 0 +[0-9a-f]+ +0+800000012 R_X86_64_TPOFF64 +0+ sG6 \+ 0 +[0-9a-f]+ +0+a00000010 R_X86_64_DTPMOD64 +0+ sG1 \+ 0 +[0-9a-f]+ +0+a00000011 R_X86_64_DTPOFF64 +0+ sG1 \+ 0 Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 3 entries: - +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend -[0-9a-f]+ 0+600000007 R_X86_64_JUMP_SLOT +0+ __tls_get_addr \+ 0 -[0-9a-f]+ 0+a00000024 R_X86_64_TLSDESC +0+ sG1 \+ 0 -[0-9a-f]+ 0+400000024 R_X86_64_TLSDESC +0+ sG2 \+ 0 + +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend +[0-9a-f]+ +0+600000007 R_X86_64_JUMP_SLOT +0+ __tls_get_addr \+ 0 +[0-9a-f]+ +0+a00000024 R_X86_64_TLSDESC +0+ sG1 \+ 0 +[0-9a-f]+ +0+400000024 R_X86_64_TLSDESC +0+ sG2 \+ 0 Symbol table '\.dynsym' contains [0-9]+ 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 * - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG3 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG2 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG4 - +[0-9]+: 0+ +0 NOTYPE GLOBAL DEFAULT UND __tls_get_addr - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG6 - +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +7 fc1 - +[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 NOTYPE GLOBAL DEFAULT ABS _end + +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 * + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 + +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 + +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +7 fc1 + +[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 +NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ 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 +1 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * - +[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 OBJECT LOCAL HIDDEN ABS _DYNAMIC - +[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG3 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG2 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG4 - +[0-9]+: 0+ +0 NOTYPE GLOBAL DEFAULT UND __tls_get_addr - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG6 - +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +7 fc1 - +[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 NOTYPE GLOBAL DEFAULT ABS _end + +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 +1 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * + +[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 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC + +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4 + +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6 + +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +7 fc1 + +[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 +NOTYPE +GLOBAL +DEFAULT +ABS _end diff --git a/ld/testsuite/ld-x86-64/tlspic.rd b/ld/testsuite/ld-x86-64/tlspic.rd index f62901c..86d7cc8 100644 --- a/ld/testsuite/ld-x86-64/tlspic.rd +++ b/ld/testsuite/ld-x86-64/tlspic.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0 +\[[ 0-9]+\] .hash +.* +\[[ 0-9]+\] .dynsym +.* @@ -35,18 +35,18 @@ Entry point 0x1000 There are [0-9]+ 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 0x200000 - LOAD +0x0+11ac 0x0+2011ac 0x0+2011ac 0x0+244 0x0+244 RW +0x200000 - DYNAMIC +0x0+1210 0x0+201210 0x0+201210 0x0+130 0x0+130 RW +0x8 - TLS +0x0+11ac 0x0+2011ac 0x0+2011ac 0x0+60 0x0+80 R +0x1 + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +LOAD +0x0+ 0x0+ 0x0+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x200000 + +LOAD +0x0+11ac 0x0+2011ac 0x0+2011ac 0x0+244 0x0+244 RW +0x200000 + +DYNAMIC +0x0+1210 0x0+201210 0x0+201210 0x0+130 0x0+130 RW +0x8 + +TLS +0x0+11ac 0x0+2011ac 0x0+2011ac 0x0+60 0x0+80 R +0x1 Section to Segment mapping: - Segment Sections... - 00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * - 01 +.tdata .dynamic .got .got.plt * - 02 +.dynamic * - 03 +.tdata .tbss * + +Segment Sections... + +00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text * + +01 +.tdata .dynamic .got .got.plt * + +02 +.dynamic * + +03 +.tdata .tbss * Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend @@ -66,79 +66,79 @@ Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: [0-9a-f ]+R_X86_64_TPOFF64 +0+4 sg2 \+ 0 Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: - +Offset +Info +Type +Symbol's Value Symbol's Name \+ Addend + +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend [0-9a-f ]+R_X86_64_JUMP_SLOT +0+ __tls_get_addr \+ 0 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -.* NOTYPE LOCAL DEFAULT UND * -.* SECTION LOCAL DEFAULT +7 * -.* SECTION LOCAL DEFAULT +8 * -.* TLS +GLOBAL DEFAULT +8 sg8 -.* TLS +GLOBAL DEFAULT +8 sg3 -.* TLS +GLOBAL DEFAULT +8 sg4 -.* TLS +GLOBAL DEFAULT +8 sg5 -.* NOTYPE GLOBAL DEFAULT UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 sg1 -.* FUNC +GLOBAL DEFAULT +7 fn1 -.* NOTYPE GLOBAL DEFAULT ABS __bss_start -.* TLS +GLOBAL DEFAULT +8 sg2 -.* TLS +GLOBAL DEFAULT +8 sg6 -.* TLS +GLOBAL DEFAULT +8 sg7 -.* NOTYPE GLOBAL DEFAULT ABS _edata -.* NOTYPE GLOBAL DEFAULT ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* NOTYPE +LOCAL +DEFAULT +UND * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +8 * +.* TLS +GLOBAL +DEFAULT +8 sg8 +.* TLS +GLOBAL +DEFAULT +8 sg3 +.* TLS +GLOBAL +DEFAULT +8 sg4 +.* TLS +GLOBAL +DEFAULT +8 sg5 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 sg1 +.* FUNC +GLOBAL +DEFAULT +7 fn1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +8 sg2 +.* TLS +GLOBAL +DEFAULT +8 sg6 +.* TLS +GLOBAL +DEFAULT +8 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name -.* NOTYPE LOCAL DEFAULT UND * -.* SECTION LOCAL DEFAULT +1 * -.* SECTION LOCAL DEFAULT +2 * -.* SECTION LOCAL DEFAULT +3 * -.* SECTION LOCAL DEFAULT +4 * -.* SECTION LOCAL DEFAULT +5 * -.* SECTION LOCAL DEFAULT +6 * -.* SECTION LOCAL DEFAULT +7 * -.* SECTION LOCAL DEFAULT +8 * -.* SECTION LOCAL DEFAULT +9 * -.* SECTION LOCAL DEFAULT +10 * -.* SECTION LOCAL DEFAULT +11 * -.* SECTION LOCAL DEFAULT +12 * -.* TLS +LOCAL DEFAULT +8 sl1 -.* TLS +LOCAL DEFAULT +8 sl2 -.* TLS +LOCAL DEFAULT +8 sl3 -.* TLS +LOCAL DEFAULT +8 sl4 -.* TLS +LOCAL DEFAULT +8 sl5 -.* TLS +LOCAL DEFAULT +8 sl6 -.* TLS +LOCAL DEFAULT +8 sl7 -.* TLS +LOCAL DEFAULT +8 sl8 -.* TLS +LOCAL HIDDEN +9 sH1 + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name +.* NOTYPE +LOCAL +DEFAULT +UND * +.* SECTION +LOCAL +DEFAULT +1 * +.* SECTION +LOCAL +DEFAULT +2 * +.* SECTION +LOCAL +DEFAULT +3 * +.* SECTION +LOCAL +DEFAULT +4 * +.* SECTION +LOCAL +DEFAULT +5 * +.* SECTION +LOCAL +DEFAULT +6 * +.* SECTION +LOCAL +DEFAULT +7 * +.* SECTION +LOCAL +DEFAULT +8 * +.* SECTION +LOCAL +DEFAULT +9 * +.* SECTION +LOCAL +DEFAULT +10 * +.* SECTION +LOCAL +DEFAULT +11 * +.* SECTION +LOCAL +DEFAULT +12 * +.* TLS +LOCAL +DEFAULT +8 sl1 +.* TLS +LOCAL +DEFAULT +8 sl2 +.* TLS +LOCAL +DEFAULT +8 sl3 +.* TLS +LOCAL +DEFAULT +8 sl4 +.* TLS +LOCAL +DEFAULT +8 sl5 +.* TLS +LOCAL +DEFAULT +8 sl6 +.* TLS +LOCAL +DEFAULT +8 sl7 +.* TLS +LOCAL +DEFAULT +8 sl8 +.* TLS +LOCAL +HIDDEN +9 sH1 .* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC -.* TLS +LOCAL HIDDEN +8 sh3 -.* TLS +LOCAL HIDDEN +9 sH2 -.* TLS +LOCAL HIDDEN +9 sH7 -.* TLS +LOCAL HIDDEN +8 sh7 -.* TLS +LOCAL HIDDEN +8 sh8 -.* TLS +LOCAL HIDDEN +9 sH4 -.* TLS +LOCAL HIDDEN +8 sh4 -.* TLS +LOCAL HIDDEN +9 sH3 -.* TLS +LOCAL HIDDEN +8 sh5 -.* TLS +LOCAL HIDDEN +9 sH5 -.* TLS +LOCAL HIDDEN +9 sH6 -.* TLS +LOCAL HIDDEN +9 sH8 -.* TLS +LOCAL HIDDEN +8 sh1 -.* OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ -.* TLS +LOCAL HIDDEN +8 sh2 -.* TLS +LOCAL HIDDEN +8 sh6 -.* TLS +GLOBAL DEFAULT +8 sg8 -.* TLS +GLOBAL DEFAULT +8 sg3 -.* TLS +GLOBAL DEFAULT +8 sg4 -.* TLS +GLOBAL DEFAULT +8 sg5 -.* NOTYPE GLOBAL DEFAULT UND __tls_get_addr -.* TLS +GLOBAL DEFAULT +8 sg1 -.* FUNC +GLOBAL DEFAULT +7 fn1 -.* NOTYPE GLOBAL DEFAULT ABS __bss_start -.* TLS +GLOBAL DEFAULT +8 sg2 -.* TLS +GLOBAL DEFAULT +8 sg6 -.* TLS +GLOBAL DEFAULT +8 sg7 -.* NOTYPE GLOBAL DEFAULT ABS _edata -.* NOTYPE GLOBAL DEFAULT ABS _end +.* TLS +LOCAL +HIDDEN +8 sh3 +.* TLS +LOCAL +HIDDEN +9 sH2 +.* TLS +LOCAL +HIDDEN +9 sH7 +.* TLS +LOCAL +HIDDEN +8 sh7 +.* TLS +LOCAL +HIDDEN +8 sh8 +.* TLS +LOCAL +HIDDEN +9 sH4 +.* TLS +LOCAL +HIDDEN +8 sh4 +.* TLS +LOCAL +HIDDEN +9 sH3 +.* TLS +LOCAL +HIDDEN +8 sh5 +.* TLS +LOCAL +HIDDEN +9 sH5 +.* TLS +LOCAL +HIDDEN +9 sH6 +.* TLS +LOCAL +HIDDEN +9 sH8 +.* TLS +LOCAL +HIDDEN +8 sh1 +.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_ +.* TLS +LOCAL +HIDDEN +8 sh2 +.* TLS +LOCAL +HIDDEN +8 sh6 +.* TLS +GLOBAL +DEFAULT +8 sg8 +.* TLS +GLOBAL +DEFAULT +8 sg3 +.* TLS +GLOBAL +DEFAULT +8 sg4 +.* TLS +GLOBAL +DEFAULT +8 sg5 +.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr +.* TLS +GLOBAL +DEFAULT +8 sg1 +.* FUNC +GLOBAL +DEFAULT +7 fn1 +.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* TLS +GLOBAL +DEFAULT +8 sg2 +.* TLS +GLOBAL +DEFAULT +8 sg6 +.* TLS +GLOBAL +DEFAULT +8 sg7 +.* NOTYPE +GLOBAL +DEFAULT +ABS _edata +.* NOTYPE +GLOBAL +DEFAULT +ABS _end diff --git a/ld/testsuite/ld-xtensa/tlsbin.rd b/ld/testsuite/ld-xtensa/tlsbin.rd index b2e8726..d70d2eb 100644 --- a/ld/testsuite/ld-xtensa/tlsbin.rd +++ b/ld/testsuite/ld-xtensa/tlsbin.rd @@ -7,7 +7,7 @@ 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 + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0 +\[[ 0-9]+\] .interp +.* +\[[ 0-9]+\] .hash +.* @@ -35,84 +35,84 @@ Entry point 0x[0-9a-f]+ There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - PHDR.* - INTERP.* + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +PHDR.* + +INTERP.* .*Requesting program interpreter.* - LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x1000 - LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RW 0x1000 - DYNAMIC +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RW +0x4 - TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R +0x4 + +LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x1000 + +LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RW +0x1000 + +DYNAMIC +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RW +0x4 + +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R +0x4 Section to Segment mapping: - Segment Sections... - 00 * - 01 +.interp * - 02 +.interp .hash .dynsym .dynstr .rela.dyn .text .got.loc * - 03 +.tdata .dynamic .got * - 04 +.dynamic * - 05 +.tdata * + +Segment Sections... + +00 * + +01 +.interp * + +02 +.interp .hash .dynsym .dynstr .rela.dyn .text .got.loc * + +03 +.tdata .dynamic .got * + +04 +.dynamic * + +05 +.tdata * Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 3 entries: - +Offset +Info +Type +Sym\. Value Symbol's Name \+ Addend -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLS_TPOFF +0+ +sG1 \+ 0 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLS_TPOFF +0+ +sG2 \+ 0 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLS_TPOFF +0+ +sG2 \+ 0 + +Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+ +sG1 \+ 0 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+ +sG2 \+ 0 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+ +sG2 \+ 0 Symbol table '\.dynsym' contains [0-9]+ 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 sG2 - +[0-9]+: 0+[0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG1 - +[0-9]+: 0+[0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: 0+[0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 + +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 + +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ 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 +1 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * - +[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-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +13 * - +[0-9]+: [0-9a-f]+ +0 TLS +LOCAL DEFAULT +8 sl1 - +[0-9]+: [0-9a-f]+ +0 TLS +LOCAL DEFAULT +8 sl2 - +[0-9]+: [0-9a-f]+ +0 TLS +LOCAL DEFAULT +8 sl3 - +[0-9]+: [0-9a-f]+ +0 TLS +LOCAL DEFAULT +8 sl4 - +[0-9]+: [0-9a-f]+ +0 TLS +LOCAL DEFAULT +8 sl5 - +[0-9]+: [0-9a-f]+ +0 TLS +LOCAL DEFAULT +8 sl6 - +[0-9]+: [0-9a-f]+ +0 TLS +LOCAL DEFAULT +8 sl7 - +[0-9]+: [0-9a-f]+ +0 TLS +LOCAL DEFAULT +8 sl8 - +[0-9]+: 0+ +0 TLS +LOCAL HIDDEN +8 _TLS_MODULE_BASE_ - +[0-9]+: [0-9a-f]+ +0 OBJECT +LOCAL +HIDDEN +9 _DYNAMIC - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg8 - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg3 - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +8 sh3 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG2 - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg4 - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg5 - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +8 sh7 - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +8 sh8 - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg1 - +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT +6 _start - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +8 sh4 - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +8 sh5 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg2 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG1 - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +8 sh1 - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg6 - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +8 sg7 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +8 sh2 - +[0-9]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +8 sh6 + +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 +1 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * + +[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-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13 * + +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl1 + +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl2 + +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl3 + +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl4 + +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl5 + +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl6 + +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl7 + +[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl8 + +[0-9]+: 0+ +0 +TLS +LOCAL +HIDDEN +8 _TLS_MODULE_BASE_ + +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +9 _DYNAMIC + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg8 + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg3 + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh3 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2 + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg4 + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg5 + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh7 + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh8 + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg1 + +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +6 _start + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh4 + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh5 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg2 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1 + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh1 + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg6 + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg7 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh2 + +[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh6 diff --git a/ld/testsuite/ld-xtensa/tlspic.rd b/ld/testsuite/ld-xtensa/tlspic.rd index 54dd71a..72cee3d 100644 --- a/ld/testsuite/ld-xtensa/tlspic.rd +++ b/ld/testsuite/ld-xtensa/tlspic.rd @@ -8,7 +8,7 @@ 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 + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0 +\[[ 0-9]+\] .hash +.* +\[[ 0-9]+\] .dynsym +.* @@ -36,107 +36,107 @@ Entry point 0x[0-9a-f]+ There are [0-9]+ program headers, starting at offset [0-9]+ Program Headers: - Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align - LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x1000 - LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RW 0x1000 - DYNAMIC +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RW +0x4 - TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R +0x4 + +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align + +LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x1000 + +LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RW +0x1000 + +DYNAMIC +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RW +0x4 + +TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R +0x4 Section to Segment mapping: - Segment Sections... - 00 +.hash .dynsym .dynstr .rela.dyn .text .got.loc * - 01 +.tdata .dynamic .got * - 02 +.dynamic * - 03 +.tdata .tbss * + +Segment Sections... + +00 +.hash .dynsym .dynstr .rela.dyn .text .got.loc * + +01 +.tdata .dynamic .got * + +02 +.dynamic * + +03 +.tdata .tbss * Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 18 entries: - +Offset +Info +Type +Sym\. Value Symbol's Name \+ Addend -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLSDESC_FN +0+ +sg1 \+ 0 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+ +sg1 \+ 0 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLS_TPOFF +0+4 +sg2 \+ 0 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLS_TPOFF +0+4 +sg2 \+ 0 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLSDESC_FN +0+20 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+20 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLS_TPOFF +0+24 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLSDESC_FN +0+40 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+40 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLS_TPOFF +0+44 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLSDESC_FN +0+60 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+60 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLS_TPOFF +0+64 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLSDESC_FN +0+ -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+ -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLS_TPOFF +0+24 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLS_TPOFF +0+44 -[0-9a-f]+ [0-9a-f]+ R_XTENSA_TLS_TPOFF +0+64 + +Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_FN +0+ +sg1 \+ 0 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+ +sg1 \+ 0 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+4 +sg2 \+ 0 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+4 +sg2 \+ 0 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_FN +0+20 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+20 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+24 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_FN +0+40 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+40 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+44 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_FN +0+60 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+60 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+64 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_FN +0+ +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLSDESC_ARG +0+ +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+24 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+44 +[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+64 Symbol table '\.dynsym' contains [0-9]+ entries: - +Num: +Value +Size Type +Bind +Vis +Ndx Name - +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND * - +[0-9]+: 0+1c +0 TLS +GLOBAL DEFAULT +7 sg8 - +[0-9]+: 0+8 +0 TLS +GLOBAL DEFAULT +7 sg3 - +[0-9]+: 0+c +0 TLS +GLOBAL DEFAULT +7 sg4 - +[0-9]+: 0+10 +0 TLS +GLOBAL DEFAULT +7 sg5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +7 sg1 - +[0-9]+: 0+350 +0 FUNC +GLOBAL DEFAULT +5 _start - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+4 +0 TLS +GLOBAL DEFAULT +7 sg2 - +[0-9]+: 0+14 +0 TLS +GLOBAL DEFAULT +7 sg6 - +[0-9]+: 0+18 +0 TLS +GLOBAL DEFAULT +7 sg7 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end + +Num: +Value +Size +Type +Bind +Vis +Ndx +Name + +[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND * + +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +7 sg8 + +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +7 sg3 + +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +7 sg4 + +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 + +[0-9]+: 0+350 +0 +FUNC +GLOBAL +DEFAULT +5 _start + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2 + +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6 + +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +7 sg7 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end Symbol table '\.symtab' contains [0-9]+ 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 +1 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +2 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +3 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +4 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +5 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +6 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * - +[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-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +13 * - +[0-9]+: 0+20 +0 TLS +LOCAL DEFAULT +7 sl1 - +[0-9]+: 0+24 +0 TLS +LOCAL DEFAULT +7 sl2 - +[0-9]+: 0+28 +0 TLS +LOCAL DEFAULT +7 sl3 - +[0-9]+: 0+2c +0 TLS +LOCAL DEFAULT +7 sl4 - +[0-9]+: 0+30 +0 TLS +LOCAL DEFAULT +7 sl5 - +[0-9]+: 0+34 +0 TLS +LOCAL DEFAULT +7 sl6 - +[0-9]+: 0+38 +0 TLS +LOCAL DEFAULT +7 sl7 - +[0-9]+: 0+3c +0 TLS +LOCAL DEFAULT +7 sl8 - +[0-9]+: 0+60 +0 TLS +LOCAL HIDDEN +8 sH1 - +[0-9]+: 0+ +0 TLS +LOCAL HIDDEN +7 _TLS_MODULE_BASE_ - +[0-9]+: 0+144c +0 OBJECT LOCAL HIDDEN ABS _DYNAMIC - +[0-9]+: 0+48 +0 TLS +LOCAL HIDDEN +7 sh3 - +[0-9]+: 0+64 +0 TLS +LOCAL HIDDEN +8 sH2 - +[0-9]+: 0+78 +0 TLS +LOCAL HIDDEN +8 sH7 - +[0-9]+: 0+58 +0 TLS +LOCAL HIDDEN +7 sh7 - +[0-9]+: 0+5c +0 TLS +LOCAL HIDDEN +7 sh8 - +[0-9]+: 0+6c +0 TLS +LOCAL HIDDEN +8 sH4 - +[0-9]+: 0+4c +0 TLS +LOCAL HIDDEN +7 sh4 - +[0-9]+: 0+68 +0 TLS +LOCAL HIDDEN +8 sH3 - +[0-9]+: 0+50 +0 TLS +LOCAL HIDDEN +7 sh5 - +[0-9]+: 0+70 +0 TLS +LOCAL HIDDEN +8 sH5 - +[0-9]+: 0+74 +0 TLS +LOCAL HIDDEN +8 sH6 - +[0-9]+: 0+7c +0 TLS +LOCAL HIDDEN +8 sH8 - +[0-9]+: 0+40 +0 TLS +LOCAL HIDDEN +7 sh1 - +[0-9]+: 0+44 +0 TLS +LOCAL HIDDEN +7 sh2 - +[0-9]+: 0+54 +0 TLS +LOCAL HIDDEN +7 sh6 - +[0-9]+: 0+1c +0 TLS +GLOBAL DEFAULT +7 sg8 - +[0-9]+: 0+8 +0 TLS +GLOBAL DEFAULT +7 sg3 - +[0-9]+: 0+c +0 TLS +GLOBAL DEFAULT +7 sg4 - +[0-9]+: 0+10 +0 TLS +GLOBAL DEFAULT +7 sg5 - +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT +7 sg1 - +[0-9]+: 0+350 +0 FUNC +GLOBAL DEFAULT +5 _start - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start - +[0-9]+: 0+4 +0 TLS +GLOBAL DEFAULT +7 sg2 - +[0-9]+: 0+14 +0 TLS +GLOBAL DEFAULT +7 sg6 - +[0-9]+: 0+18 +0 TLS +GLOBAL DEFAULT +7 sg7 - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata - +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end + +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 +1 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 * + +[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-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 * + +[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13 * + +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +7 sl1 + +[0-9]+: 0+24 +0 +TLS +LOCAL +DEFAULT +7 sl2 + +[0-9]+: 0+28 +0 +TLS +LOCAL +DEFAULT +7 sl3 + +[0-9]+: 0+2c +0 +TLS +LOCAL +DEFAULT +7 sl4 + +[0-9]+: 0+30 +0 +TLS +LOCAL +DEFAULT +7 sl5 + +[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +7 sl6 + +[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +7 sl7 + +[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +7 sl8 + +[0-9]+: 0+60 +0 +TLS +LOCAL +HIDDEN +8 sH1 + +[0-9]+: 0+ +0 +TLS +LOCAL +HIDDEN +7 _TLS_MODULE_BASE_ + +[0-9]+: 0+144c +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC + +[0-9]+: 0+48 +0 +TLS +LOCAL +HIDDEN +7 sh3 + +[0-9]+: 0+64 +0 +TLS +LOCAL +HIDDEN +8 sH2 + +[0-9]+: 0+78 +0 +TLS +LOCAL +HIDDEN +8 sH7 + +[0-9]+: 0+58 +0 +TLS +LOCAL +HIDDEN +7 sh7 + +[0-9]+: 0+5c +0 +TLS +LOCAL +HIDDEN +7 sh8 + +[0-9]+: 0+6c +0 +TLS +LOCAL +HIDDEN +8 sH4 + +[0-9]+: 0+4c +0 +TLS +LOCAL +HIDDEN +7 sh4 + +[0-9]+: 0+68 +0 +TLS +LOCAL +HIDDEN +8 sH3 + +[0-9]+: 0+50 +0 +TLS +LOCAL +HIDDEN +7 sh5 + +[0-9]+: 0+70 +0 +TLS +LOCAL +HIDDEN +8 sH5 + +[0-9]+: 0+74 +0 +TLS +LOCAL +HIDDEN +8 sH6 + +[0-9]+: 0+7c +0 +TLS +LOCAL +HIDDEN +8 sH8 + +[0-9]+: 0+40 +0 +TLS +LOCAL +HIDDEN +7 sh1 + +[0-9]+: 0+44 +0 +TLS +LOCAL +HIDDEN +7 sh2 + +[0-9]+: 0+54 +0 +TLS +LOCAL +HIDDEN +7 sh6 + +[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +7 sg8 + +[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +7 sg3 + +[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +7 sg4 + +[0-9]+: 0+10 +0 +TLS +GLOBAL +DEFAULT +7 sg5 + +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +7 sg1 + +[0-9]+: 0+350 +0 +FUNC +GLOBAL +DEFAULT +5 _start + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +[0-9]+: 0+4 +0 +TLS +GLOBAL +DEFAULT +7 sg2 + +[0-9]+: 0+14 +0 +TLS +GLOBAL +DEFAULT +7 sg6 + +[0-9]+: 0+18 +0 +TLS +GLOBAL +DEFAULT +7 sg7 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end |