From: Alan Modra Date: Fri, 2 Jun 2006 00:32:00 +0000 (+0000) Subject: bfd/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0b5bb34d5c2c7023c5e54789743e398ab5669c0;p=binutils-gdb.git bfd/ PR ld/2723 * elflink.c (bfd_elf_final_link): Don't output section symbols for special ELF sections. ld/testsuite/ Update for removal of some section syms. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 57aa07265d0..7af4235e098 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2006-06-02 Alan Modra + H.J. Lu + + PR ld/2723 + * elflink.c (bfd_elf_final_link): Don't output section symbols + for special ELF sections. + 2006-06-01 Alan Modra * stabs.c (_bfd_link_section_stabs): Use bfd_make_section*_with_flags diff --git a/bfd/elflink.c b/bfd/elflink.c index df2b7e9fb7a..c5b1007cc91 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -8125,18 +8125,19 @@ bfd_elf_final_link (bfd *abfd, struct bfd_link_info *info) elfsym.st_size = 0; elfsym.st_info = ELF_ST_INFO (STB_LOCAL, STT_SECTION); elfsym.st_other = 0; + elfsym.st_value = 0; for (i = 1; i < elf_numsections (abfd); i++) { o = bfd_section_from_elf_index (abfd, i); if (o != NULL) - o->target_index = bfd_get_symcount (abfd); - elfsym.st_shndx = i; - if (info->relocatable || o == NULL) - elfsym.st_value = 0; - else - elfsym.st_value = o->vma; - if (! elf_link_output_sym (&finfo, NULL, &elfsym, o, NULL)) - goto error_return; + { + o->target_index = bfd_get_symcount (abfd); + elfsym.st_shndx = i; + if (!info->relocatable) + elfsym.st_value = o->vma; + if (!elf_link_output_sym (&finfo, NULL, &elfsym, o, NULL)) + goto error_return; + } if (i == SHN_LORESERVE - 1) i += SHN_HIRESERVE + 1 - SHN_LORESERVE; } diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index c32f594326b..7a901336a5f 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,76 @@ +2006-06-02 H.J. Lu + + PR ld/2723 + * ld-alpha/tlsbin.rd: Update for removal of some section syms. + * ld-alpha/tlsbinr.rd: Likewise. + * ld-alpha/tlspic.rd: Likewise. + * ld-cris/hiddef1.d: Likewise. + * ld-cris/libdso-2.d: Likewise. + * ld-elf/sec64k.exp: Likewise. + * ld-i386/tlsbin.rd: Likewise. + * ld-i386/tlsbindesc.rd: Likewise. + * ld-i386/tlsdesc.rd: Likewise. + * ld-i386/tlsgdesc.rd: Likewise. + * ld-i386/tlsnopic.rd: Likewise. + * ld-i386/tlspic.rd: Likewise. + * ld-ia64/tlsbin.rd: Likewise. + * ld-ia64/tlspic.rd: Likewise. + * ld-mmix/bpo-1.d: Likewise. + * ld-mmix/bpo-10.d: Likewise. + * ld-mmix/bpo-11.d: Likewise. + * ld-mmix/bpo-14.d: Likewise. + * ld-mmix/bpo-16.d: Likewise. + * ld-mmix/bpo-17.d: Likewise. + * ld-mmix/bpo-18.d: Likewise. + * ld-mmix/bpo-19.d: Likewise. + * ld-mmix/bpo-2.d: Likewise. + * ld-mmix/bpo-22.d: Likewise. + * ld-mmix/bpo-3.d: Likewise. + * ld-mmix/bpo-4.d: Likewise. + * ld-mmix/bpo-5.d: Likewise. + * ld-mmix/bpo-6.d: Likewise. + * ld-mmix/bpo-9.d: Likewise. + * ld-mmix/bspec1.d: Likewise. + * ld-mmix/bspec2.d: Likewise. + * ld-mmix/greg-1.d: Likewise. + * ld-mmix/greg-19.d: Likewise. + * ld-mmix/greg-2.d: Likewise. + * ld-mmix/greg-3.d: Likewise. + * ld-mmix/greg-4.d: Likewise. + * ld-mmix/greg-5.d: Likewise. + * ld-mmix/greg-5s.d: Likewise. + * ld-mmix/greg-6.d: Likewise. + * ld-mmix/greg-7.d: Likewise. + * ld-mmix/loc1.d: Likewise. + * ld-mmix/loc2.d: Likewise. + * ld-mmix/loc3.d: Likewise. + * ld-mmix/loc4.d: Likewise. + * ld-mmix/loc6.d: Likewise. + * ld-mmix/local1.d: Likewise. + * ld-mmix/local3.d: Likewise. + * ld-mmix/local5.d: Likewise. + * ld-mmix/local7.d: Likewise. + * ld-mmix/locdo-1.d: Likewise. + * ld-mmix/loct-1.d: Likewise. + * ld-mmix/locto-1.d: Likewise. + * ld-mmix/start-1.d: Likewise. + * ld-mmix/undef-3.d: Likewise. + * ld-powerpc/tlsexe32.r: Likewise. + * ld-powerpc/tlsso32.r: Likewise. + * ld-s390/tlsbin.rd: Likewise. + * ld-s390/tlspic.rd: Likewise. + * ld-sparc/tlssunbin32.rd: Likewise. + * ld-sparc/tlssunbin64.rd: Likewise. + * ld-sparc/tlssunnopic32.rd: Likewise. + * ld-sparc/tlssunnopic64.rd: Likewise. + * ld-sparc/tlssunpic32.rd: Likewise. + * ld-sparc/tlssunpic64.rd: Likewise. + * ld-x86-64/tlsbin.rd: Likewise. + * ld-x86-64/tlsbindesc.rd: Likewise. + * ld-x86-64/tlsdesc.rd: Likewise. + * ld-x86-64/tlsgdesc.rd: Likewise. + * ld-x86-64/tlspic.rd: Likewise. + 2006-05-31 H.J. Lu * ld-elf/binutils.exp: Make it Linux only. diff --git a/ld/testsuite/ld-alpha/tlsbin.rd b/ld/testsuite/ld-alpha/tlsbin.rd index 61865365f19..e92e55f3877 100644 --- a/ld/testsuite/ld-alpha/tlsbin.rd +++ b/ld/testsuite/ld-alpha/tlsbin.rd @@ -80,9 +80,6 @@ Symbol table '.symtab' contains [0-9]+ entries: [0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +11 [0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 [0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +14 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +16 [0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl1 [0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl2 [0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl3 diff --git a/ld/testsuite/ld-alpha/tlsbinr.rd b/ld/testsuite/ld-alpha/tlsbinr.rd index d55e6ca337f..4938a142d90 100644 --- a/ld/testsuite/ld-alpha/tlsbinr.rd +++ b/ld/testsuite/ld-alpha/tlsbinr.rd @@ -75,9 +75,6 @@ Symbol table '.symtab' contains [0-9]+ entries: [0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +11 [0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 [0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +14 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15 -[0-9 ]+: [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +16 [0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl1 [0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl2 [0-9 ]+: [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +9 sl3 diff --git a/ld/testsuite/ld-alpha/tlspic.rd b/ld/testsuite/ld-alpha/tlspic.rd index 38f5ea13c10..9de2a007edb 100644 --- a/ld/testsuite/ld-alpha/tlspic.rd +++ b/ld/testsuite/ld-alpha/tlspic.rd @@ -90,9 +90,6 @@ Symbol table '.symtab' contains [0-9]+ entries: .* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +10 .* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +11 .* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +12 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +13 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +14 -.* [0-9a-f]+ +0 SECTION LOCAL +DEFAULT +15 .* [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +8 sl1 .* [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +8 sl2 .* [0-9a-f]+ +0 TLS +LOCAL +DEFAULT +8 sl3 diff --git a/ld/testsuite/ld-cris/hiddef1.d b/ld/testsuite/ld-cris/hiddef1.d index de004303ef0..b3bd87dfab2 100644 --- a/ld/testsuite/ld-cris/hiddef1.d +++ b/ld/testsuite/ld-cris/hiddef1.d @@ -24,5 +24,5 @@ Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entries: #... Symbol table '\.dynsym' contains 6 entries: #... -Symbol table '\.symtab' contains 19 entries: +Symbol table '\.symtab' contains 16 entries: #pass diff --git a/ld/testsuite/ld-cris/libdso-2.d b/ld/testsuite/ld-cris/libdso-2.d index f67c7b071a5..01058782694 100644 --- a/ld/testsuite/ld-cris/libdso-2.d +++ b/ld/testsuite/ld-cris/libdso-2.d @@ -36,7 +36,7 @@ Symbol table '\.dynsym' contains 4 entries: 2: 0+ 0 OBJECT GLOBAL DEFAULT ABS TST1 3: 0+15c 0 FUNC GLOBAL DEFAULT 7 export_1@@TST1 -Symbol table '\.symtab' contains 21 entries: +Symbol table '\.symtab' contains 18 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 1 @@ -48,14 +48,11 @@ Symbol table '\.symtab' contains 21 entries: 7: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 7 8: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 8 9: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 9 - 10: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 10 - 11: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 11 - 12: [0-9a-f]+ 0 SECTION LOCAL DEFAULT 12 - 13: 0+216c 0 OBJECT LOCAL HIDDEN ABS _DYNAMIC - 14: 0+2204 0 NOTYPE LOCAL DEFAULT ABS __bss_start - 15: 0+2204 0 NOTYPE LOCAL DEFAULT ABS _edata - 16: 0+21f4 0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ - 17: 0+2220 0 NOTYPE LOCAL DEFAULT ABS _end - 18: 0+158 0 FUNC LOCAL DEFAULT 7 dsofn - 19: 0+ 0 OBJECT GLOBAL DEFAULT ABS TST1 - 20: 0+15c 0 FUNC GLOBAL DEFAULT 7 export_1 + 10: 0+216c 0 OBJECT LOCAL HIDDEN ABS _DYNAMIC + 11: 0+2204 0 NOTYPE LOCAL DEFAULT ABS __bss_start + 12: 0+2204 0 NOTYPE LOCAL DEFAULT ABS _edata + 13: 0+21f4 0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ + 14: 0+2220 0 NOTYPE LOCAL DEFAULT ABS _end + 15: 0+158 0 FUNC LOCAL DEFAULT 7 dsofn + 16: 0+ 0 OBJECT GLOBAL DEFAULT ABS TST1 + 17: 0+15c 0 FUNC GLOBAL DEFAULT 7 export_1 diff --git a/ld/testsuite/ld-elf/sec64k.exp b/ld/testsuite/ld-elf/sec64k.exp index bd66c1c5701..13ee33e7014 100644 --- a/ld/testsuite/ld-elf/sec64k.exp +++ b/ld/testsuite/ld-elf/sec64k.exp @@ -101,9 +101,9 @@ puts $ofd "#..." puts $ofd " \\\[65279\\\] (.rel\[a\]?)?\\.foo\\.\[0-9\]+ .*" puts $ofd " \\\[65536\\\] (.rel\[a\]?)?\\.foo\\.\[0-9\]+ .*" puts $ofd "#..." -puts $ofd " 680..: 0+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+68... " +puts $ofd " 340..: 0+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+68... " puts $ofd "#..." -puts $ofd " 680..: 0+4\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+\[23\] bar_1" +puts $ofd " 340..: 0+4\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+\[23\] bar_1" puts $ofd "#..." puts $ofd ".* bar_34000" puts $ofd "#..." @@ -132,7 +132,7 @@ puts $ofd "#..." puts $ofd " \\\[65279\\\] \\.foo\\.\[0-9\]+ .*" puts $ofd " \\\[65536\\\] \\.foo\\.\[0-9\]+ .*" puts $ofd "#..." -puts $ofd " 660..: 0+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+662.. " +puts $ofd " 660..: \[0-9a-f\]+\[ \]+0\[ \]+SECTION\[ \]+LOCAL\[ \]+DEFAULT\[ \]+662.. " puts $ofd "#..." puts $ofd " 660..: \[0-9a-f\]+\[ \]+0\[ \]+NOTYPE\[ \]+LOCAL\[ \]+DEFAULT\[ \]+\[0-9\] bar_1" puts $ofd "#..." diff --git a/ld/testsuite/ld-i386/tlsbin.rd b/ld/testsuite/ld-i386/tlsbin.rd index b4856260840..bd2edd1718f 100644 --- a/ld/testsuite/ld-i386/tlsbin.rd +++ b/ld/testsuite/ld-i386/tlsbin.rd @@ -86,7 +86,7 @@ Symbol table '.dynsym' contains 13 entries: +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG8 +[0-9]+: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT UND ___tls_get_addr -Symbol table '.symtab' contains 73 entries: +Symbol table '.symtab' contains 70 entries: +Num: +Value Size Type +Bind +Vis +Ndx Name +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +1 * @@ -102,9 +102,6 @@ Symbol table '.symtab' contains 73 entries: +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +11 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +13 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +14 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +15 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +16 * +[0-9]+: 00000020 +0 TLS +LOCAL DEFAULT +9 sl1 +[0-9]+: 00000024 +0 TLS +LOCAL DEFAULT +9 sl2 +[0-9]+: 00000028 +0 TLS +LOCAL DEFAULT +9 sl3 diff --git a/ld/testsuite/ld-i386/tlsbindesc.rd b/ld/testsuite/ld-i386/tlsbindesc.rd index 27d0670c993..9e2148e50bf 100644 --- a/ld/testsuite/ld-i386/tlsbindesc.rd +++ b/ld/testsuite/ld-i386/tlsbindesc.rd @@ -79,7 +79,7 @@ Symbol table '.dynsym' contains 12 entries: +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG8 -Symbol table '.symtab' contains 71 entries: +Symbol table '.symtab' contains 68 entries: +Num: +Value Size Type +Bind +Vis +Ndx Name +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +1 * @@ -93,9 +93,6 @@ Symbol table '.symtab' contains 71 entries: +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +9 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +10 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +11 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +13 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +14 * +[0-9]+: 00000020 +0 TLS +LOCAL DEFAULT +7 sl1 +[0-9]+: 00000024 +0 TLS +LOCAL DEFAULT +7 sl2 +[0-9]+: 00000028 +0 TLS +LOCAL DEFAULT +7 sl3 diff --git a/ld/testsuite/ld-i386/tlsdesc.rd b/ld/testsuite/ld-i386/tlsdesc.rd index 12fd5d4236b..1d4a6c2da67 100644 --- a/ld/testsuite/ld-i386/tlsdesc.rd +++ b/ld/testsuite/ld-i386/tlsdesc.rd @@ -97,7 +97,7 @@ Symbol table '.dynsym' contains 16 entries: +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end -Symbol table '.symtab' contains 54 entries: +Symbol table '.symtab' contains 51 entries: +Num: +Value Size Type +Bind +Vis +Ndx Name +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +1 * @@ -111,9 +111,6 @@ Symbol table '.symtab' contains 54 entries: +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +9 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +10 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +11 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +13 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +14 * +[0-9]+: 0+20 +0 TLS +LOCAL DEFAULT +7 sl1 +[0-9]+: 0+24 +0 TLS +LOCAL DEFAULT +7 sl2 +[0-9]+: 0+28 +0 TLS +LOCAL DEFAULT +7 sl3 diff --git a/ld/testsuite/ld-i386/tlsgdesc.rd b/ld/testsuite/ld-i386/tlsgdesc.rd index 9253d22cef1..08c30bc5767 100644 --- a/ld/testsuite/ld-i386/tlsgdesc.rd +++ b/ld/testsuite/ld-i386/tlsgdesc.rd @@ -76,7 +76,7 @@ Symbol table '.dynsym' contains 13 entries: +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end +[0-9]+: 0+ +0 NOTYPE GLOBAL DEFAULT UND ___tls_get_addr -Symbol table '.symtab' contains 27 entries: +Symbol table '.symtab' contains 24 entries: +Num: +Value Size Type +Bind +Vis +Ndx Name +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +1 * @@ -89,9 +89,6 @@ Symbol table '.symtab' contains 27 entries: +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +9 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +10 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +11 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +13 * +[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL HIDDEN ABS _DYNAMIC +[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG3 diff --git a/ld/testsuite/ld-i386/tlsnopic.rd b/ld/testsuite/ld-i386/tlsnopic.rd index d8dcc66357f..17bd77066fd 100644 --- a/ld/testsuite/ld-i386/tlsnopic.rd +++ b/ld/testsuite/ld-i386/tlsnopic.rd @@ -84,7 +84,7 @@ Symbol table '.dynsym' contains 12 entries: +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end -Symbol table '.symtab' contains 33 entries: +Symbol table '.symtab' contains 30 entries: +Num: +Value Size Type +Bind +Vis +Ndx Name +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +1 * @@ -96,9 +96,6 @@ Symbol table '.symtab' contains 33 entries: +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +9 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +10 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +11 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * +[0-9]+: 0+00 +0 TLS +LOCAL DEFAULT +6 bl1 +[0-9]+: 0+04 +0 TLS +LOCAL DEFAULT +6 bl2 +[0-9]+: 0+08 +0 TLS +LOCAL DEFAULT +6 bl3 diff --git a/ld/testsuite/ld-i386/tlspic.rd b/ld/testsuite/ld-i386/tlspic.rd index 890a4938efe..5109bce466f 100644 --- a/ld/testsuite/ld-i386/tlspic.rd +++ b/ld/testsuite/ld-i386/tlspic.rd @@ -101,7 +101,7 @@ Symbol table '.dynsym' contains 17 entries: +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end +[0-9]+: 0+ +0 NOTYPE GLOBAL DEFAULT UND ___tls_get_addr -Symbol table '.symtab' contains 55 entries: +Symbol table '.symtab' contains 52 entries: +Num: +Value Size Type +Bind +Vis +Ndx Name +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +1 * @@ -116,9 +116,6 @@ Symbol table '.symtab' contains 55 entries: +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +10 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +11 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +13 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +14 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +15 * +[0-9]+: 0+20 +0 TLS +LOCAL DEFAULT +8 sl1 +[0-9]+: 0+24 +0 TLS +LOCAL DEFAULT +8 sl2 +[0-9]+: 0+28 +0 TLS +LOCAL DEFAULT +8 sl3 diff --git a/ld/testsuite/ld-ia64/tlsbin.rd b/ld/testsuite/ld-ia64/tlsbin.rd index 1fff20301be..48343383897 100644 --- a/ld/testsuite/ld-ia64/tlsbin.rd +++ b/ld/testsuite/ld-ia64/tlsbin.rd @@ -66,7 +66,7 @@ Symbol table '.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL DEFAULT +ABS _edata .* NOTYPE +GLOBAL DEFAULT +ABS _end -Symbol table '.symtab' contains 69 entries: +Symbol table '.symtab' contains 66 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND * .* SECTION LOCAL +DEFAULT +1 * @@ -84,9 +84,6 @@ Symbol table '.symtab' contains 69 entries: .* SECTION LOCAL +DEFAULT +13 * .* SECTION LOCAL +DEFAULT +14 * .* SECTION LOCAL +DEFAULT +15 * -.* SECTION LOCAL +DEFAULT +16 * -.* SECTION LOCAL +DEFAULT +17 * -.* SECTION LOCAL +DEFAULT +18 * .* TLS +LOCAL +DEFAULT +11 sl1 .* TLS +LOCAL +DEFAULT +11 sl2 .* TLS +LOCAL +DEFAULT +11 sl3 diff --git a/ld/testsuite/ld-ia64/tlspic.rd b/ld/testsuite/ld-ia64/tlspic.rd index c1efeb54697..5425d53ef5c 100644 --- a/ld/testsuite/ld-ia64/tlspic.rd +++ b/ld/testsuite/ld-ia64/tlspic.rd @@ -78,7 +78,7 @@ Symbol table '.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL DEFAULT +ABS _edata .* NOTYPE +GLOBAL DEFAULT +ABS _end -Symbol table '.symtab' contains 57 entries: +Symbol table '.symtab' contains 54 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND * .* SECTION LOCAL +DEFAULT +1 * @@ -95,9 +95,6 @@ Symbol table '.symtab' contains 57 entries: .* SECTION LOCAL +DEFAULT +12 * .* SECTION LOCAL +DEFAULT +13 * .* SECTION LOCAL +DEFAULT +14 * -.* SECTION LOCAL +DEFAULT +15 * -.* SECTION LOCAL +DEFAULT +16 * -.* SECTION LOCAL +DEFAULT +17 * .* TLS +LOCAL +DEFAULT +10 sl1 .* TLS +LOCAL +DEFAULT +10 sl2 .* TLS +LOCAL +DEFAULT +10 sl3 diff --git a/ld/testsuite/ld-mmix/bpo-1.d b/ld/testsuite/ld-mmix/bpo-1.d index 5b07e5f4253..97bc33d9691 100644 --- a/ld/testsuite/ld-mmix/bpo-1.d +++ b/ld/testsuite/ld-mmix/bpo-1.d @@ -11,9 +11,6 @@ SYMBOL TABLE: 0000000000000000 l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 l \.text 0+ x 0+ g \.text 0+ _start #... diff --git a/ld/testsuite/ld-mmix/bpo-10.d b/ld/testsuite/ld-mmix/bpo-10.d index dfd9858176c..90908cb2ddd 100644 --- a/ld/testsuite/ld-mmix/bpo-10.d +++ b/ld/testsuite/ld-mmix/bpo-10.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.init 0+ (|\.init) 0+7f8 l +d \.MMIX.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ l \.init 0+ _start 2000000000000000 g \*ABS\* 0+ __bss_start 2000000000000000 g \*ABS\* 0+ _edata diff --git a/ld/testsuite/ld-mmix/bpo-11.d b/ld/testsuite/ld-mmix/bpo-11.d index 1adeb1d74c5..5925cff51ee 100644 --- a/ld/testsuite/ld-mmix/bpo-11.d +++ b/ld/testsuite/ld-mmix/bpo-11.d @@ -14,9 +14,6 @@ SYMBOL TABLE: 0+ l d \.init 0+ (|\.init) 0+10 l d \.text 0+ (|\.text) 0+7e8 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ l \.init 0+ _start 0+14 g \.text 0+ x 0+10 g \.text 0+ x2 diff --git a/ld/testsuite/ld-mmix/bpo-14.d b/ld/testsuite/ld-mmix/bpo-14.d index e57412c31a4..e19e4a8528d 100644 --- a/ld/testsuite/ld-mmix/bpo-14.d +++ b/ld/testsuite/ld-mmix/bpo-14.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ g \.text 0+ _start 0+8 g \.text 0+ areg #... diff --git a/ld/testsuite/ld-mmix/bpo-16.d b/ld/testsuite/ld-mmix/bpo-16.d index a4022e1679b..d7e372c75f2 100644 --- a/ld/testsuite/ld-mmix/bpo-16.d +++ b/ld/testsuite/ld-mmix/bpo-16.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ g \.text 0+ _start 0+c g \.text 0+ areg #... diff --git a/ld/testsuite/ld-mmix/bpo-17.d b/ld/testsuite/ld-mmix/bpo-17.d index 6c8fe34fc94..f70b852339d 100644 --- a/ld/testsuite/ld-mmix/bpo-17.d +++ b/ld/testsuite/ld-mmix/bpo-17.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ g \.text 0+ _start 0+10 g \.text 0+ areg #... diff --git a/ld/testsuite/ld-mmix/bpo-18.d b/ld/testsuite/ld-mmix/bpo-18.d index 96fda3b621b..3d1d2f11a94 100644 --- a/ld/testsuite/ld-mmix/bpo-18.d +++ b/ld/testsuite/ld-mmix/bpo-18.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+100 l d \.text 0+ (|\.text) 4000000000001060 l d \.text\.away 0+ (|\.text\.away) 0+7e0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 4000000000001064 l \.text\.away 0+ x 0+100 g \.text 0+ x 4000000000001060 g \.text\.away 0+ Main diff --git a/ld/testsuite/ld-mmix/bpo-19.d b/ld/testsuite/ld-mmix/bpo-19.d index 870dba2369f..d8ee554012b 100644 --- a/ld/testsuite/ld-mmix/bpo-19.d +++ b/ld/testsuite/ld-mmix/bpo-19.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+100 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) #... 0+ g \.text 0+ _start #... diff --git a/ld/testsuite/ld-mmix/bpo-2.d b/ld/testsuite/ld-mmix/bpo-2.d index 4781175e852..7206cab2675 100644 --- a/ld/testsuite/ld-mmix/bpo-2.d +++ b/ld/testsuite/ld-mmix/bpo-2.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7e8 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 l \.text 0+ x 0+ g \.text 0+ _start 0+fe g \*REG\* 0+ areg diff --git a/ld/testsuite/ld-mmix/bpo-22.d b/ld/testsuite/ld-mmix/bpo-22.d index 15aea853589..c6a13145583 100644 --- a/ld/testsuite/ld-mmix/bpo-22.d +++ b/ld/testsuite/ld-mmix/bpo-22.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0000000000000000 l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 l \.text 0+ x 0+ g \.text 0+ Main 0+ g \.text 0+ _start diff --git a/ld/testsuite/ld-mmix/bpo-3.d b/ld/testsuite/ld-mmix/bpo-3.d index 00fb7a9b23a..e1435ef35eb 100644 --- a/ld/testsuite/ld-mmix/bpo-3.d +++ b/ld/testsuite/ld-mmix/bpo-3.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 l \.text 0+ x 0+ g \.text 0+ _start #... diff --git a/ld/testsuite/ld-mmix/bpo-4.d b/ld/testsuite/ld-mmix/bpo-4.d index 1e7c9036aa3..372e7e6acbe 100644 --- a/ld/testsuite/ld-mmix/bpo-4.d +++ b/ld/testsuite/ld-mmix/bpo-4.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7e0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+8 l \.text 0+ x 0+ g \.text 0+ _start 0+fe g \*REG\* 0+ areg diff --git a/ld/testsuite/ld-mmix/bpo-5.d b/ld/testsuite/ld-mmix/bpo-5.d index 04600281561..a1a192d6169 100644 --- a/ld/testsuite/ld-mmix/bpo-5.d +++ b/ld/testsuite/ld-mmix/bpo-5.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7e8 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 l \.text 0+ x 0+ g \.text 0+ _start #... diff --git a/ld/testsuite/ld-mmix/bpo-6.d b/ld/testsuite/ld-mmix/bpo-6.d index 39c3a912a41..a5978c93502 100644 --- a/ld/testsuite/ld-mmix/bpo-6.d +++ b/ld/testsuite/ld-mmix/bpo-6.d @@ -11,9 +11,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+100 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) #... 0+ g \.text 0+ _start #... diff --git a/ld/testsuite/ld-mmix/bpo-9.d b/ld/testsuite/ld-mmix/bpo-9.d index f230b195aea..16d00176964 100644 --- a/ld/testsuite/ld-mmix/bpo-9.d +++ b/ld/testsuite/ld-mmix/bpo-9.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+ l d \.init 0+ (|\.init) 0+10 l d \.text 0+ (|\.text) 0+7e8 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ l \.init 0+ _start 0+14 g \.text 0+ x 0+10 g \.text 0+ x2 diff --git a/ld/testsuite/ld-mmix/bspec1.d b/ld/testsuite/ld-mmix/bspec1.d index ce83480f286..79d53d42f09 100644 --- a/ld/testsuite/ld-mmix/bspec1.d +++ b/ld/testsuite/ld-mmix/bspec1.d @@ -17,8 +17,8 @@ Section Headers: \[ 3\] \.shstrtab STRTAB 0+ 0+80 0+33 0+ 0 0 1 \[ 4\] \.symtab SYMTAB 0+ 0+238 - 0+120 0+18 5 6 8 - \[ 5\] \.strtab STRTAB 0+ 0+358 + 0+d8 0+18 5 3 8 + \[ 5\] \.strtab STRTAB 0+ 0+310 0+2d 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) @@ -27,16 +27,13 @@ Key to Flags: There are no relocations in this file\. -Symbol table '\.symtab' contains 12 entries: +Symbol table '\.symtab' contains 9 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 2: 0+ 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 SECTION LOCAL DEFAULT 5 - 6: 0+ 0 FUNC GLOBAL DEFAULT 1 Main - 7: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start + 3: 0+ 0 FUNC GLOBAL DEFAULT 1 Main + 4: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/bspec2.d b/ld/testsuite/ld-mmix/bspec2.d index b5e683b9110..98296e729e7 100644 --- a/ld/testsuite/ld-mmix/bspec2.d +++ b/ld/testsuite/ld-mmix/bspec2.d @@ -22,8 +22,8 @@ Section Headers: \[ 4\] \.shstrtab STRTAB 0+ 0+88 0+45 0+ 0 0 1 \[ 5\] \.symtab SYMTAB 0+ 0+290 - 0+150 0+18 6 7 8 - \[ 6\] \.strtab STRTAB 0+ 0+3e0 + 0+108 0+18 6 4 8 + \[ 6\] \.strtab STRTAB 0+ 0+398 0+32 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) @@ -32,18 +32,15 @@ Key to Flags: There are no relocations in this file\. -Symbol table '\.symtab' contains 14 entries: +Symbol table '\.symtab' contains 11 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 2: 0+ 0 SECTION LOCAL DEFAULT 2 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 SECTION LOCAL DEFAULT 5 - 6: 0+ 0 SECTION LOCAL DEFAULT 6 - 7: 0+ 0 FUNC GLOBAL DEFAULT 1 Main - 8: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 - 9: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start + 4: 0+ 0 FUNC GLOBAL DEFAULT 1 Main + 5: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 + 6: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/greg-1.d b/ld/testsuite/ld-mmix/greg-1.d index b5a42ca663b..d64ce0a684e 100644 --- a/ld/testsuite/ld-mmix/greg-1.d +++ b/ld/testsuite/ld-mmix/greg-1.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+c g \.text 0+ _start 0+fe g \*REG\* 0+ areg #... diff --git a/ld/testsuite/ld-mmix/greg-19.d b/ld/testsuite/ld-mmix/greg-19.d index b4a90251c51..44681617370 100644 --- a/ld/testsuite/ld-mmix/greg-19.d +++ b/ld/testsuite/ld-mmix/greg-19.d @@ -9,9 +9,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+ g F \.text 0+ Main 0+ g \.text 0+ _start 0+fe g \*REG\* 0+ areg diff --git a/ld/testsuite/ld-mmix/greg-2.d b/ld/testsuite/ld-mmix/greg-2.d index baf364743bb..ab8fbb2a8f3 100644 --- a/ld/testsuite/ld-mmix/greg-2.d +++ b/ld/testsuite/ld-mmix/greg-2.d @@ -16,9 +16,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7e0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+fe g \*REG\* 0+ b 0+20 g \.text 0+ _start 0+fc g \*REG\* 0+ areg diff --git a/ld/testsuite/ld-mmix/greg-3.d b/ld/testsuite/ld-mmix/greg-3.d index 0e55087f181..25189c22daf 100644 --- a/ld/testsuite/ld-mmix/greg-3.d +++ b/ld/testsuite/ld-mmix/greg-3.d @@ -16,9 +16,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+10 g \.text 0+ _start 0+fe g \*REG\* 0+ areg #... diff --git a/ld/testsuite/ld-mmix/greg-4.d b/ld/testsuite/ld-mmix/greg-4.d index 67715ed134c..8b882c1f6a6 100644 --- a/ld/testsuite/ld-mmix/greg-4.d +++ b/ld/testsuite/ld-mmix/greg-4.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+18 g \.text 0+ _start 0+fe g \*REG\* 0+ areg #... diff --git a/ld/testsuite/ld-mmix/greg-5.d b/ld/testsuite/ld-mmix/greg-5.d index 81f4fa5b6d5..67e50d295d9 100644 --- a/ld/testsuite/ld-mmix/greg-5.d +++ b/ld/testsuite/ld-mmix/greg-5.d @@ -13,9 +13,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+14 g \.text 0+ _start 0+fe g \*REG\* 0+ areg #... diff --git a/ld/testsuite/ld-mmix/greg-5s.d b/ld/testsuite/ld-mmix/greg-5s.d index 30d3b04de0b..84f59517bbc 100644 --- a/ld/testsuite/ld-mmix/greg-5s.d +++ b/ld/testsuite/ld-mmix/greg-5s.d @@ -12,9 +12,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+7f0 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 g \.text 0+ _start 0+fe g \*REG\* 0+ areg #... diff --git a/ld/testsuite/ld-mmix/greg-6.d b/ld/testsuite/ld-mmix/greg-6.d index 2cf163e6181..e4df905a1db 100644 --- a/ld/testsuite/ld-mmix/greg-6.d +++ b/ld/testsuite/ld-mmix/greg-6.d @@ -41,9 +41,6 @@ SYMBOL TABLE: 0+0 l d \.text 0+ (|\.text) 0+100 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+20 l \*REG\* 0+ P 0+21 l \*REG\* 0+ O 0+22 l \*REG\* 0+ N diff --git a/ld/testsuite/ld-mmix/greg-7.d b/ld/testsuite/ld-mmix/greg-7.d index 13d0aa23e91..a5d1692e951 100644 --- a/ld/testsuite/ld-mmix/greg-7.d +++ b/ld/testsuite/ld-mmix/greg-7.d @@ -41,9 +41,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 0+100 l d \.MMIX\.reg_contents 0+ (|\.MMIX\.reg_contents) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+21 l \*REG\* 0+ P 0+22 l \*REG\* 0+ O 0+23 l \*REG\* 0+ N diff --git a/ld/testsuite/ld-mmix/loc1.d b/ld/testsuite/ld-mmix/loc1.d index 7ecf491531e..cac26892d71 100644 --- a/ld/testsuite/ld-mmix/loc1.d +++ b/ld/testsuite/ld-mmix/loc1.d @@ -8,9 +8,6 @@ SYMBOL TABLE: 0+1000 l d \.text 0+ (|\.text) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+1000 g \.text 0+ loc1 0+1000 g \*ABS\* 0+ __\.MMIX\.start\.\.text 2000000000000000 g \*ABS\* 0+ __bss_start diff --git a/ld/testsuite/ld-mmix/loc2.d b/ld/testsuite/ld-mmix/loc2.d index c4e8cc9a15a..7d44c2241a8 100644 --- a/ld/testsuite/ld-mmix/loc2.d +++ b/ld/testsuite/ld-mmix/loc2.d @@ -9,9 +9,6 @@ SYMBOL TABLE: 0+1000 l d \.text 0+ (|\.text) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+1004 g \.text 0+ _start 0+1000 g \.text 0+ loc1 0+1000 g \*ABS\* 0+ __\.MMIX\.start\.\.text diff --git a/ld/testsuite/ld-mmix/loc3.d b/ld/testsuite/ld-mmix/loc3.d index 7969d001091..ff0fe8ada2a 100644 --- a/ld/testsuite/ld-mmix/loc3.d +++ b/ld/testsuite/ld-mmix/loc3.d @@ -9,9 +9,6 @@ SYMBOL TABLE: 0+1000 l d \.text 0+ (|\.text) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+1000 g \.text 0+ _start 0+1004 g \.text 0+ loc1 0+1000 g \*ABS\* 0+ __\.MMIX\.start\.\.text diff --git a/ld/testsuite/ld-mmix/loc4.d b/ld/testsuite/ld-mmix/loc4.d index 15333de542a..34428a98458 100644 --- a/ld/testsuite/ld-mmix/loc4.d +++ b/ld/testsuite/ld-mmix/loc4.d @@ -11,9 +11,6 @@ SYMBOL TABLE: 0+1000 l d \.text 0+ (|\.text) 2000000000000000 l d \.data 0+ (|\.data) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 2000000000000000 l \.data 0+ xx 0+1004 g F \.text 0+ Main 2000000000000000 g \*ABS\* 0+ __\.MMIX\.start\.\.data diff --git a/ld/testsuite/ld-mmix/loc6.d b/ld/testsuite/ld-mmix/loc6.d index 030ba6c2d51..425edaee076 100644 --- a/ld/testsuite/ld-mmix/loc6.d +++ b/ld/testsuite/ld-mmix/loc6.d @@ -10,9 +10,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 2000000000000200 l d \.data 0+ (|\.data) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 2000000000000200 g \.data 0+ dloc1 2000000000000200 g \*ABS\* 0+ __\.MMIX\.start\.\.data 0+ g \.text 0+ _start diff --git a/ld/testsuite/ld-mmix/local1.d b/ld/testsuite/ld-mmix/local1.d index 3e8ecaa1564..fc08da774fd 100644 --- a/ld/testsuite/ld-mmix/local1.d +++ b/ld/testsuite/ld-mmix/local1.d @@ -24,26 +24,23 @@ Section Headers: \[ 3\] \.shstrtab STRTAB 0+ 0+90 0+34 0+ 0 0 1 \[ 4\] \.symtab SYMTAB 0+ 0+248 - 0+150 0+18 5 8 8 - \[ 5\] \.strtab STRTAB 0+ 0+398 + 0+108 0+18 5 5 8 + \[ 5\] \.strtab STRTAB 0+ 0+350 0+32 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) I \(info\), L \(link order\), G \(group\), x \(unknown\) O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) -Symbol table '\.symtab' contains 14 entries: +Symbol table '\.symtab' contains 11 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 2: 0+7e8 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 SECTION LOCAL DEFAULT 5 - 6: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 7: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 8: 0+fc 0 NOTYPE GLOBAL DEFAULT PRC\[0xff00\] ext1 - 9: 0+4 0 NOTYPE GLOBAL DEFAULT 1 _start + 3: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 4: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 5: 0+fc 0 NOTYPE GLOBAL DEFAULT PRC\[0xff00\] ext1 + 6: 0+4 0 NOTYPE GLOBAL DEFAULT 1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/local3.d b/ld/testsuite/ld-mmix/local3.d index db545913cc4..62db6c34241 100644 --- a/ld/testsuite/ld-mmix/local3.d +++ b/ld/testsuite/ld-mmix/local3.d @@ -22,26 +22,23 @@ Section Headers: \[ 3\] \.shstrtab STRTAB 0+ 0+90 0+34 0+ 0 0 1 \[ 4\] \.symtab SYMTAB 0+ 0+248 - 0+150 0+18 5 8 8 - \[ 5\] \.strtab STRTAB 0+ 0+398 + 0+108 0+18 5 5 8 + \[ 5\] \.strtab STRTAB 0+ 0+350 0+32 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) I \(info\), L \(link order\), G \(group\), x \(unknown\) O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) -Symbol table '\.symtab' contains 14 entries: +Symbol table '\.symtab' contains 11 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 2: 0+7e8 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 SECTION LOCAL DEFAULT 5 - 6: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 7: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 8: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 - 9: 0+4 0 NOTYPE GLOBAL DEFAULT 1 _start + 3: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 4: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 5: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 + 6: 0+4 0 NOTYPE GLOBAL DEFAULT 1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/local5.d b/ld/testsuite/ld-mmix/local5.d index 37dc0f569f6..955c3fada77 100644 --- a/ld/testsuite/ld-mmix/local5.d +++ b/ld/testsuite/ld-mmix/local5.d @@ -23,26 +23,23 @@ Section Headers: \[ 3\] \.shstrtab STRTAB 0+ 0+94 0+34 0+ 0 0 1 \[ 4\] \.symtab SYMTAB 0+ 0+248 - 0+150 0+18 5 8 8 - \[ 5\] \.strtab STRTAB 0+ 0+398 + 0+108 0+18 5 5 8 + \[ 5\] \.strtab STRTAB 0+ 0+350 0+32 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) I \(info\), L \(link order\), G \(group\), x \(unknown\) O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) -Symbol table '\.symtab' contains 14 entries: +Symbol table '\.symtab' contains 11 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 2: 0+7e8 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 SECTION LOCAL DEFAULT 5 - 6: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 7: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 8: 0+fc 0 NOTYPE GLOBAL DEFAULT PRC\[0xff00\] ext1 - 9: 0+8 0 NOTYPE GLOBAL DEFAULT 1 _start + 3: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 4: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 5: 0+fc 0 NOTYPE GLOBAL DEFAULT PRC\[0xff00\] ext1 + 6: 0+8 0 NOTYPE GLOBAL DEFAULT 1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/local7.d b/ld/testsuite/ld-mmix/local7.d index 2407fcdfb19..0109d138003 100644 --- a/ld/testsuite/ld-mmix/local7.d +++ b/ld/testsuite/ld-mmix/local7.d @@ -24,26 +24,23 @@ Section Headers: \[ 3\] \.shstrtab STRTAB 0+ 0+94 0+34 0+ 0 0 1 \[ 4\] \.symtab SYMTAB 0+ 0+248 - 0+150 0+18 5 8 8 - \[ 5\] \.strtab STRTAB 0+ 0+398 + 0+108 0+18 5 5 8 + \[ 5\] \.strtab STRTAB 0+ 0+350 0+32 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) I \(info\), L \(link order\), G \(group\), x \(unknown\) O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) -Symbol table '\.symtab' contains 14 entries: +Symbol table '\.symtab' contains 11 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 2: 0+7e8 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 SECTION LOCAL DEFAULT 5 - 6: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 7: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym - 8: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 - 9: 0+8 0 NOTYPE GLOBAL DEFAULT 1 _start + 3: 0+fd 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 4: 0+fe 0 NOTYPE LOCAL DEFAULT PRC\[0xff00\] lsym + 5: 0+fc 0 NOTYPE GLOBAL DEFAULT ABS ext1 + 6: 0+8 0 NOTYPE GLOBAL DEFAULT 1 _start #... Hex dump of section '\.text': diff --git a/ld/testsuite/ld-mmix/locdo-1.d b/ld/testsuite/ld-mmix/locdo-1.d index 2e8409fddd4..4a167350675 100644 --- a/ld/testsuite/ld-mmix/locdo-1.d +++ b/ld/testsuite/ld-mmix/locdo-1.d @@ -8,9 +8,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) 2000000000000008 l d \.data 0+ (|\.data) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 2000000000000008 g \*ABS\* 0+ __\.MMIX\.start\.\.data 2000000000000008 g \.data 0+ od 0+ g \.text 0+ _start diff --git a/ld/testsuite/ld-mmix/loct-1.d b/ld/testsuite/ld-mmix/loct-1.d index 96b6a1451a7..24f4112de66 100644 --- a/ld/testsuite/ld-mmix/loct-1.d +++ b/ld/testsuite/ld-mmix/loct-1.d @@ -7,9 +7,6 @@ SYMBOL TABLE: 0+1004 l d \.text 0+ (|\.text) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+1004 l \.text 0+ t 0+100c g \.text 0+ _start 0+1004 g \*ABS\* 0+ __\.MMIX\.start\.\.text diff --git a/ld/testsuite/ld-mmix/locto-1.d b/ld/testsuite/ld-mmix/locto-1.d index 08e665273b3..5c5c391edac 100644 --- a/ld/testsuite/ld-mmix/locto-1.d +++ b/ld/testsuite/ld-mmix/locto-1.d @@ -7,9 +7,6 @@ SYMBOL TABLE: 0+1008 l d \.text 0+ (|\.text) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+1008 g \.text 0+ od 0+1010 g \.text 0+ _start 0+1008 g \*ABS\* 0+ __\.MMIX\.start\.\.text diff --git a/ld/testsuite/ld-mmix/start-1.d b/ld/testsuite/ld-mmix/start-1.d index 13fdbdc48ca..37c23d6ed4f 100644 --- a/ld/testsuite/ld-mmix/start-1.d +++ b/ld/testsuite/ld-mmix/start-1.d @@ -6,9 +6,6 @@ SYMBOL TABLE: 0+ l d \.text 0+ (|\.text) -0+ l d \*ABS\* 0+ (|\.shstrtab) -0+ l d \*ABS\* 0+ (|\.symtab) -0+ l d \*ABS\* 0+ (|\.strtab) 0+4 g \.text 0+ _start 2000000000000000 g \*ABS\* 0+ __bss_start 2000000000000000 g \*ABS\* 0+ _edata diff --git a/ld/testsuite/ld-mmix/undef-3.d b/ld/testsuite/ld-mmix/undef-3.d index a17b9687742..5b3ce98ea7d 100644 --- a/ld/testsuite/ld-mmix/undef-3.d +++ b/ld/testsuite/ld-mmix/undef-3.d @@ -14,24 +14,21 @@ Section Headers: \[ 2\] \.shstrtab STRTAB 0+ 0+7c 0+21 0+ 0 0 1 \[ 3\] \.symtab SYMTAB 0+ 0+1e0 - 0+108 0+18 4 5 8 - \[ 4\] \.strtab STRTAB 0+ 0+2e8 + 0+c0 0+18 4 2 8 + \[ 4\] \.strtab STRTAB 0+ 0+2a0 0+2f 0+ 0 0 1 Key to Flags: W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) I \(info\), L \(link order\), G \(group\), x \(unknown\) O \(extra OS processing required\) o \(OS specific\), p \(processor specific\) -Symbol table '\.symtab' contains 11 entries: +Symbol table '\.symtab' contains 8 entries: Num: Value Size Type Bind Vis Ndx Name 0: 0+ 0 NOTYPE LOCAL DEFAULT UND 1: 0+ 0 SECTION LOCAL DEFAULT 1 - 2: 0+ 0 SECTION LOCAL DEFAULT 2 - 3: 0+ 0 SECTION LOCAL DEFAULT 3 - 4: 0+ 0 SECTION LOCAL DEFAULT 4 - 5: 0+ 0 NOTYPE GLOBAL DEFAULT UND undefd - 6: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start - 7: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS __bss_start - 8: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS _edata - 9: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS _end - 10: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start\. + 2: 0+ 0 NOTYPE GLOBAL DEFAULT UND undefd + 3: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start + 4: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS __bss_start + 5: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS _edata + 6: 2000000000000000 0 NOTYPE GLOBAL DEFAULT ABS _end + 7: 0+ 0 NOTYPE GLOBAL DEFAULT 1 _start\. diff --git a/ld/testsuite/ld-powerpc/tlsexe32.r b/ld/testsuite/ld-powerpc/tlsexe32.r index aff95b7246c..ed388ef46d8 100644 --- a/ld/testsuite/ld-powerpc/tlsexe32.r +++ b/ld/testsuite/ld-powerpc/tlsexe32.r @@ -70,7 +70,7 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL DEFAULT +ABS _edata .* NOTYPE +GLOBAL DEFAULT +ABS _end -Symbol table '\.symtab' contains 40 entries: +Symbol table '\.symtab' contains 37 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND .* SECTION LOCAL +DEFAULT +1 @@ -85,9 +85,6 @@ Symbol table '\.symtab' contains 40 entries: .* SECTION LOCAL +DEFAULT +10 .* SECTION LOCAL +DEFAULT +11 .* SECTION LOCAL +DEFAULT +12 -.* SECTION LOCAL +DEFAULT +13 -.* SECTION LOCAL +DEFAULT +14 -.* SECTION LOCAL +DEFAULT +15 .* TLS +LOCAL +DEFAULT +8 gd4 .* TLS +LOCAL +DEFAULT +8 ld4 .* TLS +LOCAL +DEFAULT +8 ld5 diff --git a/ld/testsuite/ld-powerpc/tlsso32.r b/ld/testsuite/ld-powerpc/tlsso32.r index c0c120c635b..7044c356e0a 100644 --- a/ld/testsuite/ld-powerpc/tlsso32.r +++ b/ld/testsuite/ld-powerpc/tlsso32.r @@ -90,7 +90,7 @@ Symbol table '\.dynsym' contains [0-9]+ entries: .* TLS +GLOBAL DEFAULT +8 gd0 .* TLS +GLOBAL DEFAULT +8 ie0 -Symbol table '\.symtab' contains 39 entries: +Symbol table '\.symtab' contains 36 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND .* SECTION LOCAL +DEFAULT +1 @@ -104,9 +104,6 @@ Symbol table '\.symtab' contains 39 entries: .* SECTION LOCAL +DEFAULT +9 .* SECTION LOCAL +DEFAULT +10 .* SECTION LOCAL +DEFAULT +11 -.* SECTION LOCAL +DEFAULT +12 -.* SECTION LOCAL +DEFAULT +13 -.* SECTION LOCAL +DEFAULT +14 .* TLS +LOCAL +DEFAULT +7 gd4 .* TLS +LOCAL +DEFAULT +7 ld4 .* TLS +LOCAL +DEFAULT +7 ld5 diff --git a/ld/testsuite/ld-s390/tlsbin.rd b/ld/testsuite/ld-s390/tlsbin.rd index 1fa3469c763..ce98d4fd7f2 100644 --- a/ld/testsuite/ld-s390/tlsbin.rd +++ b/ld/testsuite/ld-s390/tlsbin.rd @@ -76,7 +76,7 @@ Symbol table '.dynsym' contains [0-9]+ entries: .* NOTYPE GLOBAL DEFAULT ABS _edata .* NOTYPE GLOBAL DEFAULT ABS _end -Symbol table '.symtab' contains 68 entries: +Symbol table '.symtab' contains 65 entries: +Num: +Value Size Type +Bind +Vis +Ndx Name .* NOTYPE LOCAL DEFAULT UND .* SECTION LOCAL DEFAULT +1 @@ -91,9 +91,6 @@ Symbol table '.symtab' contains 68 entries: .* SECTION LOCAL DEFAULT +10 .* SECTION LOCAL DEFAULT +11 .* SECTION LOCAL DEFAULT +12 -.* SECTION LOCAL DEFAULT +13 -.* SECTION LOCAL DEFAULT +14 -.* SECTION LOCAL DEFAULT +15 .* TLS +LOCAL DEFAULT +9 sl1 .* TLS +LOCAL DEFAULT +9 sl2 .* TLS +LOCAL DEFAULT +9 sl3 diff --git a/ld/testsuite/ld-s390/tlspic.rd b/ld/testsuite/ld-s390/tlspic.rd index c8ddd911ace..570d467541a 100644 --- a/ld/testsuite/ld-s390/tlspic.rd +++ b/ld/testsuite/ld-s390/tlspic.rd @@ -88,7 +88,7 @@ Symbol table '.dynsym' contains [0-9]+ entries: .* NOTYPE GLOBAL DEFAULT ABS _edata .* NOTYPE GLOBAL DEFAULT ABS _end -Symbol table '.symtab' contains 54 entries: +Symbol table '.symtab' contains 51 entries: +Num: +Value Size Type +Bind +Vis +Ndx Name .* NOTYPE LOCAL DEFAULT UND .* SECTION LOCAL DEFAULT +1 @@ -102,9 +102,6 @@ Symbol table '.symtab' contains 54 entries: .* SECTION LOCAL DEFAULT +9 .* SECTION LOCAL DEFAULT +10 .* SECTION LOCAL DEFAULT +11 -.* SECTION LOCAL DEFAULT +12 -.* SECTION LOCAL DEFAULT +13 -.* SECTION LOCAL DEFAULT +14 .* TLS +LOCAL DEFAULT +8 sl1 .* TLS +LOCAL DEFAULT +8 sl2 .* TLS +LOCAL DEFAULT +8 sl3 diff --git a/ld/testsuite/ld-sparc/tlssunbin32.rd b/ld/testsuite/ld-sparc/tlssunbin32.rd index 4869131c9d2..f382806cf90 100644 --- a/ld/testsuite/ld-sparc/tlssunbin32.rd +++ b/ld/testsuite/ld-sparc/tlssunbin32.rd @@ -58,7 +58,7 @@ Symbol table '.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL DEFAULT +ABS _edata .* NOTYPE +GLOBAL DEFAULT +ABS _end -Symbol table '.symtab' contains 67 entries: +Symbol table '.symtab' contains 64 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND * .* SECTION LOCAL +DEFAULT +1 * @@ -71,9 +71,6 @@ Symbol table '.symtab' contains 67 entries: .* SECTION LOCAL +DEFAULT +8 * .* SECTION LOCAL +DEFAULT +9 * .* SECTION LOCAL +DEFAULT +10 * -.* SECTION LOCAL +DEFAULT +11 * -.* SECTION LOCAL +DEFAULT +12 * -.* SECTION LOCAL +DEFAULT +13 * .* TLS +LOCAL +DEFAULT +7 sl1 .* TLS +LOCAL +DEFAULT +7 sl2 .* TLS +LOCAL +DEFAULT +7 sl3 diff --git a/ld/testsuite/ld-sparc/tlssunbin64.rd b/ld/testsuite/ld-sparc/tlssunbin64.rd index 4ce130b7250..d7779724701 100644 --- a/ld/testsuite/ld-sparc/tlssunbin64.rd +++ b/ld/testsuite/ld-sparc/tlssunbin64.rd @@ -58,7 +58,7 @@ Symbol table '.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL DEFAULT +ABS _edata .* NOTYPE +GLOBAL DEFAULT +ABS _end -Symbol table '.symtab' contains 67 entries: +Symbol table '.symtab' contains 64 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND * .* SECTION LOCAL +DEFAULT +1 * @@ -71,9 +71,6 @@ Symbol table '.symtab' contains 67 entries: .* SECTION LOCAL +DEFAULT +8 * .* SECTION LOCAL +DEFAULT +9 * .* SECTION LOCAL +DEFAULT +10 * -.* SECTION LOCAL +DEFAULT +11 * -.* SECTION LOCAL +DEFAULT +12 * -.* SECTION LOCAL +DEFAULT +13 * .* TLS +LOCAL +DEFAULT +7 sl1 .* TLS +LOCAL +DEFAULT +7 sl2 .* TLS +LOCAL +DEFAULT +7 sl3 diff --git a/ld/testsuite/ld-sparc/tlssunnopic32.rd b/ld/testsuite/ld-sparc/tlssunnopic32.rd index 19fbf559ea2..95727ccb012 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic32.rd +++ b/ld/testsuite/ld-sparc/tlssunnopic32.rd @@ -62,7 +62,7 @@ Symbol table '.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL DEFAULT +ABS _edata .* NOTYPE +GLOBAL DEFAULT +ABS _end -Symbol table '.symtab' contains 30 entries: +Symbol table '.symtab' contains 27 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND * .* SECTION LOCAL +DEFAULT +1 * @@ -73,9 +73,6 @@ Symbol table '.symtab' contains 30 entries: .* SECTION LOCAL +DEFAULT +6 * .* SECTION LOCAL +DEFAULT +7 * .* SECTION LOCAL +DEFAULT +8 * -.* SECTION LOCAL +DEFAULT +9 * -.* SECTION LOCAL +DEFAULT +10 * -.* SECTION LOCAL +DEFAULT +11 * .* TLS +LOCAL +DEFAULT +6 bl1 .* TLS +LOCAL +DEFAULT +6 bl2 .* TLS +LOCAL +DEFAULT +6 bl3 diff --git a/ld/testsuite/ld-sparc/tlssunnopic64.rd b/ld/testsuite/ld-sparc/tlssunnopic64.rd index ce375efe135..a113bdcc6e0 100644 --- a/ld/testsuite/ld-sparc/tlssunnopic64.rd +++ b/ld/testsuite/ld-sparc/tlssunnopic64.rd @@ -64,7 +64,7 @@ Symbol table '.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL DEFAULT +ABS _edata .* NOTYPE +GLOBAL DEFAULT +ABS _end -Symbol table '.symtab' contains 30 entries: +Symbol table '.symtab' contains 27 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND * .* SECTION LOCAL +DEFAULT +1 * @@ -75,9 +75,6 @@ Symbol table '.symtab' contains 30 entries: .* SECTION LOCAL +DEFAULT +6 * .* SECTION LOCAL +DEFAULT +7 * .* SECTION LOCAL +DEFAULT +8 * -.* SECTION LOCAL +DEFAULT +9 * -.* SECTION LOCAL +DEFAULT +10 * -.* SECTION LOCAL +DEFAULT +11 * .* TLS +LOCAL +DEFAULT +6 bl1 .* TLS +LOCAL +DEFAULT +6 bl2 .* TLS +LOCAL +DEFAULT +6 bl3 diff --git a/ld/testsuite/ld-sparc/tlssunpic32.rd b/ld/testsuite/ld-sparc/tlssunpic32.rd index 818d859e738..05b19b70c4c 100644 --- a/ld/testsuite/ld-sparc/tlssunpic32.rd +++ b/ld/testsuite/ld-sparc/tlssunpic32.rd @@ -80,7 +80,7 @@ Symbol table '.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL DEFAULT +ABS _edata .* NOTYPE +GLOBAL DEFAULT +ABS _end -Symbol table '.symtab' contains 55 entries: +Symbol table '.symtab' contains 52 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND * .* SECTION LOCAL +DEFAULT +1 * @@ -94,9 +94,6 @@ Symbol table '.symtab' contains 55 entries: .* SECTION LOCAL +DEFAULT +9 * .* SECTION LOCAL +DEFAULT +10 * .* SECTION LOCAL +DEFAULT +11 * -.* SECTION LOCAL +DEFAULT +12 * -.* SECTION LOCAL +DEFAULT +13 * -.* SECTION LOCAL +DEFAULT +14 * .* TLS +LOCAL +DEFAULT +7 sl1 .* TLS +LOCAL +DEFAULT +7 sl2 .* TLS +LOCAL +DEFAULT +7 sl3 diff --git a/ld/testsuite/ld-sparc/tlssunpic64.rd b/ld/testsuite/ld-sparc/tlssunpic64.rd index 0033426c4f2..b984eab39a0 100644 --- a/ld/testsuite/ld-sparc/tlssunpic64.rd +++ b/ld/testsuite/ld-sparc/tlssunpic64.rd @@ -80,7 +80,7 @@ Symbol table '.dynsym' contains [0-9]+ entries: .* NOTYPE +GLOBAL DEFAULT +ABS _edata .* NOTYPE +GLOBAL DEFAULT +ABS _end -Symbol table '.symtab' contains 55 entries: +Symbol table '.symtab' contains 52 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE +LOCAL +DEFAULT +UND * .* SECTION LOCAL +DEFAULT +1 * @@ -94,9 +94,6 @@ Symbol table '.symtab' contains 55 entries: .* SECTION LOCAL +DEFAULT +9 * .* SECTION LOCAL +DEFAULT +10 * .* SECTION LOCAL +DEFAULT +11 * -.* SECTION LOCAL +DEFAULT +12 * -.* SECTION LOCAL +DEFAULT +13 * -.* SECTION LOCAL +DEFAULT +14 * .* TLS +LOCAL +DEFAULT +7 sl1 .* TLS +LOCAL +DEFAULT +7 sl2 .* TLS +LOCAL +DEFAULT +7 sl3 diff --git a/ld/testsuite/ld-x86-64/tlsbin.rd b/ld/testsuite/ld-x86-64/tlsbin.rd index f3529ec0a27..915208a28a0 100644 --- a/ld/testsuite/ld-x86-64/tlsbin.rd +++ b/ld/testsuite/ld-x86-64/tlsbin.rd @@ -77,7 +77,7 @@ Symbol table '.dynsym' contains [0-9]+ entries: .* NOTYPE GLOBAL DEFAULT ABS _edata .* NOTYPE GLOBAL DEFAULT ABS _end -Symbol table '.symtab' contains 69 entries: +Symbol table '.symtab' contains 66 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE LOCAL DEFAULT UND * .* SECTION LOCAL DEFAULT +1 * @@ -93,9 +93,6 @@ Symbol table '.symtab' contains 69 entries: .* SECTION LOCAL DEFAULT +11 * .* SECTION LOCAL DEFAULT +12 * .* SECTION LOCAL DEFAULT +13 * -.* SECTION LOCAL DEFAULT +14 * -.* SECTION LOCAL DEFAULT +15 * -.* SECTION LOCAL DEFAULT +16 * .* TLS +LOCAL DEFAULT +9 sl1 .* TLS +LOCAL DEFAULT +9 sl2 .* TLS +LOCAL DEFAULT +9 sl3 diff --git a/ld/testsuite/ld-x86-64/tlsbindesc.rd b/ld/testsuite/ld-x86-64/tlsbindesc.rd index bcd1c55cc23..ae2e80f6f02 100644 --- a/ld/testsuite/ld-x86-64/tlsbindesc.rd +++ b/ld/testsuite/ld-x86-64/tlsbindesc.rd @@ -70,7 +70,7 @@ Symbol table '.dynsym' contains 8 entries: +[0-9]+: 0+[0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata +[0-9]+: 0+[0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end -Symbol table '.symtab' contains 67 entries: +Symbol table '.symtab' contains 64 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +1 * @@ -84,9 +84,6 @@ Symbol table '.symtab' contains 67 entries: +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +9 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +10 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +11 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +13 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +14 * +[0-9]+: 0+20 +0 TLS +LOCAL DEFAULT +7 sl1 +[0-9]+: 0+24 +0 TLS +LOCAL DEFAULT +7 sl2 +[0-9]+: 0+28 +0 TLS +LOCAL DEFAULT +7 sl3 diff --git a/ld/testsuite/ld-x86-64/tlsdesc.rd b/ld/testsuite/ld-x86-64/tlsdesc.rd index 64877fba949..14c632baa75 100644 --- a/ld/testsuite/ld-x86-64/tlsdesc.rd +++ b/ld/testsuite/ld-x86-64/tlsdesc.rd @@ -105,7 +105,7 @@ Symbol table '.dynsym' contains 16 entries: +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end -Symbol table '.symtab' contains 55 entries: +Symbol table '.symtab' contains 52 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +1 * @@ -120,9 +120,6 @@ Symbol table '.symtab' contains 55 entries: +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +10 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +11 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +13 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +14 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +15 * +[0-9]+: 0+20 +0 TLS +LOCAL DEFAULT +8 sl1 +[0-9]+: 0+24 +0 TLS +LOCAL DEFAULT +8 sl2 +[0-9]+: 0+28 +0 TLS +LOCAL DEFAULT +8 sl3 diff --git a/ld/testsuite/ld-x86-64/tlsgdesc.rd b/ld/testsuite/ld-x86-64/tlsgdesc.rd index 2f7621b001d..c965c956d5b 100644 --- a/ld/testsuite/ld-x86-64/tlsgdesc.rd +++ b/ld/testsuite/ld-x86-64/tlsgdesc.rd @@ -76,7 +76,7 @@ Symbol table '.dynsym' contains 13 entries: +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata +[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end -Symbol table '.symtab' contains 27 entries: +Symbol table '.symtab' contains 24 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name +[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +1 * @@ -89,9 +89,6 @@ Symbol table '.symtab' contains 27 entries: +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +9 * +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +10 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +11 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * - +[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +13 * +[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL HIDDEN ABS _DYNAMIC +[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_ +[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG3 diff --git a/ld/testsuite/ld-x86-64/tlspic.rd b/ld/testsuite/ld-x86-64/tlspic.rd index 878b82ff50d..319837732f7 100644 --- a/ld/testsuite/ld-x86-64/tlspic.rd +++ b/ld/testsuite/ld-x86-64/tlspic.rd @@ -89,7 +89,7 @@ Symbol table '.dynsym' contains [0-9]+ entries: .* NOTYPE GLOBAL DEFAULT ABS _edata .* NOTYPE GLOBAL DEFAULT ABS _end -Symbol table '.symtab' contains 55 entries: +Symbol table '.symtab' contains 52 entries: +Num: +Value +Size Type +Bind +Vis +Ndx Name .* NOTYPE LOCAL DEFAULT UND * .* SECTION LOCAL DEFAULT +1 * @@ -104,9 +104,6 @@ Symbol table '.symtab' contains 55 entries: .* SECTION LOCAL DEFAULT +10 * .* SECTION LOCAL DEFAULT +11 * .* SECTION LOCAL DEFAULT +12 * -.* SECTION LOCAL DEFAULT +13 * -.* SECTION LOCAL DEFAULT +14 * -.* SECTION LOCAL DEFAULT +15 * .* TLS +LOCAL DEFAULT +8 sl1 .* TLS +LOCAL DEFAULT +8 sl2 .* TLS +LOCAL DEFAULT +8 sl3