This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: PR ld/2723: ld puts unused section symbols in symbol table
On Thu, Jun 01, 2006 at 12:22:11PM +0930, Alan Modra wrote:
> On Wed, May 31, 2006 at 05:40:53PM -0700, H. J. Lu wrote:
> > Do we need section symbols for .shstrtab, .symtab, .strtab in
> > executable and shared library?
>
> I don't think so. In fact, we probably don't need any section syms in
> the normal symtab if not emitting relocs. Hmm, unless gdb (or other
> tools like oprofile) use them for something.. Getting rid of the syms
> in special elf sections is easy, but unfortunately means fixing rather a
> lot of ld tests that match the symbol table.
>
Here is the patch. It just makes ld close to objcopy when handling
section symbols.
H.J.
----
bfd/
2006-06-01 Alan Modra <amodra@bigpond.net.au>
PR ld/2723
* elflink.c (bfd_elf_final_link): Don't output section symbols
if there is no BFD section.
ld/testsuite/
2006-06-01 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2723
* ld-alpha/tlsbin.rd: Updated.
* 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.
--- binutils/bfd/elflink.c.section 2006-06-01 09:17:22.000000000 -0700
+++ binutils/bfd/elflink.c 2006-06-01 09:53:30.000000000 -0700
@@ -8142,14 +8142,16 @@ bfd_elf_final_link (bfd *abfd, struct bf
{
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 = 0;
+ else
+ 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;
}
--- binutils/ld/testsuite/ld-alpha/tlsbin.rd.section 2006-04-25 18:22:03.000000000 -0700
+++ binutils/ld/testsuite/ld-alpha/tlsbin.rd 2006-06-01 12:06:41.000000000 -0700
@@ -80,9 +80,6 @@ Symbol table '.symtab' contains [0-9]+ e
[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
--- binutils/ld/testsuite/ld-alpha/tlsbinr.rd.section 2006-04-25 18:22:03.000000000 -0700
+++ binutils/ld/testsuite/ld-alpha/tlsbinr.rd 2006-06-01 12:07:02.000000000 -0700
@@ -75,9 +75,6 @@ Symbol table '.symtab' contains [0-9]+ e
[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
--- binutils/ld/testsuite/ld-alpha/tlspic.rd.section 2006-04-25 18:22:03.000000000 -0700
+++ binutils/ld/testsuite/ld-alpha/tlspic.rd 2006-06-01 12:06:26.000000000 -0700
@@ -90,9 +90,6 @@ Symbol table '.symtab' contains [0-9]+ e
.* [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
--- binutils/ld/testsuite/ld-cris/hiddef1.d.section 2005-08-24 08:27:13.000000000 -0700
+++ binutils/ld/testsuite/ld-cris/hiddef1.d 2006-06-01 12:05:23.000000000 -0700
@@ -24,5 +24,5 @@ Relocation section '\.rela\.dyn' at offs
#...
Symbol table '\.dynsym' contains 6 entries:
#...
-Symbol table '\.symtab' contains 19 entries:
+Symbol table '\.symtab' contains 16 entries:
#pass
--- binutils/ld/testsuite/ld-cris/libdso-2.d.section 2005-08-24 08:27:13.000000000 -0700
+++ binutils/ld/testsuite/ld-cris/libdso-2.d 2006-06-01 12:04:59.000000000 -0700
@@ -36,7 +36,7 @@ Symbol table '\.dynsym' contains 4 entri
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 entr
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
--- binutils/ld/testsuite/ld-elf/sec64k.exp.section 2006-06-01 09:17:22.000000000 -0700
+++ binutils/ld/testsuite/ld-elf/sec64k.exp 2006-06-01 10:55:39.000000000 -0700
@@ -106,9 +106,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 "#..."
@@ -137,7 +137,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 "#..."
--- binutils/ld/testsuite/ld-i386/tlsbin.rd.section 2006-02-02 14:57:50.000000000 -0800
+++ binutils/ld/testsuite/ld-i386/tlsbin.rd 2006-06-01 11:19:47.000000000 -0700
@@ -86,7 +86,7 @@ Symbol table '.dynsym' contains 13 entri
+[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 entri
+[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
--- binutils/ld/testsuite/ld-i386/tlsbindesc.rd.section 2006-02-02 14:57:50.000000000 -0800
+++ binutils/ld/testsuite/ld-i386/tlsbindesc.rd 2006-06-01 11:27:36.000000000 -0700
@@ -79,7 +79,7 @@ Symbol table '.dynsym' contains 12 entri
+[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 entri
+[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
--- binutils/ld/testsuite/ld-i386/tlsdesc.rd.section 2006-02-02 14:57:50.000000000 -0800
+++ binutils/ld/testsuite/ld-i386/tlsdesc.rd 2006-06-01 11:19:27.000000000 -0700
@@ -97,7 +97,7 @@ Symbol table '.dynsym' contains 16 entri
+[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 entri
+[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
--- binutils/ld/testsuite/ld-i386/tlsgdesc.rd.section 2006-01-18 13:07:49.000000000 -0800
+++ binutils/ld/testsuite/ld-i386/tlsgdesc.rd 2006-06-01 11:28:20.000000000 -0700
@@ -76,7 +76,7 @@ Symbol table '.dynsym' contains 13 entri
+[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 entri
+[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
--- binutils/ld/testsuite/ld-i386/tlsnopic.rd.section 2006-02-02 14:57:50.000000000 -0800
+++ binutils/ld/testsuite/ld-i386/tlsnopic.rd 2006-06-01 11:27:53.000000000 -0700
@@ -84,7 +84,7 @@ Symbol table '.dynsym' contains 12 entri
+[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 entri
+[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
--- binutils/ld/testsuite/ld-i386/tlspic.rd.section 2006-02-02 14:57:50.000000000 -0800
+++ binutils/ld/testsuite/ld-i386/tlspic.rd 2006-06-01 11:19:10.000000000 -0700
@@ -101,7 +101,7 @@ Symbol table '.dynsym' contains 17 entri
+[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 entri
+[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
--- binutils/ld/testsuite/ld-ia64/tlsbin.rd.section 2005-08-24 08:27:16.000000000 -0700
+++ binutils/ld/testsuite/ld-ia64/tlsbin.rd 2006-06-01 11:30:57.000000000 -0700
@@ -66,7 +66,7 @@ Symbol table '.dynsym' contains [0-9]+ e
.* 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 entri
.* 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
--- binutils/ld/testsuite/ld-ia64/tlspic.rd.section 2005-10-23 19:38:15.000000000 -0700
+++ binutils/ld/testsuite/ld-ia64/tlspic.rd 2006-06-01 11:30:39.000000000 -0700
@@ -78,7 +78,7 @@ Symbol table '.dynsym' contains [0-9]+ e
.* 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 entri
.* 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
--- binutils/ld/testsuite/ld-mmix/bpo-1.d.section 2005-03-21 13:13:41.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bpo-1.d 2006-06-01 12:40:02.000000000 -0700
@@ -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
#...
--- binutils/ld/testsuite/ld-mmix/bpo-10.d.section 2005-11-01 21:20:38.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bpo-10.d 2006-06-01 12:40:35.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/bpo-11.d.section 2005-03-21 13:13:41.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bpo-11.d 2006-06-01 12:40:43.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/bpo-14.d.section 2005-03-21 13:13:41.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bpo-14.d 2006-06-01 12:40:46.000000000 -0700
@@ -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
#...
--- binutils/ld/testsuite/ld-mmix/bpo-16.d.section 2005-03-21 13:13:41.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bpo-16.d 2006-06-01 12:40:50.000000000 -0700
@@ -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
#...
--- binutils/ld/testsuite/ld-mmix/bpo-17.d.section 2005-03-21 13:13:41.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bpo-17.d 2006-06-01 12:40:53.000000000 -0700
@@ -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
#...
--- binutils/ld/testsuite/ld-mmix/bpo-18.d.section 2005-03-21 13:13:41.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bpo-18.d 2006-06-01 12:40:57.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/bpo-19.d.section 2005-10-26 15:03:35.000000000 -0700
+++ binutils/ld/testsuite/ld-mmix/bpo-19.d 2006-06-01 12:41:00.000000000 -0700
@@ -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
#...
--- binutils/ld/testsuite/ld-mmix/bpo-2.d.section 2005-03-21 13:13:41.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bpo-2.d 2006-06-01 12:41:07.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/bpo-22.d.section 2005-07-08 08:42:54.000000000 -0700
+++ binutils/ld/testsuite/ld-mmix/bpo-22.d 2006-06-01 12:41:03.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/bpo-3.d.section 2005-03-21 13:13:41.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bpo-3.d 2006-06-01 12:41:11.000000000 -0700
@@ -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
#...
--- binutils/ld/testsuite/ld-mmix/bpo-4.d.section 2005-03-21 13:13:41.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bpo-4.d 2006-06-01 12:41:14.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/bpo-5.d.section 2005-03-21 13:13:41.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bpo-5.d 2006-06-01 12:41:17.000000000 -0700
@@ -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
#...
--- binutils/ld/testsuite/ld-mmix/bpo-6.d.section 2005-10-26 15:03:35.000000000 -0700
+++ binutils/ld/testsuite/ld-mmix/bpo-6.d 2006-06-01 12:41:20.000000000 -0700
@@ -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
#...
--- binutils/ld/testsuite/ld-mmix/bpo-9.d.section 2005-03-21 13:13:41.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bpo-9.d 2006-06-01 12:41:24.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/bspec1.d.section 2005-03-21 13:13:41.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bspec1.d 2006-06-01 12:51:38.000000000 -0700
@@ -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':
--- binutils/ld/testsuite/ld-mmix/bspec2.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/bspec2.d 2006-06-01 12:51:19.000000000 -0700
@@ -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':
--- binutils/ld/testsuite/ld-mmix/greg-1.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/greg-1.d 2006-06-01 12:41:45.000000000 -0700
@@ -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
#...
--- binutils/ld/testsuite/ld-mmix/greg-19.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/greg-19.d 2006-06-01 12:41:42.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/greg-2.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/greg-2.d 2006-06-01 12:41:49.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/greg-3.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/greg-3.d 2006-06-01 12:41:52.000000000 -0700
@@ -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
#...
--- binutils/ld/testsuite/ld-mmix/greg-4.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/greg-4.d 2006-06-01 12:41:55.000000000 -0700
@@ -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
#...
--- binutils/ld/testsuite/ld-mmix/greg-5.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/greg-5.d 2006-06-01 12:42:00.000000000 -0700
@@ -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
#...
--- binutils/ld/testsuite/ld-mmix/greg-5s.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/greg-5s.d 2006-06-01 12:42:02.000000000 -0700
@@ -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
#...
--- binutils/ld/testsuite/ld-mmix/greg-6.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/greg-6.d 2006-06-01 12:42:06.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/greg-7.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/greg-7.d 2006-06-01 12:42:11.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/loc1.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/loc1.d 2006-06-01 12:42:15.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/loc2.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/loc2.d 2006-06-01 12:42:18.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/loc3.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/loc3.d 2006-06-01 12:42:21.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/loc4.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/loc4.d 2006-06-01 12:42:25.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/loc6.d.section 2005-06-10 09:00:33.000000000 -0700
+++ binutils/ld/testsuite/ld-mmix/loc6.d 2006-06-01 12:42:27.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/local1.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/local1.d 2006-06-01 12:53:42.000000000 -0700
@@ -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':
--- binutils/ld/testsuite/ld-mmix/local3.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/local3.d 2006-06-01 12:54:09.000000000 -0700
@@ -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':
--- binutils/ld/testsuite/ld-mmix/local5.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/local5.d 2006-06-01 12:54:38.000000000 -0700
@@ -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':
--- binutils/ld/testsuite/ld-mmix/local7.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/local7.d 2006-06-01 12:55:03.000000000 -0700
@@ -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':
--- binutils/ld/testsuite/ld-mmix/locdo-1.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/locdo-1.d 2006-06-01 12:42:41.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/loct-1.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/loct-1.d 2006-06-01 12:42:44.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/locto-1.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/locto-1.d 2006-06-01 12:42:47.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/start-1.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/start-1.d 2006-06-01 12:42:50.000000000 -0700
@@ -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
--- binutils/ld/testsuite/ld-mmix/undef-3.d.section 2005-03-21 13:13:42.000000000 -0800
+++ binutils/ld/testsuite/ld-mmix/undef-3.d 2006-06-01 12:58:02.000000000 -0700
@@ -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\.
--- binutils/ld/testsuite/ld-powerpc/tlsexe32.r.section 2006-02-02 14:57:50.000000000 -0800
+++ binutils/ld/testsuite/ld-powerpc/tlsexe32.r 2006-06-01 12:15:42.000000000 -0700
@@ -70,7 +70,7 @@ Symbol table '\.dynsym' contains [0-9]+
.* 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 entr
.* 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
--- binutils/ld/testsuite/ld-powerpc/tlsso32.r.section 2006-02-02 14:57:50.000000000 -0800
+++ binutils/ld/testsuite/ld-powerpc/tlsso32.r 2006-06-01 12:15:58.000000000 -0700
@@ -90,7 +90,7 @@ Symbol table '\.dynsym' contains [0-9]+
.* 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 entr
.* 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
--- binutils/ld/testsuite/ld-s390/tlsbin.rd.section 2006-02-02 14:57:50.000000000 -0800
+++ binutils/ld/testsuite/ld-s390/tlsbin.rd 2006-06-01 12:14:45.000000000 -0700
@@ -76,7 +76,7 @@ Symbol table '.dynsym' contains [0-9]+ e
.* 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 entri
.* 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
--- binutils/ld/testsuite/ld-s390/tlspic.rd.section 2006-02-02 14:57:50.000000000 -0800
+++ binutils/ld/testsuite/ld-s390/tlspic.rd 2006-06-01 12:14:31.000000000 -0700
@@ -88,7 +88,7 @@ Symbol table '.dynsym' contains [0-9]+ e
.* 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 entri
.* 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
--- binutils/ld/testsuite/ld-sparc/tlssunbin32.rd.section 2005-08-24 08:27:20.000000000 -0700
+++ binutils/ld/testsuite/ld-sparc/tlssunbin32.rd 2006-06-01 11:59:52.000000000 -0700
@@ -58,7 +58,7 @@ Symbol table '.dynsym' contains [0-9]+ e
.* 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 entri
.* 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
--- binutils/ld/testsuite/ld-sparc/tlssunbin64.rd.section 2005-08-24 08:27:20.000000000 -0700
+++ binutils/ld/testsuite/ld-sparc/tlssunbin64.rd 2006-06-01 12:00:54.000000000 -0700
@@ -58,7 +58,7 @@ Symbol table '.dynsym' contains [0-9]+ e
.* 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 entri
.* 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
--- binutils/ld/testsuite/ld-sparc/tlssunnopic32.rd.section 2005-08-24 08:27:20.000000000 -0700
+++ binutils/ld/testsuite/ld-sparc/tlssunnopic32.rd 2006-06-01 12:00:17.000000000 -0700
@@ -62,7 +62,7 @@ Symbol table '.dynsym' contains [0-9]+ e
.* 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 entri
.* 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
--- binutils/ld/testsuite/ld-sparc/tlssunnopic64.rd.section 2005-08-24 08:27:20.000000000 -0700
+++ binutils/ld/testsuite/ld-sparc/tlssunnopic64.rd 2006-06-01 12:01:13.000000000 -0700
@@ -64,7 +64,7 @@ Symbol table '.dynsym' contains [0-9]+ e
.* 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 entri
.* 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
--- binutils/ld/testsuite/ld-sparc/tlssunpic32.rd.section 2005-08-24 08:27:20.000000000 -0700
+++ binutils/ld/testsuite/ld-sparc/tlssunpic32.rd 2006-06-01 11:59:35.000000000 -0700
@@ -80,7 +80,7 @@ Symbol table '.dynsym' contains [0-9]+ e
.* 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 entri
.* 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
--- binutils/ld/testsuite/ld-sparc/tlssunpic64.rd.section 2005-08-24 08:27:20.000000000 -0700
+++ binutils/ld/testsuite/ld-sparc/tlssunpic64.rd 2006-06-01 12:00:35.000000000 -0700
@@ -80,7 +80,7 @@ Symbol table '.dynsym' contains [0-9]+ e
.* 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 entri
.* 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
--- binutils/ld/testsuite/ld-x86-64/tlsbin.rd.section 2006-05-25 21:08:20.000000000 -0700
+++ binutils/ld/testsuite/ld-x86-64/tlsbin.rd 2006-06-01 10:59:43.000000000 -0700
@@ -77,7 +77,7 @@ Symbol table '.dynsym' contains [0-9]+ e
.* 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 entri
.* 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
--- binutils/ld/testsuite/ld-x86-64/tlsbindesc.rd.section 2006-05-25 21:08:20.000000000 -0700
+++ binutils/ld/testsuite/ld-x86-64/tlsbindesc.rd 2006-06-01 11:00:07.000000000 -0700
@@ -70,7 +70,7 @@ Symbol table '.dynsym' contains 8 entrie
+[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 entri
+[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
--- binutils/ld/testsuite/ld-x86-64/tlsdesc.rd.section 2006-05-25 21:08:20.000000000 -0700
+++ binutils/ld/testsuite/ld-x86-64/tlsdesc.rd 2006-06-01 10:59:04.000000000 -0700
@@ -105,7 +105,7 @@ Symbol table '.dynsym' contains 16 entri
+[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 entri
+[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
--- binutils/ld/testsuite/ld-x86-64/tlsgdesc.rd.section 2006-01-18 13:07:51.000000000 -0800
+++ binutils/ld/testsuite/ld-x86-64/tlsgdesc.rd 2006-06-01 11:00:29.000000000 -0700
@@ -76,7 +76,7 @@ Symbol table '.dynsym' contains 13 entri
+[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 entri
+[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
--- binutils/ld/testsuite/ld-x86-64/tlspic.rd.section 2006-05-25 21:08:20.000000000 -0700
+++ binutils/ld/testsuite/ld-x86-64/tlspic.rd 2006-06-01 10:59:12.000000000 -0700
@@ -89,7 +89,7 @@ Symbol table '.dynsym' contains [0-9]+ e
.* 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 entri
.* 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