diff options
author | Alan Modra <amodra@gmail.com> | 2012-06-15 15:13:41 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-06-15 15:13:41 +0000 |
commit | d2667025dd30611514810c28bee9709e4623012a (patch) | |
tree | 7364422fa955cf289aef9008298bb0bc79394d65 /ld/testsuite | |
parent | 8e09ad05eda21f6772d6bcca1eb8b42e5d77be03 (diff) | |
download | gdb-d2667025dd30611514810c28bee9709e4623012a.zip gdb-d2667025dd30611514810c28bee9709e4623012a.tar.gz gdb-d2667025dd30611514810c28bee9709e4623012a.tar.bz2 |
ld/
* ldlang.h (lang_output_section_statement_type): Add after_end field.
(lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
(section_for_dot): Declare.
* ldlang.c (lang_size_sections_1): Correct comment.
(current_section): Move earlier.
(current_assign, prefer_next_section): New static vars.
(lang_do_assignments_1): Add found_end param. Detect _end
assignment to set found_end. Set os->after_end. Set above statics.
(lang_do_assignments): Adjust lang_do_assignments_1 call. Init
vars.
(section_for_dot): New function.
(lang_set_startof): Don't make an absolute symbol.
(lang_abs_symbol_at_beginning_of, lang_abs_symbol_at_end_of): Delete.
* ldexp.c (new_rel_from_abs): Use section_for_dot.
* emultempl/lnk960.em (symbol_at_beginning_of): New function.
(symbol_at_end_of): Likewise.
(lnk960_after_allocation): Use them.
* scripttempl/elf.sc: Precede OTHER_GOT_SYMBOLS with . = .; and
likewise before __bss_start.
ld/testsuite/
Update far too many tests.
Diffstat (limited to 'ld/testsuite')
115 files changed, 537 insertions, 480 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 7968f3b..e42102b 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,56 @@ +2012-06-16 Alan Modra <amodra@gmail.com> + + * ld-alpha/emptygot.nm, * ld-alpha/tlsbin.rd, * ld-alpha/tlsbinr.rd, + * ld-alpha/tlspic.rd, * ld-arm/arm-dyn.ld, * ld-arm/armthumb-lib.sym, + * ld-arm/farcall-mixed-app.sym, * ld-arm/mixed-app.sym, + * ld-arm/mixed-lib.sym, * ld-arm/preempt-app.sym, + * ld-cris/libdso-2.d, * ld-cris/pv32-1.d, * ld-cris/tls-e-20.d, + * ld-cris/tls-e-20a.d, * ld-cris/tls-e-80.d, + * ld-cris/tls-e-tpoffcomm1.d, * ld-cris/tls-gc-68.d, + * ld-cris/tls-gc-69.d, * ld-cris/tls-gc-70.d, * ld-cris/tls-gc-71.d, + * ld-cris/tls-gc-75.d, * ld-cris/tls-gc-76.d, * ld-cris/tls-gc-79.d, + * ld-cris/weakhiddso.d, * ld-cris/weakref3.d, * ld-cris/weakref4.d, + * ld-elfvsb/hidden2.d, * ld-i386/tlsbin.rd, * ld-i386/tlsbindesc.rd, + * ld-i386/tlsdesc.rd, * ld-i386/tlsgdesc.rd, * ld-i386/tlsnopic.rd, + * ld-i386/tlspic.rd, * ld-ia64/tlsbin.rd, * ld-ia64/tlspic.rd, + * ld-mips-elf/tlsdyn-o32-1.d, * ld-mips-elf/tlsdyn-o32-1.got, + * ld-mips-elf/tlsdyn-o32-2.d, * ld-mips-elf/tlsdyn-o32-2.got, + * ld-mips-elf/tlsdyn-o32-3.d, * ld-mips-elf/tlsdyn-o32-3.got, + * ld-mmix/bpo-10.d, * ld-mmix/bpo-11.d, * ld-mmix/greg-6.d, + * ld-mmix/greg-7.d, * ld-mmix/loc1.d, * ld-mmix/loc2.d, + * ld-mmix/loc3.d, * ld-mmix/loc4.d, * ld-mmix/loc6.d, + * ld-mmix/locdo-1.d, * ld-mmix/loct-1.d, * ld-mmix/locto-1.d, + * ld-mmix/start-1.d, * ld-mmix/undef-3.d, * ld-powerpc/relbrlt.d, + * ld-powerpc/tlsexe.r, * ld-powerpc/tlsexe32.r, + * ld-powerpc/tlsexetoc.r, * ld-powerpc/tlsso.r, + * ld-powerpc/tlsso32.r, * ld-powerpc/tlstocso.r, + * ld-s390/tlsbin.rd, * ld-s390/tlsbin_64.rd, * ld-s390/tlspic.rd, + * ld-s390/tlspic_64.rd, * ld-scripts/empty-address-1.d, + * ld-scripts/empty-address-2a.d, * ld-scripts/empty-address-2b.d, + * ld-scripts/empty-address-3a.d, * ld-scripts/empty-address-3b.d, + * ld-scripts/empty-address-3c.d, * ld-sh/sh64/abi32.xd, + * ld-sh/sh64/abi64.xd, * ld-sh/sh64/cmpct1.xd, + * ld-sh/sh64/crange1.rd, * ld-sh/sh64/crange2.rd, + * ld-sh/sh64/crange3-cmpct.rd, * ld-sh/sh64/crange3-media.rd, + * ld-sh/sh64/crange3.rd, * ld-sh/sh64/mix1.xd, * ld-sh/sh64/mix2.xd, + * ld-sh/sh64/shdl32.xd, * ld-sh/sh64/shdl64.xd, + * ld-sparc/gotop32.rd, * ld-sparc/gotop64.rd, + * ld-sparc/tlssunbin32.rd, * ld-sparc/tlssunbin64.rd, + * ld-sparc/tlssunnopic32.rd, * ld-sparc/tlssunnopic64.rd, + * ld-sparc/tlssunpic32.rd, * ld-sparc/tlssunpic64.rd, + * ld-spu/icache1.d, * ld-spu/pic.d, * ld-tic6x/shlib-1.rd, + * ld-tic6x/shlib-1b.rd, * ld-tic6x/shlib-1r.rd, + * ld-tic6x/shlib-1rb.rd, * ld-tic6x/shlib-app-1.rd, + * ld-tic6x/shlib-app-1b.rd, * ld-tic6x/shlib-app-1r.rd, + * ld-tic6x/shlib-app-1rb.rd, * ld-tic6x/shlib-noindex.rd, + * ld-tic6x/static-app-1.rd, * ld-tic6x/static-app-1b.rd, + * ld-tic6x/static-app-1r.rd, * ld-tic6x/static-app-1rb.rd, + * ld-x86-64/tlsbin.rd, * ld-x86-64/tlsbindesc.rd, + * ld-x86-64/tlsdesc.rd, * ld-x86-64/tlsgdesc.rd, + * ld-x86-64/tlspic.rd: Update. + * ld-tic6x/dsbt-be.ld: Add ". = .;" before __c6xabi_DSBT_BASE. + * ld-tic6x/dsbt.ld: Likewise. + 2012-06-13 Nick Clifton <nickc@redhat.com> * ld-arm/arm-app-abs32.d; Update expected disassembly in line with diff --git a/ld/testsuite/ld-alpha/emptygot.nm b/ld/testsuite/ld-alpha/emptygot.nm index db3a03d..d62f2b1 100644 --- a/ld/testsuite/ld-alpha/emptygot.nm +++ b/ld/testsuite/ld-alpha/emptygot.nm @@ -1,5 +1,5 @@ 00000001200000b0 T _start -00000001200100b8 A __bss_start -00000001200100b8 A _edata +00000001200100b8 S __bss_start +00000001200100b8 D _edata 00000001200100b8 s foo -00000001200100c0 A _end +00000001200100c0 S _end diff --git a/ld/testsuite/ld-alpha/tlsbin.rd b/ld/testsuite/ld-alpha/tlsbin.rd index 64c28f6..eae8df5 100644 --- a/ld/testsuite/ld-alpha/tlsbin.rd +++ b/ld/testsuite/ld-alpha/tlsbin.rd @@ -59,10 +59,10 @@ Symbol table '\.dynsym' contains [0-9]+ entries: [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 +NOTYPE +GLOBAL +DEFAULT +13 __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 +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 _edata +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -120,15 +120,15 @@ Symbol table '\.symtab' contains [0-9]+ entries: [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]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 __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 +NOTYPE +GLOBAL +DEFAULT +13 _edata +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 _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 diff --git a/ld/testsuite/ld-alpha/tlsbinr.rd b/ld/testsuite/ld-alpha/tlsbinr.rd index 78229c4..b0de14c 100644 --- a/ld/testsuite/ld-alpha/tlsbinr.rd +++ b/ld/testsuite/ld-alpha/tlsbinr.rd @@ -54,10 +54,10 @@ Symbol table '\.dynsym' contains [0-9]+ entries: [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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 __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 +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 _edata +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -115,15 +115,15 @@ Symbol table '\.symtab' contains [0-9]+ entries: [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]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 __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 +NOTYPE +GLOBAL +DEFAULT +13 _edata +[0-9 ]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 _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 diff --git a/ld/testsuite/ld-alpha/tlspic.rd b/ld/testsuite/ld-alpha/tlspic.rd index 58de2d0..1281687 100644 --- a/ld/testsuite/ld-alpha/tlspic.rd +++ b/ld/testsuite/ld-alpha/tlspic.rd @@ -64,12 +64,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* [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 +NOTYPE +GLOBAL +DEFAULT +12 __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 +.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 _edata +.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -122,9 +122,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* [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 +NOTYPE +GLOBAL +DEFAULT +12 __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 +.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 _edata +.* [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 _end diff --git a/ld/testsuite/ld-arm/arm-dyn.ld b/ld/testsuite/ld-arm/arm-dyn.ld index 736fb17..bef9a18 100644 --- a/ld/testsuite/ld-arm/arm-dyn.ld +++ b/ld/testsuite/ld-arm/arm-dyn.ld @@ -138,6 +138,7 @@ SECTIONS .data1 : { *(.data1) } _edata = .; PROVIDE (edata = .); + . = .; __bss_start = .; __bss_start__ = .; .bss : diff --git a/ld/testsuite/ld-arm/armthumb-lib.sym b/ld/testsuite/ld-arm/armthumb-lib.sym index c7f4728..f1358e2 100644 --- a/ld/testsuite/ld-arm/armthumb-lib.sym +++ b/ld/testsuite/ld-arm/armthumb-lib.sym @@ -1,15 +1,15 @@ 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 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 _edata + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __bss_start__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 _end +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +9 data_obj - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __bss_end__ +.. +..: .......0 +20 +FUNC +GLOBAL +DEFAULT +6 lib_func1 +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __data_start - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __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 +9 _bss_end__ diff --git a/ld/testsuite/ld-arm/farcall-mixed-app.sym b/ld/testsuite/ld-arm/farcall-mixed-app.sym index 8e04cc3..093397c 100644 --- a/ld/testsuite/ld-arm/farcall-mixed-app.sym +++ b/ld/testsuite/ld-arm/farcall-mixed-app.sym @@ -1,15 +1,15 @@ 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 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +11 _edata + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +12 __bss_start__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +12 _end +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +12 data_obj - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +12 __bss_end__ +.. +..: 0*[^0]*.* +0 +FUNC +GLOBAL +DEFAULT +UND lib_func1 +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +11 __data_start - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +12 __end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +12 __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 +12 _bss_end__ diff --git a/ld/testsuite/ld-arm/mixed-app.sym b/ld/testsuite/ld-arm/mixed-app.sym index 2884b3d..cfa35f5 100644 --- a/ld/testsuite/ld-arm/mixed-app.sym +++ b/ld/testsuite/ld-arm/mixed-app.sym @@ -1,15 +1,15 @@ 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 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +11 _edata + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +12 __bss_start__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +12 _end +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +12 data_obj - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +12 __bss_end__ +.. +..: 0*[^0]*.* +0 +FUNC +GLOBAL +DEFAULT +UND lib_func1 +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +11 __data_start - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +12 __end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +12 __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 +12 _bss_end__ diff --git a/ld/testsuite/ld-arm/mixed-lib.sym b/ld/testsuite/ld-arm/mixed-lib.sym index 9f7a326..f5b16dc 100644 --- a/ld/testsuite/ld-arm/mixed-lib.sym +++ b/ld/testsuite/ld-arm/mixed-lib.sym @@ -1,15 +1,15 @@ 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 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 _edata + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __bss_start__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 _end +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +9 data_obj - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __bss_end__ +.. +..: .......0 +20 +FUNC +GLOBAL +DEFAULT +6 lib_func1 +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __data_start - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __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 +9 _bss_end__ diff --git a/ld/testsuite/ld-arm/preempt-app.sym b/ld/testsuite/ld-arm/preempt-app.sym index c169757..ec1d6be 100644 --- a/ld/testsuite/ld-arm/preempt-app.sym +++ b/ld/testsuite/ld-arm/preempt-app.sym @@ -1,14 +1,14 @@ 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 + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 _edata + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +10 __bss_start__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +10 _end +.. +..: ........ +4 +OBJECT +GLOBAL +DEFAULT +10 data_obj - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +10 __bss_end__ +.. +..: .......1 +20 +FUNC +GLOBAL +DEFAULT +6 lib_func1 +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +9 __data_start - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __end__ - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +10 __end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +10 __bss_start +.. +..: .......0 +0 +FUNC +GLOBAL +DEFAULT +6 app_func2 - +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _bss_end__ + +.. +..: ........ +0 +NOTYPE +GLOBAL +DEFAULT +10 _bss_end__ diff --git a/ld/testsuite/ld-cris/libdso-2.d b/ld/testsuite/ld-cris/libdso-2.d index d50cceb..3b4777a 100644 --- a/ld/testsuite/ld-cris/libdso-2.d +++ b/ld/testsuite/ld-cris/libdso-2.d @@ -49,10 +49,10 @@ Symbol table '\.symtab' contains 18 entries: +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 +DEFAULT +ABS _DYNAMIC - +11: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +ABS __bss_start - +12: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +ABS _edata + +11: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +9 __bss_start + +12: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +9 _edata +13: 0+2..[046c] +0 +OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_ - +14: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +ABS _end + +14: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +9 _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/pv32-1.d b/ld/testsuite/ld-cris/pv32-1.d index 16113a2..c963ed1 100644 --- a/ld/testsuite/ld-cris/pv32-1.d +++ b/ld/testsuite/ld-cris/pv32-1.d @@ -10,10 +10,10 @@ DYNAMIC SYMBOL TABLE: 0+8021e DF \*UND\* 0+ expfn 0+82324 g DO \.bss 0+4 expobj -0+82324 g D \*ABS\* 0+ __bss_start +0+82324 g D \.bss 0+ __bss_start 0+80238 DF \*UND\* 0+ dsofn3 -0+82324 g D \*ABS\* 0+ _edata -0+82340 g D \*ABS\* 0+ _end +0+82324 g D \.got 0+ _edata +0+82340 g D \.bss 0+ _end 0+80264 g DF \.text 0+8 dsofn Contents of section \.interp: diff --git a/ld/testsuite/ld-cris/tls-e-20.d b/ld/testsuite/ld-cris/tls-e-20.d index 5771d74..6b4e714 100644 --- a/ld/testsuite/ld-cris/tls-e-20.d +++ b/ld/testsuite/ld-cris/tls-e-20.d @@ -40,11 +40,11 @@ SYMBOL TABLE: 0+80098 g F \.text 0+6 tlsdsofn2 0+8 g \.tdata 0+4 \.hidden x2 0+80094 g \.text 0+ _start -0+820dc g \*ABS\* 0+ __bss_start +0+820dc g \.got 0+ __bss_start 0+800a0 g F \.text 0+6 tlsdsofn 0+4 g \.tdata 0+4 \.hidden x1 -0+820dc g \*ABS\* 0+ _edata -0+820e0 g \*ABS\* 0+ _end +0+820dc g \.got 0+ _edata +0+820e0 g \.got 0+ _end 0+800a8 g F \.text 0+6 tlsdsofn10 Contents of section \.text: diff --git a/ld/testsuite/ld-cris/tls-e-20a.d b/ld/testsuite/ld-cris/tls-e-20a.d index 834bd24..13b3be8 100644 --- a/ld/testsuite/ld-cris/tls-e-20a.d +++ b/ld/testsuite/ld-cris/tls-e-20a.d @@ -53,13 +53,13 @@ SYMBOL TABLE: 0+80098 g F \.text 0+2a got7fn 0+821b8 g O \.data 0+4 got7var6 0+80094 g \.text 0+ _start -0+821c0 g \*ABS\* 0+ __bss_start +0+821c0 g \.data 0+ __bss_start 0+821a4 g O \.data 0+4 got7var1 0+821b0 g O \.data 0+4 got7var4 0+800cc g F \.text 0+6 tlsdsofn 0+84 g \.tdata 0+4 \.hidden x1 -0+821c0 g \*ABS\* 0+ _edata -0+821c0 g \*ABS\* 0+ _end +0+821c0 g \.data 0+ _edata +0+821c0 g \.data 0+ _end 0+821a8 g O \.data 0+4 got7var2 0+800d4 g F \.text 0+6 tlsdsofn10 diff --git a/ld/testsuite/ld-cris/tls-e-80.d b/ld/testsuite/ld-cris/tls-e-80.d index 603d581..7a6f459 100644 --- a/ld/testsuite/ld-cris/tls-e-80.d +++ b/ld/testsuite/ld-cris/tls-e-80.d @@ -50,11 +50,11 @@ SYMBOL TABLE: 0+4 g \.tdata 0+4 z 0+80094 g \.text 0+ _start 0+80098 g F \.text 0+6 tlsfn -0+820f0 g \*ABS\* 0+ __bss_start +0+820f0 g \.got 0+ __bss_start 0+800b0 g F \.text 0+6 tlsdsofn 0+8 g \.tdata 0+4 \.hidden x1 -0+820f0 g \*ABS\* 0+ _edata -0+82100 g \*ABS\* 0+ _end +0+820f0 g \.got 0+ _edata +0+82100 g \.got 0+ _end 0+10 g \.tbss 0+40 gx 0+800b8 g F \.text 0+6 tlsdsofn10 diff --git a/ld/testsuite/ld-cris/tls-e-tpoffcomm1.d b/ld/testsuite/ld-cris/tls-e-tpoffcomm1.d index 48a52ea..b1f39ec 100644 --- a/ld/testsuite/ld-cris/tls-e-tpoffcomm1.d +++ b/ld/testsuite/ld-cris/tls-e-tpoffcomm1.d @@ -23,19 +23,19 @@ Idx Name Size VMA LMA File off Algn 1 .tbss 0+8 0+82084 0+82084 0+84 2\*\*2 ALLOC, THREAD_LOCAL SYMBOL TABLE: -0+80074 l d .text 0+ .text -0+82084 l d .tbss 0+ .tbss +0+80074 l d \.text 0+ \.text +0+82084 l d \.tbss 0+ \.tbss 0+ l df \*ABS\* 0+ .* -0+80078 l F .text 0+c do_test +0+80078 l F \.text 0+c do_test 0+ l df \*ABS\* 0+ .* -0+80074 g .text 0+ _start -0+82084 g \*ABS\* 0+ __bss_start -0+ g .tbss 0+4 foo -0+82084 g \*ABS\* 0+ _edata -0+820a0 g \*ABS\* 0+ _end -0+4 g .tbss 0+4 bar +0+80074 g \.text 0+ _start +0+82084 g \.text 0+ __bss_start +0+ g \.tbss 0+4 foo +0+82084 g \.text 0+ _edata +0+820a0 g \.text 0+ _end +0+4 g \.tbss 0+4 bar #... -Disassembly of section .text: +Disassembly of section \.text: 00080074 <_start>: 80074: 41b2 moveq 1,\$r11 diff --git a/ld/testsuite/ld-cris/tls-gc-68.d b/ld/testsuite/ld-cris/tls-gc-68.d index 4b63991..6d3121b 100644 --- a/ld/testsuite/ld-cris/tls-gc-68.d +++ b/ld/testsuite/ld-cris/tls-gc-68.d @@ -19,15 +19,15 @@ Program Header: private flags = 0: SYMBOL TABLE: -0+80074 l d .text 0+ .text -0+82078 l d .got 0+ .got -0+82084 l \*ABS\* 0+ __bss_start -0+82084 l \*ABS\* 0+ _edata -0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_ -0+820a0 l \*ABS\* 0+ _end -0+80074 g .text 0+ _start +0+80074 l d \.text 0+ \.text +0+82078 l d \.got 0+ \.got +0+82084 l \.got 0+ __bss_start +0+82084 l \.got 0+ _edata +0+82078 l O \.got 0+ _GLOBAL_OFFSET_TABLE_ +0+820a0 l \.got 0+ _end +0+80074 g \.text 0+ _start -Contents of section .text: +Contents of section \.text: 80074 41b20+ .* -Contents of section .got: +Contents of section \.got: 82078 0+ 0+ 0+ .* diff --git a/ld/testsuite/ld-cris/tls-gc-69.d b/ld/testsuite/ld-cris/tls-gc-69.d index f14deec..482088c 100644 --- a/ld/testsuite/ld-cris/tls-gc-69.d +++ b/ld/testsuite/ld-cris/tls-gc-69.d @@ -20,13 +20,13 @@ Program Header: private flags = 0: SYMBOL TABLE: -0+80074 l d .text 0+ .text -0+82078 l d .got 0+ .got -0+82084 l \*ABS\* 0+ __bss_start -0+82084 l \*ABS\* 0+ _edata -0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_ -0+820a0 l \*ABS\* 0+ _end -0+80074 g .text 0+ _start +0+80074 l d \.text 0+ \.text +0+82078 l d \.got 0+ \.got +0+82084 l \.got 0+ __bss_start +0+82084 l \.got 0+ _edata +0+82078 l O \.got 0+ _GLOBAL_OFFSET_TABLE_ +0+820a0 l \.got 0+ _end +0+80074 g \.text 0+ _start Contents of section .text: 80074 41b20+ .* diff --git a/ld/testsuite/ld-cris/tls-gc-70.d b/ld/testsuite/ld-cris/tls-gc-70.d index dbeb9d0..83b4c0b 100644 --- a/ld/testsuite/ld-cris/tls-gc-70.d +++ b/ld/testsuite/ld-cris/tls-gc-70.d @@ -20,15 +20,15 @@ Program Header: private flags = 0: SYMBOL TABLE: -0+80074 l d .text 0+ .text -0+82078 l d .got 0+ .got -0+82084 l \*ABS\* 0+ __bss_start -0+82084 l \*ABS\* 0+ _edata -0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_ -0+820a0 l \*ABS\* 0+ _end -0+80074 g .text 0+ _start +0+80074 l d \.text 0+ \.text +0+82078 l d \.got 0+ \.got +0+82084 l \.got 0+ __bss_start +0+82084 l \.got 0+ _edata +0+82078 l O \.got 0+ _GLOBAL_OFFSET_TABLE_ +0+820a0 l \.got 0+ _end +0+80074 g \.text 0+ _start -Contents of section .text: +Contents of section \.text: 80074 41b20+ .* -Contents of section .got: +Contents of section \.got: 82078 0+ 0+ 0+ .* diff --git a/ld/testsuite/ld-cris/tls-gc-71.d b/ld/testsuite/ld-cris/tls-gc-71.d index 29745de..b580fd3 100644 --- a/ld/testsuite/ld-cris/tls-gc-71.d +++ b/ld/testsuite/ld-cris/tls-gc-71.d @@ -15,18 +15,18 @@ filesz 0x0+80 memsz 0x0+80 flags r-- #... DYNAMIC SYMBOL TABLE: -0+18e l d .text 0+ .text -0+2194 l d .tdata 0+ .tdata -0+2280 l D \*ABS\* 0+ __bss_start -0+2280 l D \*ABS\* 0+ _edata -0+2280 l D \*ABS\* 0+ _end -0+18e g DF .text 0+2 _init +0+18e l d \.text 0+ \.text +0+2194 l d \.tdata 0+ \.tdata +0+2280 l D \.got 0+ __bss_start +0+2280 l D \.got 0+ _edata +0+2280 l D \.got 0+ _end +0+18e g DF \.text 0+2 _init 0+ g D .tdata 0+80 tls128 DYNAMIC RELOCATION RECORDS \(none\) #... -Contents of section .text: +Contents of section \.text: 018e 0f050000 .* #... -Contents of section .got: +Contents of section \.got: 2274 14220000 00000000 00000000 .* diff --git a/ld/testsuite/ld-cris/tls-gc-75.d b/ld/testsuite/ld-cris/tls-gc-75.d index b1c77bf..472f889 100644 --- a/ld/testsuite/ld-cris/tls-gc-75.d +++ b/ld/testsuite/ld-cris/tls-gc-75.d @@ -22,15 +22,15 @@ Program Header: private flags = 0: SYMBOL TABLE: -0+80074 l d .text 0+ .text -0+82078 l d .got 0+ .got -0+82084 l \*ABS\* 0+ __bss_start -0+82084 l \*ABS\* 0+ _edata -0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_ -0+820a0 l \*ABS\* 0+ _end -0+80074 g .text 0+ _start +0+80074 l d \.text 0+ \.text +0+82078 l d \.got 0+ \.got +0+82084 l \.got 0+ __bss_start +0+82084 l \.got 0+ _edata +0+82078 l O \.got 0+ _GLOBAL_OFFSET_TABLE_ +0+820a0 l \.got 0+ _end +0+80074 g \.text 0+ _start -Contents of section .text: +Contents of section \.text: 80074 41b20+ .* -Contents of section .got: +Contents of section \.got: 82078 0+ 0+ 0+ .* diff --git a/ld/testsuite/ld-cris/tls-gc-76.d b/ld/testsuite/ld-cris/tls-gc-76.d index 8f3dcc1..97edbef 100644 --- a/ld/testsuite/ld-cris/tls-gc-76.d +++ b/ld/testsuite/ld-cris/tls-gc-76.d @@ -19,22 +19,22 @@ Program Header: private flags = 0: SYMBOL TABLE: -0+80074 l d .text 0+ .text -0+82080 l d .got 0+ .got -0+82090 l d .data 0+ .data +0+80074 l d \.text 0+ \.text +0+82080 l d \.got 0+ \.got +0+82090 l d \.data 0+ \.data 0+ l df \*ABS\* 0+ .* -0+82090 l O .data 0+4 gc76var +0+82090 l O \.data 0+4 gc76var 0+ l df \*ABS\* 0+ .* -0+82094 l \*ABS\* 0+ __bss_start -0+82094 l \*ABS\* 0+ _edata -0+82080 l O .got 0+ _GLOBAL_OFFSET_TABLE_ -0+820a0 l \*ABS\* 0+ _end -0+80074 g .text 0+ _start -0+80078 g F .text 0+6 gc76fn +0+82094 l \.data 0+ __bss_start +0+82094 l \.data 0+ _edata +0+82080 l O \.got 0+ _GLOBAL_OFFSET_TABLE_ +0+820a0 l \.data 0+ _end +0+80074 g \.text 0+ _start +0+80078 g F \.text 0+6 gc76fn -Contents of section .text: +Contents of section \.text: 80074 41b20+ 6fae0c00 0+ .* -Contents of section .got: +Contents of section \.got: 82080 0+ 0+ 0+ 90200800 .* -Contents of section .data: +Contents of section \.data: 82090 0+ .* diff --git a/ld/testsuite/ld-cris/tls-gc-79.d b/ld/testsuite/ld-cris/tls-gc-79.d index eb3646d..424bfb0 100644 --- a/ld/testsuite/ld-cris/tls-gc-79.d +++ b/ld/testsuite/ld-cris/tls-gc-79.d @@ -20,15 +20,15 @@ Program Header: private flags = 0: SYMBOL TABLE: -0+80074 l d .text 0+ .text -0+82078 l d .got 0+ .got -0+82084 l \*ABS\* 0+ __bss_start -0+82084 l \*ABS\* 0+ _edata -0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_ -0+820a0 l \*ABS\* 0+ _end -0+80074 g .text 0+ _start +0+80074 l d \.text 0+ \.text +0+82078 l d \.got 0+ \.got +0+82084 l \.got 0+ __bss_start +0+82084 l \.got 0+ _edata +0+82078 l O \.got 0+ _GLOBAL_OFFSET_TABLE_ +0+820a0 l \.got 0+ _end +0+80074 g \.text 0+ _start -Contents of section .text: +Contents of section \.text: 80074 41b20+ .* -Contents of section .got: +Contents of section \.got: 82078 0+ 0+ 0+ .* diff --git a/ld/testsuite/ld-cris/weakhiddso.d b/ld/testsuite/ld-cris/weakhiddso.d index c0908df..01940f7 100644 --- a/ld/testsuite/ld-cris/weakhiddso.d +++ b/ld/testsuite/ld-cris/weakhiddso.d @@ -10,13 +10,13 @@ .*: file format elf32-cris DYNAMIC SYMBOL TABLE: -0+2214 l d \.data 0+ .data +0+2214 l d \.data 0+ \.data 0+2214 g DO \.data 0+c x 0+ D \*UND\* 0+ xregobj -0+2220 g D \*ABS\* 0+ __bss_start +0+2220 g D \.data 0+ __bss_start 0+ w D \*UND\* 0+ xweakobj -0+2220 g D \*ABS\* 0+ _edata -0+2220 g D \*ABS\* 0+ _end +0+2220 g D \.data 0+ _edata +0+2220 g D \.data 0+ _end DYNAMIC RELOCATION RECORDS @@ -27,5 +27,5 @@ OFFSET TYPE VALUE Contents of section \.hash: #... -Contents of section .data: +Contents of section \.data: 2214 00000000 00000000 00000000 .* diff --git a/ld/testsuite/ld-cris/weakref3.d b/ld/testsuite/ld-cris/weakref3.d index d07f514d..aea3ad6 100644 --- a/ld/testsuite/ld-cris/weakref3.d +++ b/ld/testsuite/ld-cris/weakref3.d @@ -10,27 +10,27 @@ # object, instead yielding NULL. #... - +\[[0-9]+\] .got +PROGBITS +0+82314 000314 000010 04 +WA +0 +0 +4 + +\[[0-9]+\] .got +PROGBITS +[0-9a-f]* [0-9a-f]* 000010 .* #... - +\[[0-9]+\] .bss +NOBITS +0+82324 .* + +\[[0-9]+\] .bss +NOBITS +[0-9a-f]* [0-9a-f]* 000010 .* #... 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 +.* R_CRIS_COPY .* __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 +.* R_CRIS_JUMP_SLOT .* expfn2 \+ 0 The decoding of unwind sections for machine type Axis Communications 32-bit embedded processor is not currently supported. Symbol table '.dynsym' contains . entries: #... - +.: 00082324 +4 +OBJECT +GLOBAL +DEFAULT +13 __expobj2@TST3 \(2\) + +.: [0-9a-f]* +4 +OBJECT +GLOBAL +DEFAULT +13 __expobj2@TST3 \(2\) #... - +.: 00080238 +0 +FUNC +GLOBAL +DEFAULT +UND expfn2@TST3 \(2\) + +.: [0-9a-f]* +0 +FUNC +GLOBAL +DEFAULT +UND expfn2@TST3 \(2\) #... Symbol table '.symtab' contains .. entries: #... Hex dump of section '\.text': - 0x0008024c 41b20000 6fae2423 08006fae 38020800 .* + 0x000801f8 41b20000 6faed022 08006fae e4010800 .* diff --git a/ld/testsuite/ld-cris/weakref4.d b/ld/testsuite/ld-cris/weakref4.d index 95fb5ec..79de291 100644 --- a/ld/testsuite/ld-cris/weakref4.d +++ b/ld/testsuite/ld-cris/weakref4.d @@ -11,22 +11,22 @@ # sure we get a valid reloc. #... - +\[[0-9]+\] .data +PROGBITS +0+822a4 0002a4 000004 00 +WA +0 +0 +1 + +\[[0-9]+\] .data +PROGBITS +[0-9a-f]* [0-9a-f]* 000004 .* #... - +\[[0-9]+\] .bss +NOBITS +0+822a8 .* + +\[[0-9]+\] .bss +NOBITS +[0-9a-f]* [0-9a-f]* 00000c .* #... Relocation section '.rela.dyn' at offset 0x... contains 1 entries: #... -000822a8 +00000109 R_CRIS_COPY +000822a8 +__expobj2 \+ 0 +.* R_CRIS_COPY .* __expobj2 \+ 0 The decoding of unwind sections for machine type Axis Communications 32-bit embedded processor is not currently supported. Symbol table '.dynsym' contains . entries: #... - +.: 000822a8 +4 +OBJECT +GLOBAL +DEFAULT +12 __expobj2@TST3 \(2\) + +.: [0-9a-f]* +4 +OBJECT +GLOBAL +DEFAULT +12 __expobj2@TST3 \(2\) #... Symbol table '.symtab' contains .. entries: #... Hex dump of section '.data': - 0x000822a4 a8220800 .* + 0x00082250 54220800 .* diff --git a/ld/testsuite/ld-elfvsb/hidden2.d b/ld/testsuite/ld-elfvsb/hidden2.d index 2996277..30f7f95 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 +DEFAULT +ABS foo +[ ]*[0-9]+ +[0-9]+: [0-9a-fA-F]* +0 +OBJECT +LOCAL +DEFAULT .* foo #pass diff --git a/ld/testsuite/ld-i386/tlsbin.rd b/ld/testsuite/ld-i386/tlsbin.rd index 81f8ac0..9a9e4aa 100644 --- a/ld/testsuite/ld-i386/tlsbin.rd +++ b/ld/testsuite/ld-i386/tlsbin.rd @@ -78,11 +78,11 @@ Symbol table '\.dynsym' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 __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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 _end +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG8 +[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +UND ___tls_get_addr @@ -144,7 +144,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 __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 @@ -152,8 +152,8 @@ Symbol table '\.symtab' contains [0-9]+ entries: +[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]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +13 _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 diff --git a/ld/testsuite/ld-i386/tlsbindesc.rd b/ld/testsuite/ld-i386/tlsbindesc.rd index a64a508..7fa8a4a 100644 --- a/ld/testsuite/ld-i386/tlsbindesc.rd +++ b/ld/testsuite/ld-i386/tlsbindesc.rd @@ -72,11 +72,11 @@ Symbol table '\.dynsym' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 __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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _end +[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG8 Symbol table '\.symtab' contains [0-9]+ entries: @@ -136,7 +136,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 __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 @@ -144,8 +144,8 @@ Symbol table '\.symtab' contains [0-9]+ entries: +[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]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _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 diff --git a/ld/testsuite/ld-i386/tlsdesc.rd b/ld/testsuite/ld-i386/tlsdesc.rd index 0bba12a..2b382a0 100644 --- a/ld/testsuite/ld-i386/tlsdesc.rd +++ b/ld/testsuite/ld-i386/tlsdesc.rd @@ -87,12 +87,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 __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 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -143,9 +143,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 __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 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _end diff --git a/ld/testsuite/ld-i386/tlsgdesc.rd b/ld/testsuite/ld-i386/tlsgdesc.rd index c539890a..1e074c7 100644 --- a/ld/testsuite/ld-i386/tlsgdesc.rd +++ b/ld/testsuite/ld-i386/tlsgdesc.rd @@ -67,12 +67,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 __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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _end +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr Symbol table '\.symtab' contains [0-9]+ entries: @@ -94,10 +94,10 @@ Symbol table '\.symtab' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 __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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _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 5ea99ef..418a9f2 100644 --- a/ld/testsuite/ld-i386/tlsnopic.rd +++ b/ld/testsuite/ld-i386/tlsnopic.rd @@ -77,10 +77,10 @@ Symbol table '\.dynsym' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 __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 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -112,7 +112,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 __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 + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +9 _end diff --git a/ld/testsuite/ld-i386/tlspic.rd b/ld/testsuite/ld-i386/tlspic.rd index e9702fb..7d07cf5 100644 --- a/ld/testsuite/ld-i386/tlspic.rd +++ b/ld/testsuite/ld-i386/tlspic.rd @@ -90,12 +90,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 __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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 _end +[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr Symbol table '\.symtab' contains [0-9]+ entries: @@ -147,10 +147,10 @@ Symbol table '\.symtab' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 __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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 _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 0462e50..ab2dacd 100644 --- a/ld/testsuite/ld-ia64/tlsbin.rd +++ b/ld/testsuite/ld-ia64/tlsbin.rd @@ -61,10 +61,10 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* NOTYPE +LOCAL +DEFAULT +UND * .* TLS +GLOBAL +DEFAULT +UND sG2 .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +15 __bss_start .* TLS +GLOBAL +DEFAULT +UND sG1 -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +15 _edata +.* NOTYPE +GLOBAL +DEFAULT +15 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -123,15 +123,15 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +GLOBAL +HIDDEN +11 sh4 .* TLS +GLOBAL +DEFAULT +12 bg7 .* TLS +GLOBAL +HIDDEN +11 sh5 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +15 __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 +.* NOTYPE +GLOBAL +DEFAULT +15 _edata +.* NOTYPE +GLOBAL +DEFAULT +15 _end .* TLS +GLOBAL +HIDDEN +11 sh2 .* TLS +GLOBAL +HIDDEN +11 sh6 .* TLS +GLOBAL +DEFAULT +12 bg2 diff --git a/ld/testsuite/ld-ia64/tlspic.rd b/ld/testsuite/ld-ia64/tlspic.rd index 8ebd46a..7abf82d 100644 --- a/ld/testsuite/ld-ia64/tlspic.rd +++ b/ld/testsuite/ld-ia64/tlspic.rd @@ -66,12 +66,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr .* TLS +GLOBAL +DEFAULT +10 sg1 .* FUNC +GLOBAL +DEFAULT +7 fn1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +14 __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 +.* NOTYPE +GLOBAL +DEFAULT +14 _edata +.* NOTYPE +GLOBAL +DEFAULT +14 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name @@ -125,9 +125,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr .* TLS +GLOBAL +DEFAULT +10 sg1 .* FUNC +GLOBAL +DEFAULT +7 fn1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +14 __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 +.* NOTYPE +GLOBAL +DEFAULT +14 _edata +.* NOTYPE +GLOBAL +DEFAULT +14 _end diff --git a/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.d b/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.d index bf803c88..80c00d3 100644 --- a/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.d +++ b/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.d @@ -5,7 +5,7 @@ Disassembly of section .text: .* <__start>: .*: 3c1c0fc0 lui gp,0xfc0 - .*: 279c7b80 addiu gp,gp,31616 + .*: 279c7bf0 addiu gp,gp,31728 .*: 0399e021 addu gp,gp,t9 .*: 27bdfff0 addiu sp,sp,-16 .*: afbe0008 sw s8,8\(sp\) @@ -55,7 +55,7 @@ Disassembly of section .text: .* <other>: .*: 3c1c0fc0 lui gp,0xfc0 - .*: 279c7ac0 addiu gp,gp,31424 + .*: 279c7b30 addiu gp,gp,31536 .*: 0399e021 addu gp,gp,t9 .*: 27bdfff0 addiu sp,sp,-16 .*: afbe0008 sw s8,8\(sp\) diff --git a/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.got b/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.got index 7053939..eb1ff68 100644 --- a/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.got +++ b/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.got @@ -13,6 +13,6 @@ OFFSET TYPE VALUE Contents of section .got: - 10000020 00000000 80000000 0040053c 00000001 .........@...... + 10000020 00000000 80000000 004004cc 00000001 .........@...... 10000030 00000000 00000000 00000000 00000000 ................ 10000040 00000000 00000000 00000000 ............ diff --git a/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.d b/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.d index e1f76b5..e99862c 100644 --- a/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.d +++ b/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.d @@ -5,7 +5,7 @@ Disassembly of section .text: .* <__start>: .*: 3c1c0fc0 lui gp,0xfc0 - .*: 279c7b80 addiu gp,gp,31616 + .*: 279c7bf0 addiu gp,gp,31728 .*: 0399e021 addu gp,gp,t9 .*: 27bdfff0 addiu sp,sp,-16 .*: afbe0008 sw s8,8\(sp\) @@ -55,7 +55,7 @@ Disassembly of section .text: .* <other>: .*: 3c1c0fc0 lui gp,0xfc0 - .*: 279c7ac0 addiu gp,gp,31424 + .*: 279c7b30 addiu gp,gp,31536 .*: 0399e021 addu gp,gp,t9 .*: 27bdfff0 addiu sp,sp,-16 .*: afbe0008 sw s8,8\(sp\) diff --git a/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.got b/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.got index c5516c5..f3134ba 100644 --- a/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.got +++ b/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.got @@ -13,7 +13,7 @@ OFFSET TYPE VALUE Contents of section .got: - 10000020 00000000 80000000 0040053c 00000000 .* + 10000020 00000000 80000000 004004cc 00000000 .* 10000030 00000000 00000000 00000000 00000000 .* 10000040 00000001 00000000 00000000 00000000 .* 10000050 00000000 00000000 .* diff --git a/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.d b/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.d index 27db816..ead6a33 100644 --- a/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.d +++ b/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.d @@ -5,7 +5,7 @@ Disassembly of section .text: .* <other>: .*: 3c1c0fc0 lui gp,0xfc0 - .*: 279c7b80 addiu gp,gp,31616 + .*: 279c7bf0 addiu gp,gp,31728 .*: 0399e021 addu gp,gp,t9 .*: 27bdfff0 addiu sp,sp,-16 .*: afbe0008 sw s8,8\(sp\) @@ -51,7 +51,7 @@ Disassembly of section .text: .* <__start>: .*: 3c1c0fc0 lui gp,0xfc0 - .*: 279c7ad0 addiu gp,gp,31440 + .*: 279c7b40 addiu gp,gp,31552 .*: 0399e021 addu gp,gp,t9 .*: 27bdfff0 addiu sp,sp,-16 .*: afbe0008 sw s8,8\(sp\) diff --git a/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.got b/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.got index 54f491e..8628d46 100644 --- a/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.got +++ b/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.got @@ -13,7 +13,7 @@ OFFSET TYPE VALUE Contents of section .got: - 10000020 00000000 80000000 004005ec 00000000 .* + 10000020 00000000 80000000 0040057c 00000000 .* 10000030 00000000 00000000 00000000 00000000 .* 10000040 00000001 00000000 00000000 00000000 .* 10000050 00000000 00000000 .* diff --git a/ld/testsuite/ld-mmix/bpo-10.d b/ld/testsuite/ld-mmix/bpo-10.d index 576ce98..1bc6269 100644 --- a/ld/testsuite/ld-mmix/bpo-10.d +++ b/ld/testsuite/ld-mmix/bpo-10.d @@ -15,9 +15,9 @@ SYMBOL TABLE: 0+ l df \*ABS\* 0+ .* 0+ l \.init 0+ _start 0+ l df \*ABS\* 0+ .* -2000000000000000 l \*ABS\* 0+ __bss_start -2000000000000000 l \*ABS\* 0+ _edata -2000000000000000 l \*ABS\* 0+ _end +2000000000000000 l \.init 0+ __bss_start +2000000000000000 l \.init 0+ _edata +2000000000000000 l \.init 0+ _end 0+4 l \.init 0+ _start\. Contents of section \.init: diff --git a/ld/testsuite/ld-mmix/bpo-11.d b/ld/testsuite/ld-mmix/bpo-11.d index ce4d80d..7f47450 100644 --- a/ld/testsuite/ld-mmix/bpo-11.d +++ b/ld/testsuite/ld-mmix/bpo-11.d @@ -17,9 +17,9 @@ SYMBOL TABLE: 0+ l df \*ABS\* 0+ .* 0+ l \.init 0+ _start 0+ l df \*ABS\* 0+ .* -2000000000000000 l \*ABS\* 0+ __bss_start -2000000000000000 l \*ABS\* 0+ _edata -2000000000000000 l \*ABS\* 0+ _end +2000000000000000 l \.text 0+ __bss_start +2000000000000000 l \.text 0+ _edata +2000000000000000 l \.text 0+ _end 0+10 l \.text 0+ _start\. 0+14 g \.text 0+ x 0+10 g \.text 0+ x2 diff --git a/ld/testsuite/ld-mmix/greg-6.d b/ld/testsuite/ld-mmix/greg-6.d index 35046d8..d8157f7 100644 --- a/ld/testsuite/ld-mmix/greg-6.d +++ b/ld/testsuite/ld-mmix/greg-6.d @@ -293,9 +293,9 @@ SYMBOL TABLE: 0+ l df \*ABS\* 0+ .* 0+14 g \.text 0+ _start 0+fe g \*REG\* 0+ areg -2000000000000000 g \*ABS\* 0+ __bss_start -2000000000000000 g \*ABS\* 0+ _edata -2000000000000000 g \*ABS\* 0+ _end +2000000000000000 g \.text 0+ __bss_start +2000000000000000 g \.text 0+ _edata +2000000000000000 g \.text 0+ _end 0+14 g \.text 0+ _start\. 0+10 g \.text 0+ a diff --git a/ld/testsuite/ld-mmix/greg-7.d b/ld/testsuite/ld-mmix/greg-7.d index 4b1433e..57df901 100644 --- a/ld/testsuite/ld-mmix/greg-7.d +++ b/ld/testsuite/ld-mmix/greg-7.d @@ -293,9 +293,9 @@ SYMBOL TABLE: 0+ l df \*ABS\* 0+ .* 0+14 g \.text 0+ _start 0+20 g \*REG\* 0+ areg -2000000000000000 g \*ABS\* 0+ __bss_start -2000000000000000 g \*ABS\* 0+ _edata -2000000000000000 g \*ABS\* 0+ _end +2000000000000000 g \.text 0+ __bss_start +2000000000000000 g \.text 0+ _edata +2000000000000000 g \.text 0+ _end 0+14 g \.text 0+ _start\. 0+10 g \.text 0+ a diff --git a/ld/testsuite/ld-mmix/loc1.d b/ld/testsuite/ld-mmix/loc1.d index cac2689..97db59f 100644 --- a/ld/testsuite/ld-mmix/loc1.d +++ b/ld/testsuite/ld-mmix/loc1.d @@ -10,9 +10,9 @@ SYMBOL TABLE: 0+1000 l d \.text 0+ (|\.text) 0+1000 g \.text 0+ loc1 0+1000 g \*ABS\* 0+ __\.MMIX\.start\.\.text -2000000000000000 g \*ABS\* 0+ __bss_start -2000000000000000 g \*ABS\* 0+ _edata -2000000000000000 g \*ABS\* 0+ _end +2000000000000000 g \.text 0+ __bss_start +2000000000000000 g \.text 0+ _edata +2000000000000000 g \.text 0+ _end 0+1000 g \.text 0+ _start\. Contents of section \.text: diff --git a/ld/testsuite/ld-mmix/loc2.d b/ld/testsuite/ld-mmix/loc2.d index 7d44c22..e00b5ef 100644 --- a/ld/testsuite/ld-mmix/loc2.d +++ b/ld/testsuite/ld-mmix/loc2.d @@ -12,9 +12,9 @@ SYMBOL TABLE: 0+1004 g \.text 0+ _start 0+1000 g \.text 0+ loc1 0+1000 g \*ABS\* 0+ __\.MMIX\.start\.\.text -2000000000000000 g \*ABS\* 0+ __bss_start -2000000000000000 g \*ABS\* 0+ _edata -2000000000000000 g \*ABS\* 0+ _end +2000000000000000 g \.text 0+ __bss_start +2000000000000000 g \.text 0+ _edata +2000000000000000 g \.text 0+ _end 0+1004 g \.text 0+ _start\. Contents of section \.text: diff --git a/ld/testsuite/ld-mmix/loc3.d b/ld/testsuite/ld-mmix/loc3.d index ff0fe8a..110fdbc 100644 --- a/ld/testsuite/ld-mmix/loc3.d +++ b/ld/testsuite/ld-mmix/loc3.d @@ -12,9 +12,9 @@ SYMBOL TABLE: 0+1000 g \.text 0+ _start 0+1004 g \.text 0+ loc1 0+1000 g \*ABS\* 0+ __\.MMIX\.start\.\.text -2000000000000000 g \*ABS\* 0+ __bss_start -2000000000000000 g \*ABS\* 0+ _edata -2000000000000000 g \*ABS\* 0+ _end +2000000000000000 g \.text 0+ __bss_start +2000000000000000 g \.text 0+ _edata +2000000000000000 g \.text 0+ _end 0+1000 g \.text 0+ _start\. Contents of section \.text: diff --git a/ld/testsuite/ld-mmix/loc4.d b/ld/testsuite/ld-mmix/loc4.d index e0c4247..dccfb76 100644 --- a/ld/testsuite/ld-mmix/loc4.d +++ b/ld/testsuite/ld-mmix/loc4.d @@ -19,9 +19,9 @@ SYMBOL TABLE: 0+1004 g \.text 0+ _start 0+1000 g \.text 0+ loc1 0+1000 g \*ABS\* 0+ __\.MMIX\.start\.\.text -2000000000000008 g \*ABS\* 0+ __bss_start -2000000000000008 g \*ABS\* 0+ _edata -2000000000000008 g \*ABS\* 0+ _end +2000000000000008 g \.data 0+ __bss_start +2000000000000008 g \.data 0+ _edata +2000000000000008 g \.data 0+ _end 0+1004 g \.text 0+ _start\. Contents of section \.text: diff --git a/ld/testsuite/ld-mmix/loc6.d b/ld/testsuite/ld-mmix/loc6.d index 425edae..1fce9a4 100644 --- a/ld/testsuite/ld-mmix/loc6.d +++ b/ld/testsuite/ld-mmix/loc6.d @@ -13,9 +13,9 @@ SYMBOL TABLE: 2000000000000200 g \.data 0+ dloc1 2000000000000200 g \*ABS\* 0+ __\.MMIX\.start\.\.data 0+ g \.text 0+ _start -200000000000020c g \*ABS\* 0+ __bss_start -200000000000020c g \*ABS\* 0+ _edata -2000000000000210 g \*ABS\* 0+ _end +200000000000020c g \.data 0+ __bss_start +200000000000020c g \.data 0+ _edata +2000000000000210 g \.data 0+ _end 0+ g \.text 0+ _start\. Contents of section \.text: diff --git a/ld/testsuite/ld-mmix/locdo-1.d b/ld/testsuite/ld-mmix/locdo-1.d index 4a16735..66a9f32 100644 --- a/ld/testsuite/ld-mmix/locdo-1.d +++ b/ld/testsuite/ld-mmix/locdo-1.d @@ -11,10 +11,10 @@ SYMBOL TABLE: 2000000000000008 g \*ABS\* 0+ __\.MMIX\.start\.\.data 2000000000000008 g \.data 0+ od 0+ g \.text 0+ _start -2000000000000010 g \*ABS\* 0+ __bss_start +2000000000000010 g \.data 0+ __bss_start 2000000000000000 g \*ABS\* 0+ Data_Segment -2000000000000010 g \*ABS\* 0+ _edata -2000000000000010 g \*ABS\* 0+ _end +2000000000000010 g \.data 0+ _edata +2000000000000010 g \.data 0+ _end 0+ g \.text 0+ _start\. Contents of section \.text: diff --git a/ld/testsuite/ld-mmix/loct-1.d b/ld/testsuite/ld-mmix/loct-1.d index fb81819..853b065 100644 --- a/ld/testsuite/ld-mmix/loct-1.d +++ b/ld/testsuite/ld-mmix/loct-1.d @@ -12,9 +12,9 @@ SYMBOL TABLE: 0+ l df \*ABS\* 0+ .* 0+100c g \.text 0+ _start 0+1004 g \*ABS\* 0+ __\.MMIX\.start\.\.text -2000000000000000 g \*ABS\* 0+ __bss_start -2000000000000000 g \*ABS\* 0+ _edata -2000000000000000 g \*ABS\* 0+ _end +2000000000000000 g \.text 0+ __bss_start +2000000000000000 g \.text 0+ _edata +2000000000000000 g \.text 0+ _end 0+100c g \.text 0+ _start\. Contents of section \.text: diff --git a/ld/testsuite/ld-mmix/locto-1.d b/ld/testsuite/ld-mmix/locto-1.d index 5c5c391..911f9a4 100644 --- a/ld/testsuite/ld-mmix/locto-1.d +++ b/ld/testsuite/ld-mmix/locto-1.d @@ -10,9 +10,9 @@ SYMBOL TABLE: 0+1008 g \.text 0+ od 0+1010 g \.text 0+ _start 0+1008 g \*ABS\* 0+ __\.MMIX\.start\.\.text -2000000000000000 g \*ABS\* 0+ __bss_start -2000000000000000 g \*ABS\* 0+ _edata -2000000000000000 g \*ABS\* 0+ _end +2000000000000000 g \.text 0+ __bss_start +2000000000000000 g \.text 0+ _edata +2000000000000000 g \.text 0+ _end 0+1010 g \.text 0+ _start\. Contents of section \.text: diff --git a/ld/testsuite/ld-mmix/start-1.d b/ld/testsuite/ld-mmix/start-1.d index 37c23d6..c8f6ea7 100644 --- a/ld/testsuite/ld-mmix/start-1.d +++ b/ld/testsuite/ld-mmix/start-1.d @@ -7,9 +7,9 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+4 g \.text 0+ _start -2000000000000000 g \*ABS\* 0+ __bss_start -2000000000000000 g \*ABS\* 0+ _edata -2000000000000000 g \*ABS\* 0+ _end +2000000000000000 g \.text 0+ __bss_start +2000000000000000 g \.text 0+ _edata +2000000000000000 g \.text 0+ _end 0+4 g \.text 0+ _start\. Disassembly of section \.text: diff --git a/ld/testsuite/ld-mmix/undef-3.d b/ld/testsuite/ld-mmix/undef-3.d index 2571513..93d7a99 100644 --- a/ld/testsuite/ld-mmix/undef-3.d +++ b/ld/testsuite/ld-mmix/undef-3.d @@ -26,7 +26,7 @@ Symbol table '\.symtab' contains 8 entries: +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 + +4: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +1 __bss_start + +5: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +1 _edata + +6: 2000000000000000 +0 +NOTYPE +GLOBAL +DEFAULT +1 _end +7: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +1 _start\. diff --git a/ld/testsuite/ld-powerpc/relbrlt.d b/ld/testsuite/ld-powerpc/relbrlt.d index 0f0aae0..689373c 100644 --- a/ld/testsuite/ld-powerpc/relbrlt.d +++ b/ld/testsuite/ld-powerpc/relbrlt.d @@ -51,7 +51,7 @@ Disassembly of section \.text: Disassembly of section \.branch_lt: -0*157f00e8 <\.branch_lt>: +0*157f00e8 .*: [0-9a-f ]*: 00 00 00 00 .* [0-9a-f ]*: R_PPC64_RELATIVE \*ABS\*\+0x13bf00e0 [0-9a-f ]*: 13 bf 00 e0 .* diff --git a/ld/testsuite/ld-powerpc/tlsexe.r b/ld/testsuite/ld-powerpc/tlsexe.r index 2df7c9d..58d8d35 100644 --- a/ld/testsuite/ld-powerpc/tlsexe.r +++ b/ld/testsuite/ld-powerpc/tlsexe.r @@ -66,10 +66,10 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* TLS +GLOBAL +DEFAULT +UND gd .* TLS +GLOBAL +DEFAULT +UND ld .* TLS +GLOBAL +DEFAULT +9 ld2 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +12 __bss_start .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +12 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -107,9 +107,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +7 _start .* TLS +GLOBAL +DEFAULT +9 ld2 .* TLS +GLOBAL +DEFAULT +9 ld1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +12 __bss_start .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +12 _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 22ce088..915832e 100644 --- a/ld/testsuite/ld-powerpc/tlsexe32.r +++ b/ld/testsuite/ld-powerpc/tlsexe32.r @@ -64,11 +64,11 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* 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 +.* NOTYPE +GLOBAL +DEFAULT +12 __end +.* NOTYPE +GLOBAL +DEFAULT +12 __bss_start .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +12 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -102,12 +102,12 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +GLOBAL +DEFAULT +9 le1 .* TLS +GLOBAL +DEFAULT +UND ld .* NOTYPE +GLOBAL +DEFAULT +7 _start -.* NOTYPE +GLOBAL +DEFAULT +ABS __end +.* NOTYPE +GLOBAL +DEFAULT +12 __end .* TLS +GLOBAL +DEFAULT +9 ld2 .* TLS +GLOBAL +DEFAULT +9 ld1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +12 __bss_start .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +12 _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 0b64920..63940d3 100644 --- a/ld/testsuite/ld-powerpc/tlsexetoc.r +++ b/ld/testsuite/ld-powerpc/tlsexetoc.r @@ -65,10 +65,10 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* NOTYPE +LOCAL +DEFAULT +UND .* TLS +GLOBAL +DEFAULT +UND gd .* TLS +GLOBAL +DEFAULT +UND ld -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +12 __bss_start .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +12 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -107,9 +107,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +7 _start .* TLS +GLOBAL +DEFAULT +9 ld2 .* TLS +GLOBAL +DEFAULT +9 ld1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +12 __bss_start .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +12 _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 78ed143..0fc6b37 100644 --- a/ld/testsuite/ld-powerpc/tlsso.r +++ b/ld/testsuite/ld-powerpc/tlsso.r @@ -80,9 +80,9 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* 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 +.* NOTYPE +GLOBAL +DEFAULT +11 __bss_start +.* NOTYPE +GLOBAL +DEFAULT +10 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _end .* TLS +GLOBAL +DEFAULT +8 gd0 .* TLS +GLOBAL +DEFAULT +8 ie0 @@ -122,8 +122,8 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 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 +.* NOTYPE +GLOBAL +DEFAULT +11 __bss_start +.* NOTYPE +GLOBAL +DEFAULT +10 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _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 02d8e84..d38bb98 100644 --- a/ld/testsuite/ld-powerpc/tlsso32.r +++ b/ld/testsuite/ld-powerpc/tlsso32.r @@ -80,12 +80,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* TLS +GLOBAL +DEFAULT +8 le1 .* TLS +GLOBAL +DEFAULT +UND ld .* NOTYPE +GLOBAL +DEFAULT +6 _start -.* NOTYPE +GLOBAL +DEFAULT +ABS __end +.* NOTYPE +GLOBAL +DEFAULT +11 __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 +.* NOTYPE +GLOBAL +DEFAULT +11 __bss_start +.* NOTYPE +GLOBAL +DEFAULT +10 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _end .* TLS +GLOBAL +DEFAULT +8 gd0 .* TLS +GLOBAL +DEFAULT +8 ie0 @@ -121,11 +121,11 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +GLOBAL +DEFAULT +8 le1 .* TLS +GLOBAL +DEFAULT +UND ld .* NOTYPE +GLOBAL +DEFAULT +6 _start -.* NOTYPE +GLOBAL +DEFAULT +ABS __end +.* NOTYPE +GLOBAL +DEFAULT +11 __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 +.* NOTYPE +GLOBAL +DEFAULT +11 __bss_start +.* NOTYPE +GLOBAL +DEFAULT +10 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _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 dc9f930..a0bc863 100644 --- a/ld/testsuite/ld-powerpc/tlstocso.r +++ b/ld/testsuite/ld-powerpc/tlstocso.r @@ -75,9 +75,9 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* 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 +.* NOTYPE +GLOBAL +DEFAULT +11 __bss_start +.* NOTYPE +GLOBAL +DEFAULT +10 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _end .* TLS +GLOBAL +DEFAULT +8 gd0 .* TLS +GLOBAL +DEFAULT +8 ie0 @@ -118,8 +118,8 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 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 +.* NOTYPE +GLOBAL +DEFAULT +11 __bss_start +.* NOTYPE +GLOBAL +DEFAULT +10 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _end .* TLS +GLOBAL +DEFAULT +8 gd0 .* TLS +GLOBAL +DEFAULT +8 ie0 diff --git a/ld/testsuite/ld-s390/tlsbin.rd b/ld/testsuite/ld-s390/tlsbin.rd index e842038..b9efe8a 100644 --- a/ld/testsuite/ld-s390/tlsbin.rd +++ b/ld/testsuite/ld-s390/tlsbin.rd @@ -37,7 +37,7 @@ 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 + +INTERP +0x0+f4 0x0+4000f4 0x0+4000f4 0x0+d 0x0+d R +0x1 .*Requesting program interpreter.* +LOAD .* R E 0x1000 +LOAD .* RW +0x1000 @@ -70,11 +70,11 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* TLS +GLOBAL +DEFAULT +UND sG3 .* TLS +GLOBAL +DEFAULT +UND sG2 .* FUNC +GLOBAL +DEFAULT +UND __tls_get_offset -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +12 __bss_start .* TLS +GLOBAL +DEFAULT +UND sG6 .* TLS +GLOBAL +DEFAULT +UND sG1 -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +12 _edata +.* NOTYPE +GLOBAL +DEFAULT +12 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -131,7 +131,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +GLOBAL +HIDDEN +9 sh4 .* TLS +GLOBAL +DEFAULT +10 bg7 .* TLS +GLOBAL +HIDDEN +9 sh5 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +12 __bss_start .* TLS +GLOBAL +DEFAULT +UND sG6 .* FUNC +GLOBAL +DEFAULT +8 fn2 .* TLS +GLOBAL +DEFAULT +9 sg2 @@ -139,8 +139,8 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 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 +.* NOTYPE +GLOBAL +DEFAULT +12 _edata +.* NOTYPE +GLOBAL +DEFAULT +12 _end .* TLS +GLOBAL +HIDDEN +9 sh2 .* TLS +GLOBAL +HIDDEN +9 sh6 .* TLS +GLOBAL +DEFAULT +10 bg2 diff --git a/ld/testsuite/ld-s390/tlsbin_64.rd b/ld/testsuite/ld-s390/tlsbin_64.rd index 1dcb6b7..f461f51 100644 --- a/ld/testsuite/ld-s390/tlsbin_64.rd +++ b/ld/testsuite/ld-s390/tlsbin_64.rd @@ -37,7 +37,7 @@ 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 + +INTERP +0x0+190 0x0+80000190 0x0+80000190 0x0+f 0x0+f R +0x1 .*Requesting program interpreter.* +LOAD .* R E 0x1000 +LOAD .* RW +0x1000 @@ -70,11 +70,11 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* TLS +GLOBAL +DEFAULT +UND sG3 .* TLS +GLOBAL +DEFAULT +UND sG2 .* FUNC +GLOBAL +DEFAULT +UND __tls_get_offset -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +12 __bss_start .* TLS +GLOBAL +DEFAULT +UND sG6 .* TLS +GLOBAL +DEFAULT +UND sG1 -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +12 _edata +.* NOTYPE +GLOBAL +DEFAULT +12 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -91,6 +91,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* SECTION +LOCAL +DEFAULT +10 .* SECTION +LOCAL +DEFAULT +11 .* SECTION +LOCAL +DEFAULT +12 +.* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +9 sl1 .* TLS +LOCAL +DEFAULT +9 sl2 .* TLS +LOCAL +DEFAULT +9 sl3 @@ -99,6 +100,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +DEFAULT +9 sl6 .* TLS +LOCAL +DEFAULT +9 sl7 .* TLS +LOCAL +DEFAULT +9 sl8 +.* FILE +LOCAL +DEFAULT +ABS .* .* TLS +LOCAL +DEFAULT +10 bl1 .* TLS +LOCAL +DEFAULT +10 bl2 .* TLS +LOCAL +DEFAULT +10 bl3 @@ -107,6 +109,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +LOCAL +DEFAULT +10 bl6 .* TLS +LOCAL +DEFAULT +10 bl7 .* TLS +LOCAL +DEFAULT +10 bl8 +.* FILE +LOCAL +DEFAULT +ABS .* .* OBJECT +LOCAL +DEFAULT +11 _DYNAMIC .* OBJECT +LOCAL +DEFAULT +12 _GLOBAL_OFFSET_TABLE_ .* TLS +GLOBAL +DEFAULT +UND sG3 @@ -128,7 +131,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +GLOBAL +HIDDEN +9 sh4 .* TLS +GLOBAL +DEFAULT +10 bg7 .* TLS +GLOBAL +HIDDEN +9 sh5 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +12 __bss_start .* TLS +GLOBAL +DEFAULT +UND sG6 .* FUNC +GLOBAL +DEFAULT +8 fn2 .* TLS +GLOBAL +DEFAULT +9 sg2 @@ -136,8 +139,8 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 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 +.* NOTYPE +GLOBAL +DEFAULT +12 _edata +.* NOTYPE +GLOBAL +DEFAULT +12 _end .* TLS +GLOBAL +HIDDEN +9 sh2 .* TLS +GLOBAL +HIDDEN +9 sh6 .* TLS +GLOBAL +DEFAULT +10 bg2 diff --git a/ld/testsuite/ld-s390/tlspic.rd b/ld/testsuite/ld-s390/tlspic.rd index 8da987c..5d27048 100644 --- a/ld/testsuite/ld-s390/tlspic.rd +++ b/ld/testsuite/ld-s390/tlspic.rd @@ -80,12 +80,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_offset .* TLS +GLOBAL +DEFAULT +8 sg1 .* FUNC +GLOBAL +DEFAULT +7 fn1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +11 __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 +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -136,9 +136,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_offset .* TLS +GLOBAL +DEFAULT +8 sg1 .* FUNC +GLOBAL +DEFAULT +7 fn1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +11 __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 +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _end diff --git a/ld/testsuite/ld-s390/tlspic_64.rd b/ld/testsuite/ld-s390/tlspic_64.rd index 709a6c5..f4cce13 100644 --- a/ld/testsuite/ld-s390/tlspic_64.rd +++ b/ld/testsuite/ld-s390/tlspic_64.rd @@ -80,12 +80,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_offset .* TLS +GLOBAL +DEFAULT +8 sg1 .* FUNC +GLOBAL +DEFAULT +7 fn1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +11 __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 +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -136,9 +136,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_offset .* TLS +GLOBAL +DEFAULT +8 sg1 .* FUNC +GLOBAL +DEFAULT +7 fn1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +11 __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 +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _end diff --git a/ld/testsuite/ld-scripts/empty-address-1.d b/ld/testsuite/ld-scripts/empty-address-1.d index 29301ea..f43e4c3 100644 --- a/ld/testsuite/ld-scripts/empty-address-1.d +++ b/ld/testsuite/ld-scripts/empty-address-1.d @@ -4,6 +4,6 @@ #... 0+0 T _start #... -0+2000000 A __data_end +0+2000000 [ADT] __data_end 0+2000000 [ADT] __data_start #pass diff --git a/ld/testsuite/ld-scripts/empty-address-2a.d b/ld/testsuite/ld-scripts/empty-address-2a.d index 689db61..5155041 100644 --- a/ld/testsuite/ld-scripts/empty-address-2a.d +++ b/ld/testsuite/ld-scripts/empty-address-2a.d @@ -5,5 +5,5 @@ #... 0+0 T _start #... -0+10 A __data_end +0+10 [ADT] __data_end #pass diff --git a/ld/testsuite/ld-scripts/empty-address-2b.d b/ld/testsuite/ld-scripts/empty-address-2b.d index 0c58946..22f6e26 100644 --- a/ld/testsuite/ld-scripts/empty-address-2b.d +++ b/ld/testsuite/ld-scripts/empty-address-2b.d @@ -5,5 +5,5 @@ #... 0+0 T _start #... -0+10 A __data_end +0+10 [ADT] __data_end #pass diff --git a/ld/testsuite/ld-scripts/empty-address-3a.d b/ld/testsuite/ld-scripts/empty-address-3a.d index f475d41..68d1663 100644 --- a/ld/testsuite/ld-scripts/empty-address-3a.d +++ b/ld/testsuite/ld-scripts/empty-address-3a.d @@ -5,5 +5,5 @@ #... 0+0 T _start #... -0+10 A __data_end +0+10 [DT] __data_end #pass diff --git a/ld/testsuite/ld-scripts/empty-address-3b.d b/ld/testsuite/ld-scripts/empty-address-3b.d index 0a97fc2..d3ebee3 100644 --- a/ld/testsuite/ld-scripts/empty-address-3b.d +++ b/ld/testsuite/ld-scripts/empty-address-3b.d @@ -5,5 +5,5 @@ #... 0+0 T _start #... -0+10 A __data_end +0+10 [DT] __data_end #pass diff --git a/ld/testsuite/ld-scripts/empty-address-3c.d b/ld/testsuite/ld-scripts/empty-address-3c.d index 6001885..7fac2f6 100644 --- a/ld/testsuite/ld-scripts/empty-address-3c.d +++ b/ld/testsuite/ld-scripts/empty-address-3c.d @@ -4,7 +4,7 @@ #... 0+0 T _start #... -0+1010 A __data_end +0+1010 [ADT] __data_end #... 0+1010 [ADT] __data_start #pass diff --git a/ld/testsuite/ld-sh/sh64/abi32.xd b/ld/testsuite/ld-sh/sh64/abi32.xd index 34bf961..f451b81 100644 --- a/ld/testsuite/ld-sh/sh64/abi32.xd +++ b/ld/testsuite/ld-sh/sh64/abi32.xd @@ -35,13 +35,13 @@ SYMBOL TABLE: 0+10e8 g \.data 0+ baz 0+10e8 g .* 0+ ___dtors 0+105c g \.text 0+ 0x04 xyzzy -0+1100 g \*ABS\* 0+ __bss_start +0+1100 g \.data 0+ __bss_start 0+10e8 g .* 0+ ___ctors_end 0+10f0 g \.data 0+ baz2 0+10e8 g .* 0+ ___ctors 0+1000 g \.text 0+ 0x04 foo -0+1100 g \*ABS\* 0+ _edata -0+1100 g \*ABS\* 0+ _end +0+1100 g \.data 0+ _edata +0+1100 g \.data 0+ _end 0+1010 g \.text 0+ 0x04 start 0+100c g \.text 0+ 0x04 bar 0+80000 g \.stack 0+ _stack diff --git a/ld/testsuite/ld-sh/sh64/abi64.xd b/ld/testsuite/ld-sh/sh64/abi64.xd index 12fdc5a..7018739 100644 --- a/ld/testsuite/ld-sh/sh64/abi64.xd +++ b/ld/testsuite/ld-sh/sh64/abi64.xd @@ -34,13 +34,13 @@ SYMBOL TABLE: 0000000000001130 g \.data 0000000000000000 baz 0000000000001130 g .* 0000000000000000 ___dtors 00000000000010a4 g \.text 0000000000000000 0x04 xyzzy -0000000000001148 g \*ABS\* 0000000000000000 __bss_start +0000000000001148 g \.data 0000000000000000 __bss_start 0000000000001130 g .* 0000000000000000 ___ctors_end 0000000000001138 g \.data 0000000000000000 baz2 0000000000001130 g .* 0000000000000000 ___ctors 0000000000001000 g \.text 0000000000000000 0x04 foo -0000000000001148 g \*ABS\* 0000000000000000 _edata -0000000000001148 g \*ABS\* 0000000000000000 _end +0000000000001148 g \.data 0000000000000000 _edata +0000000000001148 g \.data 0000000000000000 _end 0000000000001018 g \.text 0000000000000000 0x04 start 0000000000001014 g \.text 0000000000000000 0x04 bar 0000000000080000 g \.stack 0000000000000000 _stack diff --git a/ld/testsuite/ld-sh/sh64/cmpct1.xd b/ld/testsuite/ld-sh/sh64/cmpct1.xd index 317d044..b32f820 100644 --- a/ld/testsuite/ld-sh/sh64/cmpct1.xd +++ b/ld/testsuite/ld-sh/sh64/cmpct1.xd @@ -28,11 +28,11 @@ SYMBOL TABLE: 0+100c l \.rodata 0+ here 0+ l df \*ABS\* 0+ .* 0+1098 g .* 0+ ___dtors -0+1098 g \*ABS\* 0+ __bss_start +0+1098 g \.rodata 0+ __bss_start 0+1098 g .* 0+ ___ctors_end 0+1098 g .* 0+ ___ctors -0+1098 g \*ABS\* 0+ _edata -0+1098 g \*ABS\* 0+ _end +0+1098 g \.rodata 0+ _edata +0+1098 g \.rodata 0+ _end 0+1000 g \.text 0+ start 0+80000 g \.stack 0+ _stack 0+1098 g .* 0+ ___dtors_end diff --git a/ld/testsuite/ld-sh/sh64/crange1.rd b/ld/testsuite/ld-sh/sh64/crange1.rd index 2546130..10cd3b3 100644 --- a/ld/testsuite/ld-sh/sh64/crange1.rd +++ b/ld/testsuite/ld-sh/sh64/crange1.rd @@ -26,12 +26,12 @@ Symbol table '\.symtab' contains [0-9]+ entries: .*: 00001004 +0 +NOTYPE +LOCAL +DEFAULT +\[<other>: 4\] +2 start2 .* FILE +LOCAL +DEFAULT +ABS .* .*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors -.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +2 __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 +.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +2 _edata +.*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +2 _end .*: 00001000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start .*: 00080000 +0 +NOTYPE +GLOBAL +DEFAULT +3 _stack .*: 000010a0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors_end diff --git a/ld/testsuite/ld-sh/sh64/crange2.rd b/ld/testsuite/ld-sh/sh64/crange2.rd index 5bff4c3..131712c 100644 --- a/ld/testsuite/ld-sh/sh64/crange2.rd +++ b/ld/testsuite/ld-sh/sh64/crange2.rd @@ -31,12 +31,12 @@ Symbol table '\.symtab' contains [0-9]+ entries: .*: 00001048 +0 +NOTYPE +LOCAL +DEFAULT +2 sec4 .* FILE +LOCAL +DEFAULT +ABS .* .*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors -.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +2 __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 +.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +2 _edata +.*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +2 _end .*: 00001000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start .*: 00080000 +0 +NOTYPE +GLOBAL +DEFAULT +3 _stack .*: 000010e0 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors_end diff --git a/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd b/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd index 65b3dfa..c00366a 100644 --- a/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd +++ b/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd @@ -48,12 +48,12 @@ Symbol table '\.symtab' contains [0-9]+ entries: .*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .* .*: 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 +2 __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 +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +2 _edata +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +2 _end .*: 00001000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start .*: 00080000 +0 +NOTYPE +GLOBAL +DEFAULT +3 _stack .*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors_end diff --git a/ld/testsuite/ld-sh/sh64/crange3-media.rd b/ld/testsuite/ld-sh/sh64/crange3-media.rd index e443ad9..52d4d00 100644 --- a/ld/testsuite/ld-sh/sh64/crange3-media.rd +++ b/ld/testsuite/ld-sh/sh64/crange3-media.rd @@ -48,12 +48,12 @@ Symbol table '\.symtab' contains [0-9]+ entries: .*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .* .*: 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 +2 __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 +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +2 _edata +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +2 _end .*: 00001000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start .*: 00080000 +0 +NOTYPE +GLOBAL +DEFAULT +3 _stack .*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors_end diff --git a/ld/testsuite/ld-sh/sh64/crange3.rd b/ld/testsuite/ld-sh/sh64/crange3.rd index 58f511c..817f8f6 100644 --- a/ld/testsuite/ld-sh/sh64/crange3.rd +++ b/ld/testsuite/ld-sh/sh64/crange3.rd @@ -29,12 +29,12 @@ Symbol table '\.symtab' contains [0-9]+ entries: .*: 00000000 +0 +FILE +LOCAL +DEFAULT +ABS .* .*: 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 +2 __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 +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +2 _edata +.*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +2 _end .*: 00001000 +0 +NOTYPE +GLOBAL +DEFAULT +\[<other>: 4\] +1 start .*: 00080000 +0 +NOTYPE +GLOBAL +DEFAULT +3 _stack .*: 00001160 +0 +NOTYPE +GLOBAL +DEFAULT +.* ___dtors_end diff --git a/ld/testsuite/ld-sh/sh64/mix1.xd b/ld/testsuite/ld-sh/sh64/mix1.xd index 8015f23..5011676 100644 --- a/ld/testsuite/ld-sh/sh64/mix1.xd +++ b/ld/testsuite/ld-sh/sh64/mix1.xd @@ -34,11 +34,11 @@ SYMBOL TABLE: 0+1018 l \.text 0+ 0x04 mediacode 0+ l df \*ABS\* 0+ .* 0+10c8 g .* 0+ ___dtors -0+10d8 g \*ABS\* 0+ __bss_start +0+10d8 g \.data 0+ __bss_start 0+10c8 g .* 0+ ___ctors_end 0+10c8 g .* 0+ ___ctors -0+10d8 g \*ABS\* 0+ _edata -0+10d8 g \*ABS\* 0+ _end +0+10d8 g \.data 0+ _edata +0+10d8 g \.data 0+ _end 0+1000 g \.text 0+ start 0+80000 g \.stack 0+ _stack 0+10c8 g .* 0+ ___dtors_end diff --git a/ld/testsuite/ld-sh/sh64/mix2.xd b/ld/testsuite/ld-sh/sh64/mix2.xd index 0bece09..ddd0632 100644 --- a/ld/testsuite/ld-sh/sh64/mix2.xd +++ b/ld/testsuite/ld-sh/sh64/mix2.xd @@ -43,12 +43,12 @@ SYMBOL TABLE: 0+1010 g \.text 0+ 0x04 medialabel1 0+10c8 g .* 0+ ___dtors 0+10cc g \.data 0+ medialabel4 -0+10d8 g \*ABS\* 0+ __bss_start +0+10d8 g \.data 0+ __bss_start 0+10c8 g .* 0+ ___ctors_end 0+10d4 g \.data 0+ compactlabel5 0+10c8 g .* 0+ ___ctors -0+10d8 g \*ABS\* 0+ _edata -0+10d8 g \*ABS\* 0+ _end +0+10d8 g \.data 0+ _edata +0+10d8 g \.data 0+ _end 0+1000 g \.text 0+ 0x04 start 0+80000 g \.stack 0+ _stack 0+10c8 g .* 0+ ___dtors_end diff --git a/ld/testsuite/ld-sh/sh64/shdl32.xd b/ld/testsuite/ld-sh/sh64/shdl32.xd index 94a2c2b..8606b6f 100644 --- a/ld/testsuite/ld-sh/sh64/shdl32.xd +++ b/ld/testsuite/ld-sh/sh64/shdl32.xd @@ -84,7 +84,7 @@ SYMBOL TABLE: 0+1164 g \.text 0+ 0x04 barboth2 0+1168 g \.text 0+ 0x04 barwithout 0+14d8 g \.data 0+ dbar_mix2 -0+1560 g \*ABS\* 0+ __bss_start +0+1560 g \.data 0+ __bss_start 0+1410 g \.data 0+ dfoo_mixboth 0+14c4 g \.data 0+ dbar_other 0+1180 g \.text 0+ 0x04 bar_mix2 @@ -104,8 +104,8 @@ SYMBOL TABLE: 0+14c0 g \.data 0+ dbarwithout 0+1004 g \.text 0+ 0x04 foo 0+102c g \.text 0+ 0x04 foo_other -0+1560 g \*ABS\* 0+ _edata -0+1560 g \*ABS\* 0+ _end +0+1560 g \.data 0+ _edata +0+1560 g \.data 0+ _end 0+1430 g \.data 0+ dfoo_mixwithout2 0+1058 g \.text 0+ 0x04 foo_mixboth2 0+11d4 g \.text 0+ 0x04 baz_mix2 diff --git a/ld/testsuite/ld-sh/sh64/shdl64.xd b/ld/testsuite/ld-sh/sh64/shdl64.xd index aa97cb7..47f35a7 100644 --- a/ld/testsuite/ld-sh/sh64/shdl64.xd +++ b/ld/testsuite/ld-sh/sh64/shdl64.xd @@ -84,7 +84,7 @@ SYMBOL TABLE: 0+1164 g \.text 0+ 0x04 barboth2 0+1168 g \.text 0+ 0x04 barwithout 0+14d8 g \.data 0+ dbar_mix2 -0+1560 g \*ABS\* 0+ __bss_start +0+1560 g \.data 0+ __bss_start 0+1410 g \.data 0+ dfoo_mixboth 0+14c4 g \.data 0+ dbar_other 0+1180 g \.text 0+ 0x04 bar_mix2 @@ -104,8 +104,8 @@ SYMBOL TABLE: 0+14c0 g \.data 0+ dbarwithout 0+1004 g \.text 0+ 0x04 foo 0+102c g \.text 0+ 0x04 foo_other -0+1560 g \*ABS\* 0+ _edata -0+1560 g \*ABS\* 0+ _end +0+1560 g \.data 0+ _edata +0+1560 g \.data 0+ _end 0+1430 g \.data 0+ dfoo_mixwithout2 0+1058 g \.text 0+ 0x04 foo_mixboth2 0+11d4 g \.text 0+ 0x04 baz_mix2 diff --git a/ld/testsuite/ld-sparc/gotop32.rd b/ld/testsuite/ld-sparc/gotop32.rd index 3778a21..acbbdeb 100644 --- a/ld/testsuite/ld-sparc/gotop32.rd +++ b/ld/testsuite/ld-sparc/gotop32.rd @@ -42,10 +42,10 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* NOTYPE +LOCAL +DEFAULT +UND * .* SECTION +LOCAL +DEFAULT +5 * .* SECTION +LOCAL +DEFAULT +7 * -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +8 __bss_start .* FUNC +GLOBAL +DEFAULT +5 foo -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +8 _edata +.* NOTYPE +GLOBAL +DEFAULT +8 _end .* NOTYPE +GLOBAL +DEFAULT +8 sym Symbol table '\.symtab' contains [0-9]+ entries: @@ -65,9 +65,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC .* OBJECT +LOCAL +DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_ .* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_ -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +8 __bss_start .* FUNC +GLOBAL +DEFAULT +5 foo -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +8 _edata +.* NOTYPE +GLOBAL +DEFAULT +8 _end .* NOTYPE +GLOBAL +DEFAULT +8 sym diff --git a/ld/testsuite/ld-sparc/gotop64.rd b/ld/testsuite/ld-sparc/gotop64.rd index ebcd18c..08a9514 100644 --- a/ld/testsuite/ld-sparc/gotop64.rd +++ b/ld/testsuite/ld-sparc/gotop64.rd @@ -42,10 +42,10 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* NOTYPE +LOCAL +DEFAULT +UND * .* SECTION +LOCAL +DEFAULT +5 * .* SECTION +LOCAL +DEFAULT +7 * -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +8 __bss_start .* FUNC +GLOBAL +DEFAULT +5 foo -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +8 _edata +.* NOTYPE +GLOBAL +DEFAULT +8 _end .* NOTYPE +GLOBAL +DEFAULT +8 sym Symbol table '\.symtab' contains [0-9]+ entries: @@ -65,9 +65,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC .* OBJECT +LOCAL +DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_ .* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_ -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +8 __bss_start .* FUNC +GLOBAL +DEFAULT +5 foo -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +8 _edata +.* NOTYPE +GLOBAL +DEFAULT +8 _end .* NOTYPE +GLOBAL +DEFAULT +8 sym diff --git a/ld/testsuite/ld-sparc/tlssunbin32.rd b/ld/testsuite/ld-sparc/tlssunbin32.rd index 09512fc..7212732 100644 --- a/ld/testsuite/ld-sparc/tlssunbin32.rd +++ b/ld/testsuite/ld-sparc/tlssunbin32.rd @@ -52,11 +52,11 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* TLS +GLOBAL +DEFAULT +UND sG5 .* TLS +GLOBAL +DEFAULT +UND sG2 .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +10 __bss_start .* TLS +GLOBAL +DEFAULT +UND sG6 .* TLS +GLOBAL +DEFAULT +UND sG1 -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +10 _edata +.* NOTYPE +GLOBAL +DEFAULT +10 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -112,7 +112,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +GLOBAL +HIDDEN +7 sh4 .* TLS +GLOBAL +DEFAULT +8 bg7 .* TLS +GLOBAL +HIDDEN +7 sh5 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +10 __bss_start .* TLS +GLOBAL +DEFAULT +UND sG6 .* FUNC +GLOBAL +DEFAULT +6 fn2 .* TLS +GLOBAL +DEFAULT +7 sg2 @@ -120,8 +120,8 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 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 +.* NOTYPE +GLOBAL +DEFAULT +10 _edata +.* NOTYPE +GLOBAL +DEFAULT +10 _end .* TLS +GLOBAL +HIDDEN +7 sh2 .* TLS +GLOBAL +HIDDEN +7 sh6 .* TLS +GLOBAL +DEFAULT +8 bg2 diff --git a/ld/testsuite/ld-sparc/tlssunbin64.rd b/ld/testsuite/ld-sparc/tlssunbin64.rd index cd69288..5480dab 100644 --- a/ld/testsuite/ld-sparc/tlssunbin64.rd +++ b/ld/testsuite/ld-sparc/tlssunbin64.rd @@ -52,11 +52,11 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* TLS +GLOBAL +DEFAULT +UND sG5 .* TLS +GLOBAL +DEFAULT +UND sG2 .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +10 __bss_start .* TLS +GLOBAL +DEFAULT +UND sG6 .* TLS +GLOBAL +DEFAULT +UND sG1 -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +10 _edata +.* NOTYPE +GLOBAL +DEFAULT +10 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name @@ -112,7 +112,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +GLOBAL +HIDDEN +7 sh4 .* TLS +GLOBAL +DEFAULT +8 bg7 .* TLS +GLOBAL +HIDDEN +7 sh5 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +10 __bss_start .* TLS +GLOBAL +DEFAULT +UND sG6 .* FUNC +GLOBAL +DEFAULT +6 fn2 .* TLS +GLOBAL +DEFAULT +7 sg2 @@ -120,8 +120,8 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 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 +.* NOTYPE +GLOBAL +DEFAULT +10 _edata +.* NOTYPE +GLOBAL +DEFAULT +10 _end .* TLS +GLOBAL +HIDDEN +7 sh2 .* TLS +GLOBAL +HIDDEN +7 sh6 .* TLS +GLOBAL +DEFAULT +8 bg2 diff --git a/ld/testsuite/ld-sparc/tlssunnopic32.rd b/ld/testsuite/ld-sparc/tlssunnopic32.rd index 5051a4b..86fba1d 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic32.rd +++ b/ld/testsuite/ld-sparc/tlssunnopic32.rd @@ -57,10 +57,10 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* SECTION +LOCAL +DEFAULT +8 * .* FUNC +GLOBAL +DEFAULT +5 fn3 .* TLS +GLOBAL +DEFAULT +UND sg1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +8 __bss_start .* TLS +GLOBAL +DEFAULT +UND sg2 -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +8 _edata +.* NOTYPE +GLOBAL +DEFAULT +8 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -89,7 +89,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_ .* FUNC +GLOBAL +DEFAULT +5 fn3 .* TLS +GLOBAL +DEFAULT +UND sg1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +8 __bss_start .* TLS +GLOBAL +DEFAULT +UND sg2 -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +8 _edata +.* NOTYPE +GLOBAL +DEFAULT +8 _end diff --git a/ld/testsuite/ld-sparc/tlssunnopic64.rd b/ld/testsuite/ld-sparc/tlssunnopic64.rd index e3e22e0..72555c1 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic64.rd +++ b/ld/testsuite/ld-sparc/tlssunnopic64.rd @@ -59,10 +59,10 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* SECTION +LOCAL +DEFAULT +8 * .* FUNC +GLOBAL +DEFAULT +5 fn3 .* TLS +GLOBAL +DEFAULT +UND sg1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +8 __bss_start .* TLS +GLOBAL +DEFAULT +UND sg2 -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +8 _edata +.* NOTYPE +GLOBAL +DEFAULT +8 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -91,7 +91,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_ .* FUNC +GLOBAL +DEFAULT +5 fn3 .* TLS +GLOBAL +DEFAULT +UND sg1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +8 __bss_start .* TLS +GLOBAL +DEFAULT +UND sg2 -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +8 _edata +.* NOTYPE +GLOBAL +DEFAULT +8 _end diff --git a/ld/testsuite/ld-sparc/tlssunpic32.rd b/ld/testsuite/ld-sparc/tlssunpic32.rd index 8fa8099..eab1abe 100644 --- a/ld/testsuite/ld-sparc/tlssunpic32.rd +++ b/ld/testsuite/ld-sparc/tlssunpic32.rd @@ -72,12 +72,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr .* TLS +GLOBAL +DEFAULT +7 sg1 .* FUNC +GLOBAL +DEFAULT +6 fn1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +11 __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 +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -129,9 +129,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr .* TLS +GLOBAL +DEFAULT +7 sg1 .* FUNC +GLOBAL +DEFAULT +6 fn1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +11 __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 +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _end diff --git a/ld/testsuite/ld-sparc/tlssunpic64.rd b/ld/testsuite/ld-sparc/tlssunpic64.rd index 535ef84..ca26b2d 100644 --- a/ld/testsuite/ld-sparc/tlssunpic64.rd +++ b/ld/testsuite/ld-sparc/tlssunpic64.rd @@ -72,12 +72,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr .* TLS +GLOBAL +DEFAULT +7 sg1 .* FUNC +GLOBAL +DEFAULT +6 fn1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +11 __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 +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -129,9 +129,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr .* TLS +GLOBAL +DEFAULT +7 sg1 .* FUNC +GLOBAL +DEFAULT +6 fn1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +11 __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 +.* NOTYPE +GLOBAL +DEFAULT +11 _edata +.* NOTYPE +GLOBAL +DEFAULT +11 _end diff --git a/ld/testsuite/ld-spu/icache1.d b/ld/testsuite/ld-spu/icache1.d index 01b42ba..27dc99e 100644 --- a/ld/testsuite/ld-spu/icache1.d +++ b/ld/testsuite/ld-spu/icache1.d @@ -23,7 +23,7 @@ Disassembly of section \.text: Disassembly of section \.data: -.* <.data>: +.* <(\.data|_edata-0x10)>: .* 00 04 08 00 .* .* 00 04 0d 04 .* .* 00 04 0c 00 .* @@ -31,7 +31,7 @@ Disassembly of section \.data: Disassembly of section \.bss: -.* <__icache_tag_array>: +.* <(__icache_tag_array|__bss_start)>: \.\.\. .* <__icache_rewrite_to>: diff --git a/ld/testsuite/ld-spu/pic.d b/ld/testsuite/ld-spu/pic.d index 438d4e1..6279d51 100644 --- a/ld/testsuite/ld-spu/pic.d +++ b/ld/testsuite/ld-spu/pic.d @@ -55,7 +55,7 @@ Disassembly of section \.text: 58: SPU_ADDR18 glob 5c: 18 1f 84 06 a \$6,\$8,\$126 5c: SPU_ADD_PIC glob - 60: 42 00 90 09 ila \$9,120 <__bss_start> + 60: 42 00 90 09 ila \$9,120 .* 60: SPU_ADDR18 _end 64: 18 1f 84 89 a \$9,\$9,\$126 64: SPU_ADD_PIC _end diff --git a/ld/testsuite/ld-tic6x/dsbt-be.ld b/ld/testsuite/ld-tic6x/dsbt-be.ld index 2a7795c..40ba14c 100644 --- a/ld/testsuite/ld-tic6x/dsbt-be.ld +++ b/ld/testsuite/ld-tic6x/dsbt-be.ld @@ -56,7 +56,7 @@ SECTIONS .rela.plt : { *(.rela.plt) } .plt : { *(.plt) } .text : { *(.text*) } - PROVIDE_HIDDEN (__c6xabi_DSBT_BASE = .); + . = .; PROVIDE_HIDDEN (__c6xabi_DSBT_BASE = .); .got : { *(.dsbt) *(.got.plt) *(.igot.plt) *(.got) *(.igot) } .neardata : { *(.neardata .neardata.* .gnu.linkonce.s.*) } .rodata : { *(.rodata .rodata.*) } diff --git a/ld/testsuite/ld-tic6x/dsbt.ld b/ld/testsuite/ld-tic6x/dsbt.ld index ff162f3..fdde8ba 100644 --- a/ld/testsuite/ld-tic6x/dsbt.ld +++ b/ld/testsuite/ld-tic6x/dsbt.ld @@ -56,7 +56,7 @@ SECTIONS .rela.plt : { *(.rela.plt) } .plt : { *(.plt) } .text : { *(.text*) } - PROVIDE_HIDDEN (__c6xabi_DSBT_BASE = .); + . = .; PROVIDE_HIDDEN (__c6xabi_DSBT_BASE = .); .got : { *(.dsbt) *(.got.plt) *(.igot.plt) *(.got) *(.igot) } .neardata : { *(.neardata .neardata.* .gnu.linkonce.s.*) } .rodata : { *(.rodata .rodata.*) } diff --git a/ld/testsuite/ld-tic6x/shlib-1.rd b/ld/testsuite/ld-tic6x/shlib-1.rd index a5ad39b..d3bf087 100644 --- a/ld/testsuite/ld-tic6x/shlib-1.rd +++ b/ld/testsuite/ld-tic6x/shlib-1.rd @@ -85,7 +85,7 @@ Symbol table '\.dynsym' contains 13 entries: 3: 10000100 0 SECTION LOCAL DEFAULT 10 4: 10000128 0 SECTION LOCAL DEFAULT 11 5: 10000130 0 SECTION LOCAL DEFAULT 12 - 6: 10000100 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE + 6: 10000100 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE 7: 00000000 0 NOTYPE WEAK DEFAULT UND b 8: 00000000 0 NOTYPE WEAK DEFAULT UND g1 9: 1000012c 4 OBJECT GLOBAL DEFAULT 11 g2 @@ -115,7 +115,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 00000000 0 FILE LOCAL DEFAULT ABS .* .* 0000817c 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC .* 1000010c 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ -.* 10000100 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE +.* 10000100 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE .* 00000000 0 NOTYPE WEAK DEFAULT UND b .* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 diff --git a/ld/testsuite/ld-tic6x/shlib-1b.rd b/ld/testsuite/ld-tic6x/shlib-1b.rd index a5ad39b..d3bf087 100644 --- a/ld/testsuite/ld-tic6x/shlib-1b.rd +++ b/ld/testsuite/ld-tic6x/shlib-1b.rd @@ -85,7 +85,7 @@ Symbol table '\.dynsym' contains 13 entries: 3: 10000100 0 SECTION LOCAL DEFAULT 10 4: 10000128 0 SECTION LOCAL DEFAULT 11 5: 10000130 0 SECTION LOCAL DEFAULT 12 - 6: 10000100 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE + 6: 10000100 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE 7: 00000000 0 NOTYPE WEAK DEFAULT UND b 8: 00000000 0 NOTYPE WEAK DEFAULT UND g1 9: 1000012c 4 OBJECT GLOBAL DEFAULT 11 g2 @@ -115,7 +115,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 00000000 0 FILE LOCAL DEFAULT ABS .* .* 0000817c 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC .* 1000010c 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ -.* 10000100 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE +.* 10000100 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE .* 00000000 0 NOTYPE WEAK DEFAULT UND b .* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 diff --git a/ld/testsuite/ld-tic6x/shlib-1r.rd b/ld/testsuite/ld-tic6x/shlib-1r.rd index a5ad39b..d3bf087 100644 --- a/ld/testsuite/ld-tic6x/shlib-1r.rd +++ b/ld/testsuite/ld-tic6x/shlib-1r.rd @@ -85,7 +85,7 @@ Symbol table '\.dynsym' contains 13 entries: 3: 10000100 0 SECTION LOCAL DEFAULT 10 4: 10000128 0 SECTION LOCAL DEFAULT 11 5: 10000130 0 SECTION LOCAL DEFAULT 12 - 6: 10000100 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE + 6: 10000100 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE 7: 00000000 0 NOTYPE WEAK DEFAULT UND b 8: 00000000 0 NOTYPE WEAK DEFAULT UND g1 9: 1000012c 4 OBJECT GLOBAL DEFAULT 11 g2 @@ -115,7 +115,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 00000000 0 FILE LOCAL DEFAULT ABS .* .* 0000817c 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC .* 1000010c 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ -.* 10000100 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE +.* 10000100 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE .* 00000000 0 NOTYPE WEAK DEFAULT UND b .* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 diff --git a/ld/testsuite/ld-tic6x/shlib-1rb.rd b/ld/testsuite/ld-tic6x/shlib-1rb.rd index a5ad39b..d3bf087 100644 --- a/ld/testsuite/ld-tic6x/shlib-1rb.rd +++ b/ld/testsuite/ld-tic6x/shlib-1rb.rd @@ -85,7 +85,7 @@ Symbol table '\.dynsym' contains 13 entries: 3: 10000100 0 SECTION LOCAL DEFAULT 10 4: 10000128 0 SECTION LOCAL DEFAULT 11 5: 10000130 0 SECTION LOCAL DEFAULT 12 - 6: 10000100 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE + 6: 10000100 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE 7: 00000000 0 NOTYPE WEAK DEFAULT UND b 8: 00000000 0 NOTYPE WEAK DEFAULT UND g1 9: 1000012c 4 OBJECT GLOBAL DEFAULT 11 g2 @@ -115,7 +115,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 00000000 0 FILE LOCAL DEFAULT ABS .* .* 0000817c 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC .* 1000010c 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ -.* 10000100 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE +.* 10000100 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE .* 00000000 0 NOTYPE WEAK DEFAULT UND b .* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 diff --git a/ld/testsuite/ld-tic6x/shlib-app-1.rd b/ld/testsuite/ld-tic6x/shlib-app-1.rd index bd317a8..6461371 100644 --- a/ld/testsuite/ld-tic6x/shlib-app-1.rd +++ b/ld/testsuite/ld-tic6x/shlib-app-1.rd @@ -90,7 +90,7 @@ Symbol table '\.dynsym' contains 12 entries: 3: 100000a0 0 SECTION LOCAL DEFAULT 11 4: 100000c0 0 SECTION LOCAL DEFAULT 12 5: 100000cc 0 SECTION LOCAL DEFAULT 13 - 6: 100000a0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE + 6: 100000a0 0 NOTYPE LOCAL DEFAULT 11 __c6xabi_DSBT_BASE 7: 100000c0 4 OBJECT GLOBAL DEFAULT 12 b 8: 00000000 0 NOTYPE WEAK DEFAULT UND g1 9: 00000000 0 OBJECT WEAK DEFAULT UND g2 @@ -120,7 +120,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 00000000 0 FILE LOCAL DEFAULT ABS .* .* 00008178 0 OBJECT LOCAL DEFAULT 7 _DYNAMIC .* 100000ac 0 OBJECT LOCAL DEFAULT 11 _GLOBAL_OFFSET_TABLE_ -.* 100000a0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE +.* 100000a0 0 NOTYPE LOCAL DEFAULT 11 __c6xabi_DSBT_BASE .* 100000c0 4 OBJECT GLOBAL DEFAULT 12 b .* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 diff --git a/ld/testsuite/ld-tic6x/shlib-app-1b.rd b/ld/testsuite/ld-tic6x/shlib-app-1b.rd index 3366a64..f4e8188 100644 --- a/ld/testsuite/ld-tic6x/shlib-app-1b.rd +++ b/ld/testsuite/ld-tic6x/shlib-app-1b.rd @@ -90,7 +90,7 @@ Symbol table '\.dynsym' contains 12 entries: 3: 100000a0 0 SECTION LOCAL DEFAULT 11 4: 100000c0 0 SECTION LOCAL DEFAULT 12 5: 100000cc 0 SECTION LOCAL DEFAULT 13 - 6: 100000a0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE + 6: 100000a0 0 NOTYPE LOCAL DEFAULT 11 __c6xabi_DSBT_BASE 7: 100000c0 4 OBJECT GLOBAL DEFAULT 12 b 8: 00000000 0 NOTYPE WEAK DEFAULT UND g1 9: 00000000 0 OBJECT WEAK DEFAULT UND g2 @@ -120,7 +120,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 00000000 0 FILE LOCAL DEFAULT ABS .* .* 00008178 0 OBJECT LOCAL DEFAULT 7 _DYNAMIC .* 100000ac 0 OBJECT LOCAL DEFAULT 11 _GLOBAL_OFFSET_TABLE_ -.* 100000a0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE +.* 100000a0 0 NOTYPE LOCAL DEFAULT 11 __c6xabi_DSBT_BASE .* 100000c0 4 OBJECT GLOBAL DEFAULT 12 b .* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 diff --git a/ld/testsuite/ld-tic6x/shlib-app-1r.rd b/ld/testsuite/ld-tic6x/shlib-app-1r.rd index a37c4e1..b00447c 100644 --- a/ld/testsuite/ld-tic6x/shlib-app-1r.rd +++ b/ld/testsuite/ld-tic6x/shlib-app-1r.rd @@ -84,7 +84,7 @@ Symbol table '\.dynsym' contains 10 entries: 3: 100000a0 0 SECTION LOCAL DEFAULT 10 4: 100000c0 0 SECTION LOCAL DEFAULT 11 5: 100000c4 0 SECTION LOCAL DEFAULT 12 - 6: 100000a0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE + 6: 100000a0 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE 7: 100000c0 4 OBJECT GLOBAL DEFAULT 11 b 8: 00000000 0 FUNC GLOBAL DEFAULT UND sub0 9: 100000c4 4 OBJECT GLOBAL DEFAULT 12 a @@ -110,7 +110,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 00000000 0 FILE LOCAL DEFAULT ABS .* .* 00008130 0 OBJECT LOCAL DEFAULT 6 _DYNAMIC .* 100000ac 0 OBJECT LOCAL DEFAULT 10 _GLOBAL_OFFSET_TABLE_ -.* 100000a0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE +.* 100000a0 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE .* 100000c0 4 OBJECT GLOBAL DEFAULT 11 b .* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 FUNC GLOBAL DEFAULT UND sub0 diff --git a/ld/testsuite/ld-tic6x/shlib-app-1rb.rd b/ld/testsuite/ld-tic6x/shlib-app-1rb.rd index 4a726a5..7c2c110 100644 --- a/ld/testsuite/ld-tic6x/shlib-app-1rb.rd +++ b/ld/testsuite/ld-tic6x/shlib-app-1rb.rd @@ -84,7 +84,7 @@ Symbol table '\.dynsym' contains 10 entries: 3: 100000a0 0 SECTION LOCAL DEFAULT 10 4: 100000c0 0 SECTION LOCAL DEFAULT 11 5: 100000c4 0 SECTION LOCAL DEFAULT 12 - 6: 100000a0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE + 6: 100000a0 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE 7: 100000c0 4 OBJECT GLOBAL DEFAULT 11 b 8: 00000000 0 FUNC GLOBAL DEFAULT UND sub0 9: 100000c4 4 OBJECT GLOBAL DEFAULT 12 a @@ -110,7 +110,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 00000000 0 FILE LOCAL DEFAULT ABS .* .* 00008134 0 OBJECT LOCAL DEFAULT 6 _DYNAMIC .* 100000ac 0 OBJECT LOCAL DEFAULT 10 _GLOBAL_OFFSET_TABLE_ -.* 100000a0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE +.* 100000a0 0 NOTYPE LOCAL DEFAULT 10 __c6xabi_DSBT_BASE .* 100000c0 4 OBJECT GLOBAL DEFAULT 11 b .* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 FUNC GLOBAL DEFAULT UND sub0 diff --git a/ld/testsuite/ld-tic6x/shlib-noindex.rd b/ld/testsuite/ld-tic6x/shlib-noindex.rd index fc323b2..3d50e68 100644 --- a/ld/testsuite/ld-tic6x/shlib-noindex.rd +++ b/ld/testsuite/ld-tic6x/shlib-noindex.rd @@ -91,7 +91,7 @@ Symbol table '\.dynsym' contains 13 entries: 3: 10000100 0 SECTION LOCAL DEFAULT 11 4: 10000128 0 SECTION LOCAL DEFAULT 12 5: 10000130 0 SECTION LOCAL DEFAULT 13 - 6: 10000100 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE + 6: 10000100 0 NOTYPE LOCAL DEFAULT 11 __c6xabi_DSBT_BASE 7: 00000000 0 NOTYPE WEAK DEFAULT UND b 8: 00000000 0 NOTYPE WEAK DEFAULT UND g1 9: 1000012c 4 OBJECT GLOBAL DEFAULT 12 g2 @@ -122,7 +122,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 00000000 0 FILE LOCAL DEFAULT ABS .* .* 00008188 0 OBJECT LOCAL DEFAULT ABS _DYNAMIC .* 1000010c 0 OBJECT LOCAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ -.* 10000100 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE +.* 10000100 0 NOTYPE LOCAL DEFAULT 11 __c6xabi_DSBT_BASE .* 00000000 0 NOTYPE WEAK DEFAULT UND b .* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 diff --git a/ld/testsuite/ld-tic6x/static-app-1.rd b/ld/testsuite/ld-tic6x/static-app-1.rd index ae2daa1..ae5bc8d 100644 --- a/ld/testsuite/ld-tic6x/static-app-1.rd +++ b/ld/testsuite/ld-tic6x/static-app-1.rd @@ -77,7 +77,7 @@ Symbol table '\.dynsym' contains 10 entries: 3: 100000e0 0 SECTION LOCAL DEFAULT 9 4: 100000f4 0 SECTION LOCAL DEFAULT 10 5: 100000f4 4 OBJECT LOCAL DEFAULT 10 c - 6: 100000c0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE + 6: 100000c0 0 NOTYPE LOCAL DEFAULT 8 __c6xabi_DSBT_BASE 7: 100000e8 4 OBJECT GLOBAL DEFAULT 9 b 8: 00000000 0 NOTYPE WEAK DEFAULT UND g1 9: 100000e0 4 OBJECT GLOBAL DEFAULT 9 a @@ -105,7 +105,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 00008150 0 OBJECT LOCAL DEFAULT 6 _DYNAMIC .* 100000f4 4 OBJECT LOCAL DEFAULT 10 c .* 100000cc 0 OBJECT LOCAL DEFAULT 8 _GLOBAL_OFFSET_TABLE_ -.* 100000c0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE +.* 100000c0 0 NOTYPE LOCAL DEFAULT 8 __c6xabi_DSBT_BASE .* 100000e8 4 OBJECT GLOBAL DEFAULT 9 b .* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 diff --git a/ld/testsuite/ld-tic6x/static-app-1b.rd b/ld/testsuite/ld-tic6x/static-app-1b.rd index ae2daa1..ae5bc8d 100644 --- a/ld/testsuite/ld-tic6x/static-app-1b.rd +++ b/ld/testsuite/ld-tic6x/static-app-1b.rd @@ -77,7 +77,7 @@ Symbol table '\.dynsym' contains 10 entries: 3: 100000e0 0 SECTION LOCAL DEFAULT 9 4: 100000f4 0 SECTION LOCAL DEFAULT 10 5: 100000f4 4 OBJECT LOCAL DEFAULT 10 c - 6: 100000c0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE + 6: 100000c0 0 NOTYPE LOCAL DEFAULT 8 __c6xabi_DSBT_BASE 7: 100000e8 4 OBJECT GLOBAL DEFAULT 9 b 8: 00000000 0 NOTYPE WEAK DEFAULT UND g1 9: 100000e0 4 OBJECT GLOBAL DEFAULT 9 a @@ -105,7 +105,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 00008150 0 OBJECT LOCAL DEFAULT 6 _DYNAMIC .* 100000f4 4 OBJECT LOCAL DEFAULT 10 c .* 100000cc 0 OBJECT LOCAL DEFAULT 8 _GLOBAL_OFFSET_TABLE_ -.* 100000c0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE +.* 100000c0 0 NOTYPE LOCAL DEFAULT 8 __c6xabi_DSBT_BASE .* 100000e8 4 OBJECT GLOBAL DEFAULT 9 b .* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 diff --git a/ld/testsuite/ld-tic6x/static-app-1r.rd b/ld/testsuite/ld-tic6x/static-app-1r.rd index 62c7b69..3bc91dd 100644 --- a/ld/testsuite/ld-tic6x/static-app-1r.rd +++ b/ld/testsuite/ld-tic6x/static-app-1r.rd @@ -75,7 +75,7 @@ Symbol table '\.dynsym' contains 10 entries: 3: 100000e0 0 SECTION LOCAL DEFAULT 9 4: 100000ec 0 SECTION LOCAL DEFAULT 10 5: 100000ec 4 OBJECT LOCAL DEFAULT 10 c - 6: 100000c0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE + 6: 100000c0 0 NOTYPE LOCAL DEFAULT 8 __c6xabi_DSBT_BASE 7: 100000e8 4 OBJECT GLOBAL DEFAULT 9 b 8: 00000000 0 NOTYPE WEAK DEFAULT UND g1 9: 100000e0 4 OBJECT GLOBAL DEFAULT 9 a @@ -102,7 +102,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 00008138 0 OBJECT LOCAL DEFAULT 6 _DYNAMIC .* 100000ec 4 OBJECT LOCAL DEFAULT 10 c .* 100000cc 0 OBJECT LOCAL DEFAULT 8 _GLOBAL_OFFSET_TABLE_ -.* 100000c0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE +.* 100000c0 0 NOTYPE LOCAL DEFAULT 8 __c6xabi_DSBT_BASE .* 100000e8 4 OBJECT GLOBAL DEFAULT 9 b .* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 diff --git a/ld/testsuite/ld-tic6x/static-app-1rb.rd b/ld/testsuite/ld-tic6x/static-app-1rb.rd index 62c7b69..3bc91dd 100644 --- a/ld/testsuite/ld-tic6x/static-app-1rb.rd +++ b/ld/testsuite/ld-tic6x/static-app-1rb.rd @@ -75,7 +75,7 @@ Symbol table '\.dynsym' contains 10 entries: 3: 100000e0 0 SECTION LOCAL DEFAULT 9 4: 100000ec 0 SECTION LOCAL DEFAULT 10 5: 100000ec 4 OBJECT LOCAL DEFAULT 10 c - 6: 100000c0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE + 6: 100000c0 0 NOTYPE LOCAL DEFAULT 8 __c6xabi_DSBT_BASE 7: 100000e8 4 OBJECT GLOBAL DEFAULT 9 b 8: 00000000 0 NOTYPE WEAK DEFAULT UND g1 9: 100000e0 4 OBJECT GLOBAL DEFAULT 9 a @@ -102,7 +102,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 00008138 0 OBJECT LOCAL DEFAULT 6 _DYNAMIC .* 100000ec 4 OBJECT LOCAL DEFAULT 10 c .* 100000cc 0 OBJECT LOCAL DEFAULT 8 _GLOBAL_OFFSET_TABLE_ -.* 100000c0 0 NOTYPE LOCAL DEFAULT ABS __c6xabi_DSBT_BASE +.* 100000c0 0 NOTYPE LOCAL DEFAULT 8 __c6xabi_DSBT_BASE .* 100000e8 4 OBJECT GLOBAL DEFAULT 9 b .* 00020000 0 OBJECT GLOBAL DEFAULT ABS __stacksize .* 00000000 0 NOTYPE WEAK DEFAULT UND g1 diff --git a/ld/testsuite/ld-x86-64/tlsbin.rd b/ld/testsuite/ld-x86-64/tlsbin.rd index a246a35..e3285a3 100644 --- a/ld/testsuite/ld-x86-64/tlsbin.rd +++ b/ld/testsuite/ld-x86-64/tlsbin.rd @@ -71,11 +71,11 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* TLS +GLOBAL +DEFAULT +UND sG5 .* TLS +GLOBAL +DEFAULT +UND sG2 .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +13 __bss_start .* TLS +GLOBAL +DEFAULT +UND sG6 .* TLS +GLOBAL +DEFAULT +UND sG1 -.* NOTYPE +GLOBAL +DEFAULT +ABS _edata -.* NOTYPE +GLOBAL +DEFAULT +ABS _end +.* NOTYPE +GLOBAL +DEFAULT +13 _edata +.* NOTYPE +GLOBAL +DEFAULT +13 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -133,7 +133,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* TLS +GLOBAL +HIDDEN +9 sh4 .* TLS +GLOBAL +DEFAULT +10 bg7 .* TLS +GLOBAL +HIDDEN +9 sh5 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +13 __bss_start .* TLS +GLOBAL +DEFAULT +UND sG6 .* FUNC +GLOBAL +DEFAULT +8 fn2 .* TLS +GLOBAL +DEFAULT +9 sg2 @@ -141,8 +141,8 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* 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 +.* NOTYPE +GLOBAL +DEFAULT +13 _edata +.* NOTYPE +GLOBAL +DEFAULT +13 _end .* TLS +GLOBAL +HIDDEN +9 sh2 .* TLS +GLOBAL +HIDDEN +9 sh6 .* TLS +GLOBAL +DEFAULT +10 bg2 diff --git a/ld/testsuite/ld-x86-64/tlsbindesc.rd b/ld/testsuite/ld-x86-64/tlsbindesc.rd index 633690e..475535c 100644 --- a/ld/testsuite/ld-x86-64/tlsbindesc.rd +++ b/ld/testsuite/ld-x86-64/tlsbindesc.rd @@ -64,11 +64,11 @@ Symbol table '\.dynsym' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 __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 + +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _edata + +[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -124,7 +124,7 @@ Symbol table '\.symtab' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 __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 @@ -132,8 +132,8 @@ Symbol table '\.symtab' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +11 _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 diff --git a/ld/testsuite/ld-x86-64/tlsdesc.rd b/ld/testsuite/ld-x86-64/tlsdesc.rd index f9497de..fd576a7 100644 --- a/ld/testsuite/ld-x86-64/tlsdesc.rd +++ b/ld/testsuite/ld-x86-64/tlsdesc.rd @@ -97,12 +97,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 __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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -154,9 +154,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 __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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +12 _end diff --git a/ld/testsuite/ld-x86-64/tlsgdesc.rd b/ld/testsuite/ld-x86-64/tlsgdesc.rd index 68f718e..2eb2ec0 100644 --- a/ld/testsuite/ld-x86-64/tlsgdesc.rd +++ b/ld/testsuite/ld-x86-64/tlsgdesc.rd @@ -69,12 +69,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 __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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -96,9 +96,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: +[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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 __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-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _edata + +[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +10 _end diff --git a/ld/testsuite/ld-x86-64/tlspic.rd b/ld/testsuite/ld-x86-64/tlspic.rd index f2cd8e8..fb6a229 100644 --- a/ld/testsuite/ld-x86-64/tlspic.rd +++ b/ld/testsuite/ld-x86-64/tlspic.rd @@ -81,12 +81,12 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr .* TLS +GLOBAL +DEFAULT +8 sg1 .* FUNC +GLOBAL +DEFAULT +7 fn1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +12 __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 +.* NOTYPE +GLOBAL +DEFAULT +12 _edata +.* NOTYPE +GLOBAL +DEFAULT +12 _end Symbol table '\.symtab' contains [0-9]+ entries: +Num: +Value +Size +Type +Bind +Vis +Ndx +Name @@ -138,9 +138,9 @@ Symbol table '\.symtab' contains [0-9]+ entries: .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr .* TLS +GLOBAL +DEFAULT +8 sg1 .* FUNC +GLOBAL +DEFAULT +7 fn1 -.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start +.* NOTYPE +GLOBAL +DEFAULT +12 __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 +.* NOTYPE +GLOBAL +DEFAULT +12 _edata +.* NOTYPE +GLOBAL +DEFAULT +12 _end |