From 55cb66502d79de8468ae35f6b58b762f4c6aa1ff Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mar 09 2017 12:20:03 +0000 Subject: Move .shstrtab section to end of section list so that the monotonic ordering of section offsets is restored. Resolves: #1430255 --- diff --git a/binutils-2.26-monotonic-section-offsets.patch b/binutils-2.26-monotonic-section-offsets.patch new file mode 100644 index 0000000..93c5f00 --- /dev/null +++ b/binutils-2.26-monotonic-section-offsets.patch @@ -0,0 +1,1876 @@ +diff -rup binutils.orig/bfd/elf.c binutils-2.26.1/bfd/elf.c +--- binutils.orig/bfd/elf.c 2017-03-09 11:56:05.266080804 +0000 ++++ binutils-2.26.1/bfd/elf.c 2017-03-09 11:59:02.606216238 +0000 +@@ -2912,7 +2912,7 @@ elf_fake_sections (bfd *abfd, asection * + compressed. */ + asect->flags |= SEC_ELF_COMPRESS; + +- /* If this section will be compressed, delay adding setion ++ /* If this section will be compressed, delay adding section + name to section name section after it is compressed in + _bfd_elf_assign_file_positions_for_non_load. */ + delay_st_name_p = TRUE; +@@ -3402,10 +3402,6 @@ assign_section_numbers (bfd *abfd, struc + d->rela.idx = 0; + } + +- elf_shstrtab_sec (abfd) = section_number++; +- _bfd_elf_strtab_addref (elf_shstrtab (abfd), t->shstrtab_hdr.sh_name); +- elf_elfheader (abfd)->e_shstrndx = elf_shstrtab_sec (abfd); +- + need_symtab = (bfd_get_symcount (abfd) > 0 + || (link_info == NULL + && ((abfd->flags & (EXEC_P | DYNAMIC | HAS_RELOC)) +@@ -3433,6 +3429,10 @@ assign_section_numbers (bfd *abfd, struc + _bfd_elf_strtab_addref (elf_shstrtab (abfd), t->strtab_hdr.sh_name); + } + ++ elf_shstrtab_sec (abfd) = section_number++; ++ _bfd_elf_strtab_addref (elf_shstrtab (abfd), t->shstrtab_hdr.sh_name); ++ elf_elfheader (abfd)->e_shstrndx = elf_shstrtab_sec (abfd); ++ + if (section_number >= SHN_LORESERVE) + { + _bfd_error_handler (_("%B: too many sections: %u"), +@@ -5795,7 +5795,7 @@ _bfd_elf_assign_file_positions_for_non_l + return FALSE; + name = new_name; + } +- /* Add setion name to section name section. */ ++ /* Add section name to section name section. */ + if (shdrp->sh_name != (unsigned int) -1) + abort (); + shdrp->sh_name +@@ -5803,7 +5803,7 @@ _bfd_elf_assign_file_positions_for_non_l + name, FALSE); + d = elf_section_data (sec); + +- /* Add reloc setion name to section name section. */ ++ /* Add reloc section name to section name section. */ + if (d->rel.hdr + && !_bfd_elf_set_reloc_sh_name (abfd, + d->rel.hdr, +Only in binutils-2.26.1/bfd: elf.c.orig +diff -rup binutils.orig/binutils/testsuite/binutils-all/readelf.s binutils-2.26.1/binutils/testsuite/binutils-all/readelf.s +--- binutils.orig/binutils/testsuite/binutils-all/readelf.s 2017-03-09 11:56:05.280080578 +0000 ++++ binutils-2.26.1/binutils/testsuite/binutils-all/readelf.s 2017-03-09 11:59:59.036304722 +0000 +@@ -14,8 +14,8 @@ Section Headers: + # MIPS targets put .reginfo, .mdebug, .MIPS.abiflags and .gnu.attributes here. + # v850 targets put .call_table_data and .call_table_text here. + #... +- +\[ .\] .shstrtab +STRTAB +00000000 0+.* 0+.* 00 +0 +0 +. + +\[..\] .symtab +SYMTAB +00000000 0+.* 0+.* 10 +.. +.+ +4 + +\[..\] .strtab +STRTAB +00000000 0+.* 0+.* 00 +0 +0 +1 ++ +\[ .\] .shstrtab +STRTAB +00000000 0+.* 0+.* 00 +0 +0 +. + Key to Flags: + #... +diff -rup binutils.orig/binutils/testsuite/binutils-all/readelf.s-64 binutils-2.26.1/binutils/testsuite/binutils-all/readelf.s-64 +--- binutils.orig/binutils/testsuite/binutils-all/readelf.s-64 2017-03-09 11:56:05.280080578 +0000 ++++ binutils-2.26.1/binutils/testsuite/binutils-all/readelf.s-64 2017-03-09 12:01:43.779612808 +0000 +@@ -13,12 +13,12 @@ Section Headers: + +000000000000000[48] +0000000000000000 +WA +0 +0 +.* + +\[ 4\] .bss +NOBITS +0000000000000000 +000000(4c|50|54|58) + +0000000000000000 +0000000000000000 +WA +0 +0 +.* +- +\[ 5\] .shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ +- +00000000000000.. +0000000000000000 +0 +0 +.* +- +\[ 6\] .symtab +SYMTAB +0000000000000000 +0+.* ++ +\[ 5\] .symtab +SYMTAB +0000000000000000 +0+.* + # aarch64-elf targets have one more data symbol. +- +0+.* +0000000000000018 +7 +(6|7) +8 +- +\[ 7\] .strtab +STRTAB +0000000000000000 +0+.* ++ +0+.* +0000000000000018 +6 +(6|7) +8 ++ +\[ 6\] .strtab +STRTAB +0000000000000000 +0+.* + +0+.* +0000000000000000 +0 +0 +1 ++ +\[ 7\] .shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ ++ +00000000000000.. +0000000000000000 +0 +0 +.* + Key to Flags: + #... +Only in binutils-2.26.1/binutils/testsuite/binutils-all: readelf.s-64.orig +Only in binutils-2.26.1/binutils/testsuite/binutils-all: readelf.s-64.rej +Only in binutils-2.26.1/binutils/testsuite/binutils-all: readelf.s.orig +Only in binutils-2.26.1/binutils/testsuite/binutils-all: readelf.s.rej +diff -rup binutils.orig/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d binutils-2.26.1/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d +--- binutils.orig/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d 2017-03-09 11:56:05.351079431 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d 2017-03-09 12:02:45.143621598 +0000 +@@ -11,9 +11,9 @@ Section Headers: + \[ 2\] .data PROGBITS 00000000 000034 000000 00 WA 0 0 1 + \[ 3\] .bss NOBITS 00000000 000034 000000 00 WA 0 0 1 + \[ 4\] .eh_frame X86_64_UNWIND 00000000 000034 000008 00 A 0 0 1 +- \[ 5\] .shstrtab STRTAB 00000000 [0-9a-f]+ 000036 00 0 0 1 +- \[ 6\] .symtab SYMTAB 00000000 [0-9a-f]+ 000050 10 7 5 4 +- \[ 7\] .strtab STRTAB 00000000 [0-9a-f]+ 000001 00 0 0 1 ++ \[ 5\] .symtab SYMTAB 00000000 [0-9a-f]+ 000050 10 6 5 4 ++ \[ 6\] .strtab STRTAB 00000000 [0-9a-f]+ 000001 00 0 0 1 ++ \[ 7\] .shstrtab STRTAB 00000000 [0-9a-f]+ 000036 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/gas/testsuite/gas/i386/ilp32: x86-64-unwind.d.orig +Only in binutils-2.26.1/gas/testsuite/gas/i386/ilp32: x86-64-unwind.d.rej +diff -rup binutils.orig/gas/testsuite/gas/i386/x86-64-unwind.d binutils-2.26.1/gas/testsuite/gas/i386/x86-64-unwind.d +--- binutils.orig/gas/testsuite/gas/i386/x86-64-unwind.d 2017-03-09 11:56:05.367079172 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/i386/x86-64-unwind.d 2017-03-09 12:03:30.826883678 +0000 +@@ -16,11 +16,11 @@ Section Headers: + 0000000000000000 0000000000000000 WA 0 0 1 + \[ 4\] \.eh_frame X86_64_UNWIND 0000000000000000 00000040 + 0000000000000008 0000000000000000 A 0 0 1 +- \[ 5\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+ +- 0000000000000036 0000000000000000 0 0 1 +- \[ 6\] \.symtab SYMTAB 0000000000000000 [0-9a-f]+ +- 0000000000000078 0000000000000018 7 5 8 +- \[ 7\] \.strtab STRTAB 0000000000000000 [0-9a-f]+ ++ \[ 5\] \.symtab SYMTAB 0000000000000000 [0-9a-f]+ ++ 0000000000000078 0000000000000018 6 5 8 ++ \[ 6\] \.strtab STRTAB 0000000000000000 [0-9a-f]+ + 0000000000000001 0000000000000000 0 0 1 ++ \[ 7\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+ ++ 0000000000000036 0000000000000000 0 0 1 + Key to Flags: + #... +Only in binutils-2.26.1/gas/testsuite/gas/i386: x86-64-unwind.d.orig +Only in binutils-2.26.1/gas/testsuite/gas/i386: x86-64-unwind.d.rej +diff -rup binutils.orig/gas/testsuite/gas/ia64/alias.d binutils-2.26.1/gas/testsuite/gas/ia64/alias.d +--- binutils.orig/gas/testsuite/gas/ia64/alias.d 2017-03-09 11:56:05.369079140 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/ia64/alias.d 2017-03-09 11:59:02.606216238 +0000 +@@ -16,12 +16,12 @@ Section Headers: + +0000000000000000 +0000000000000000 +WA +0 +0 +1 + +\[ 4\] 1234 +PROGBITS +0000000000000000 +00000040 + +0000000000000005 +0000000000000000 +WA +0 +0 +1 +- +\[ 5\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ +- +0000000000000031 +0000000000000000 +0 +0 +1 +- +\[ 6\] \.symtab +SYMTAB +0000000000000000 .* +- +0000000000000090 +0000000000000018 +7 +6 +8 +- +\[ 7\] \.strtab +STRTAB +0000000000000000 .* ++ +\[ 5\] \.symtab +SYMTAB +0000000000000000 .* ++ +0000000000000090 +0000000000000018 +6 +6 +8 ++ +\[ 6\] \.strtab +STRTAB +0000000000000000 .* + +0000000000000006 +0000000000000000 +0 +0 +1 ++ +\[ 7\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ ++ +0000000000000031 +0000000000000000 +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/gas/testsuite/gas/ia64/alias-ilp32.d binutils-2.26.1/gas/testsuite/gas/ia64/alias-ilp32.d +--- binutils.orig/gas/testsuite/gas/ia64/alias-ilp32.d 2017-03-09 11:56:05.369079140 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/ia64/alias-ilp32.d 2017-03-09 11:59:02.606216238 +0000 +@@ -12,9 +12,9 @@ Section Headers: + +\[ 2\] .data +PROGBITS +00000000 000040 000000 00 +WA +0 +0 +1 + +\[ 3\] .bss +NOBITS +00000000 000040 000000 00 +WA +0 +0 +1 + +\[ 4\] 1234 +PROGBITS +00000000 000040 000005 00 +WA +0 +0 +1 +- +\[ 5\] .shstrtab +STRTAB +00000000 [0-9a-f]+ 000031 00 +0 +0 +1 +- +\[ 6\] .symtab +SYMTAB +00000000 [0-9a-f]+ 000060 10 +7 +6 +4 +- +\[ 7\] .strtab +STRTAB +00000000 [0-9a-f]+ 000006 00 +0 +0 +1 ++ +\[ 5\] .symtab +SYMTAB +00000000 [0-9a-f]+ 000060 10 +6 +6 +4 ++ +\[ 6\] .strtab +STRTAB +00000000 [0-9a-f]+ 000006 00 +0 +0 +1 ++ +\[ 7\] .shstrtab +STRTAB +00000000 [0-9a-f]+ 000031 00 +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/gas/testsuite/gas/ia64/group-1.d binutils-2.26.1/gas/testsuite/gas/ia64/group-1.d +--- binutils.orig/gas/testsuite/gas/ia64/group-1.d 2017-03-09 11:56:05.369079140 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/ia64/group-1.d 2017-03-09 11:59:02.606216238 +0000 +@@ -18,12 +18,12 @@ Section Headers: + 0000000000000000 0000000000000000 WA 0 0 1 + \[ 5\] \.text PROGBITS 0000000000000000 00000050 + 0000000000000010 0000000000000000 AXG 0 0 16 +- \[ 6\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+ +- 0000000000000033 0000000000000000 0 0 1 +- \[ 7\] \.symtab SYMTAB 0000000000000000 .* +- 00000000000000c0 0000000000000018 8 8 8 +- \[ 8\] \.strtab STRTAB 0000000000000000 .* ++ \[ 6\] \.symtab SYMTAB 0000000000000000 .* ++ 00000000000000c0 0000000000000018 7 8 8 ++ \[ 7\] \.strtab STRTAB 0000000000000000 .* + 000000000000000[7c] 0000000000000000 0 0 1 ++ \[ 8\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+ ++ 0000000000000033 0000000000000000 0 0 1 + Key to Flags: + #... + +diff -rup binutils.orig/gas/testsuite/gas/ia64/group-2.d binutils-2.26.1/gas/testsuite/gas/ia64/group-2.d +--- binutils.orig/gas/testsuite/gas/ia64/group-2.d 2017-03-09 11:56:05.369079140 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/ia64/group-2.d 2017-03-09 11:59:02.606216238 +0000 +@@ -25,12 +25,12 @@ Section Headers: + 0000000000000018 0000000000000000 ALG 5 5 8 + \[ 8\] \.rela\.gnu\.linkonc RELA 0000000000000000 .* + 0000000000000048 0000000000000018 I 10 7 8 +- \[ 9\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+ +- 0000000000000081 0000000000000000 0 0 1 +- \[10\] \.symtab SYMTAB 0000000000000000 .* +- 00000000000000d8 0000000000000018 11 9 8 +- \[11\] \.strtab STRTAB 0000000000000000 .* ++ \[ 9\] \.symtab SYMTAB 0000000000000000 .* ++ 00000000000000d8 0000000000000018 10 9 8 ++ \[10\] \.strtab STRTAB 0000000000000000 .* + 0000000000000005 0000000000000000 0 0 1 ++ \[11\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+ ++ 0000000000000081 0000000000000000 0 0 1 + Key to Flags: + #... + +diff -rup binutils.orig/gas/testsuite/gas/ia64/secname.d binutils-2.26.1/gas/testsuite/gas/ia64/secname.d +--- binutils.orig/gas/testsuite/gas/ia64/secname.d 2017-03-09 11:56:05.371079108 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/ia64/secname.d 2017-03-09 11:59:02.606216238 +0000 +@@ -16,11 +16,11 @@ Section Headers: + 0000000000000000 0000000000000000 WA 0 0 1 + \[ 4\] \.foo PROGBITS 0000000000000000 00000040 + 0000000000000008 0000000000000000 WA 0 0 8 +- \[ 5\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+ +- 0000000000000031 0000000000000000 0 0 1 +- \[ 6\] \.symtab SYMTAB 0000000000000000 .* +- 0000000000000078 0000000000000018 7 5 8 +- \[ 7\] \.strtab STRTAB 0000000000000000 .* ++ \[ 5\] \.symtab SYMTAB 0000000000000000 .* ++ 0000000000000078 0000000000000018 6 5 8 ++ \[ 6\] \.strtab STRTAB 0000000000000000 .* + 0000000000000001 0000000000000000 0 0 1 ++ \[ 7\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+ ++ 0000000000000031 0000000000000000 0 0 1 + Key to Flags: + #... +diff -rup binutils.orig/gas/testsuite/gas/ia64/secname-ilp32.d binutils-2.26.1/gas/testsuite/gas/ia64/secname-ilp32.d +--- binutils.orig/gas/testsuite/gas/ia64/secname-ilp32.d 2017-03-09 11:56:05.371079108 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/ia64/secname-ilp32.d 2017-03-09 11:59:02.606216238 +0000 +@@ -12,8 +12,8 @@ Section Headers: + \[ 2\] .data PROGBITS 00000000 000040 000000 00 WA 0 0 1 + \[ 3\] .bss NOBITS 00000000 000040 000000 00 WA 0 0 1 + \[ 4\] .foo PROGBITS 00000000 000040 000008 00 WA 0 0 8 +- \[ 5\] .shstrtab STRTAB 00000000 [0-9a-f]+ 000031 00 0 0 1 +- \[ 6\] .symtab SYMTAB 00000000 [0-9a-f]+ 000050 10 7 5 4 +- \[ 7\] .strtab STRTAB 00000000 [0-9a-f]+ 000001 00 0 0 1 ++ \[ 5\] .symtab SYMTAB 00000000 [0-9a-f]+ 000050 10 6 5 4 ++ \[ 6\] .strtab STRTAB 00000000 [0-9a-f]+ 000001 00 0 0 1 ++ \[ 7\] .shstrtab STRTAB 00000000 [0-9a-f]+ 000031 00 0 0 1 + Key to Flags: + #... +diff -rup binutils.orig/gas/testsuite/gas/ia64/unwind.d binutils-2.26.1/gas/testsuite/gas/ia64/unwind.d +--- binutils.orig/gas/testsuite/gas/ia64/unwind.d 2017-03-09 11:56:05.371079108 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/ia64/unwind.d 2017-03-09 11:59:02.606216238 +0000 +@@ -18,11 +18,11 @@ Section Headers: + 0000000000000008 0000000000000000 A 0 0 8 + \[ 5\] \.IA_64\.unwind IA_64_UNWIND 0000000000000000 00000048 + 0000000000000008 0000000000000000 AL 1 1 8 +- \[ 6\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+ +- 000000000000004d 0000000000000000 0 0 1 +- \[ 7\] \.symtab SYMTAB 0000000000000000 .* +- 0000000000000090 0000000000000018 8 6 8 +- \[ 8\] \.strtab STRTAB 0000000000000000 .* ++ \[ 6\] \.symtab SYMTAB 0000000000000000 .* ++ 0000000000000090 0000000000000018 7 6 8 ++ \[ 7\] \.strtab STRTAB 0000000000000000 .* + 0000000000000001 0000000000000000 0 0 1 ++ \[ 8\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+ ++ 000000000000004d 0000000000000000 0 0 1 + Key to Flags: + #... +diff -rup binutils.orig/gas/testsuite/gas/ia64/unwind-ilp32.d binutils-2.26.1/gas/testsuite/gas/ia64/unwind-ilp32.d +--- binutils.orig/gas/testsuite/gas/ia64/unwind-ilp32.d 2017-03-09 11:56:05.371079108 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/ia64/unwind-ilp32.d 2017-03-09 11:59:02.606216238 +0000 +@@ -13,8 +13,8 @@ Section Headers: + \[ 3\] .bss NOBITS 00000000 000040 000000 00 WA 0 0 1 + \[ 4\] .IA_64.unwind_inf PROGBITS 00000000 000040 000008 00 A 0 0 8 + \[ 5\] .IA_64.unwind IA_64_UNWIND 00000000 000048 000008 00 AL 1 1 8 +- \[ 6\] .shstrtab STRTAB 00000000 [0-9a-f]+ 00004d 00 0 0 1 +- \[ 7\] .symtab SYMTAB 00000000 [0-9a-f]+ 000060 10 8 6 4 +- \[ 8\] .strtab STRTAB 00000000 [0-9a-f]+ 000001 00 0 0 1 ++ \[ 6\] .symtab SYMTAB 00000000 [0-9a-f]+ 000060 10 7 6 4 ++ \[ 7\] .strtab STRTAB 00000000 [0-9a-f]+ 000001 00 0 0 1 ++ \[ 8\] .shstrtab STRTAB 00000000 [0-9a-f]+ 00004d 00 0 0 1 + Key to Flags: + #... +diff -rup binutils.orig/gas/testsuite/gas/ia64/xdata.d binutils-2.26.1/gas/testsuite/gas/ia64/xdata.d +--- binutils.orig/gas/testsuite/gas/ia64/xdata.d 2017-03-09 11:56:05.371079108 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/ia64/xdata.d 2017-03-09 11:59:02.606216238 +0000 +@@ -38,10 +38,10 @@ Section Headers: + 0000000000000003 0000000000000000 A 0 0 1 + \[15\] \.xstr\{2\} PROGBITS 0000000000000000 [[:xdigit:]]+ + 0000000000000004 0000000000000000 A 0 0 1 +- \[16\] \.shstrtab STRTAB 0000000000000000 [[:xdigit:]]+ ++ \[16\] \.symtab SYMTAB 0000000000000000 [[:xdigit:]]+ ++ [[:xdigit:]]+ 0000000000000018 17 15 8 ++ \[17\] \.strtab STRTAB 0000000000000000 [[:xdigit:]]+ + [[:xdigit:]]+ 0000000000000000 0 0 1 +- \[17\] \.symtab SYMTAB 0000000000000000 [[:xdigit:]]+ +- [[:xdigit:]]+ 0000000000000018 18 15 8 +- \[18\] \.strtab STRTAB 0000000000000000 [[:xdigit:]]+ ++ \[18\] \.shstrtab STRTAB 0000000000000000 [[:xdigit:]]+ + [[:xdigit:]]+ 0000000000000000 0 0 1 + #pass +diff -rup binutils.orig/gas/testsuite/gas/ia64/xdata-ilp32.d binutils-2.26.1/gas/testsuite/gas/ia64/xdata-ilp32.d +--- binutils.orig/gas/testsuite/gas/ia64/xdata-ilp32.d 2017-03-09 11:56:05.371079108 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/ia64/xdata-ilp32.d 2017-03-09 11:59:02.606216238 +0000 +@@ -23,7 +23,7 @@ Section Headers: + \[13\] \.xreal\[4\] PROGBITS 00000000 [[:xdigit:]]+ 000020 00 A 0 0 16 + \[14\] \.xstr<1> PROGBITS 00000000 [[:xdigit:]]+ 000003 00 A 0 0 1 + \[15\] \.xstr\{2\} PROGBITS 00000000 [[:xdigit:]]+ 000004 00 A 0 0 1 +- \[16\] .shstrtab STRTAB 00000000 [[:xdigit:]]+ [[:xdigit:]]+ 00 0 0 1 +- \[17\] .symtab SYMTAB 00000000 [[:xdigit:]]+ [[:xdigit:]]+ 10 18 15 4 +- \[18\] .strtab STRTAB 00000000 [[:xdigit:]]+ [[:xdigit:]]+ 00 0 0 1 ++ \[16\] .symtab SYMTAB 00000000 [[:xdigit:]]+ [[:xdigit:]]+ 10 17 15 4 ++ \[17\] .strtab STRTAB 00000000 [[:xdigit:]]+ [[:xdigit:]]+ 00 0 0 1 ++ \[18\] .shstrtab STRTAB 00000000 [[:xdigit:]]+ [[:xdigit:]]+ 00 0 0 1 + #pass +diff -rup binutils.orig/gas/testsuite/gas/mmix/bspec-1.d binutils-2.26.1/gas/testsuite/gas/mmix/bspec-1.d +--- binutils.orig/gas/testsuite/gas/mmix/bspec-1.d 2017-03-09 11:56:05.400078639 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/mmix/bspec-1.d 2017-03-09 11:59:02.606216238 +0000 +@@ -4,7 +4,7 @@ There are 9 section headers, starting at + +\[ 4\] \.MMIX\.spec_data\.2 +PROGBITS +0+ +0+44 + +0+4 +0+ +0 +0 +4 + +\[ 5\] \.rela\.MMIX\.spec_d +RELA +0+ +.* +- +0+18 +0+18 +I +7 +4 +8 ++ +0+18 +0+18 +I +6 +4 +8 + #... + Relocation section '\.rela\.MMIX\.spec_data\.2' at offset 0x[0-9a-f]+ contains 1 entries: + .* +diff -rup binutils.orig/gas/testsuite/gas/mmix/bspec-2.d binutils-2.26.1/gas/testsuite/gas/mmix/bspec-2.d +--- binutils.orig/gas/testsuite/gas/mmix/bspec-2.d 2017-03-09 11:56:05.400078639 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/mmix/bspec-2.d 2017-03-09 11:59:02.607216222 +0000 +@@ -4,11 +4,11 @@ There are 11 section headers, starting a + \[ 4\] \.MMIX\.spec_data\.2 PROGBITS 0+ 0+48 + 0+10 0+ 0 0 8 + \[ 5\] \.rela\.MMIX\.spec_d RELA 0+ .* +- +0+30 0+18 +I +9 +4 +8 ++ +0+30 0+18 +I +8 +4 +8 + \[ 6\] \.MMIX\.spec_data\.3 PROGBITS 0+ 0+58 + 0+8 0+ 0 0 8 + \[ 7\] \.rela\.MMIX\.spec_d RELA 0+ .* +- +0+18 +0+18 +I +9 +6 +8 ++ +0+18 +0+18 +I +8 +6 +8 + #... + Relocation section '\.rela\.MMIX\.spec_data\.2' at offset .* contains 2 entries: + .* +diff -rup binutils.orig/gas/testsuite/gas/mmix/byte-1.d binutils-2.26.1/gas/testsuite/gas/mmix/byte-1.d +--- binutils.orig/gas/testsuite/gas/mmix/byte-1.d 2017-03-09 11:56:05.400078639 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/mmix/byte-1.d 2017-03-09 11:59:02.607216222 +0000 +@@ -12,12 +12,12 @@ Section Headers: + +0000000000000000 +0000000000000000 +WA +0 +0 +1 + +\[ 3\] \.bss +NOBITS +0000000000000000 +00000056 + +0000000000000000 +0000000000000000 +WA +0 +0 +1 +- +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ +- +000000000000002c +0000000000000000 +0 +0 +1 +- +\[ 5\] \.symtab +SYMTAB +0000000000000000 .* +- +00000000000000c0 +0000000000000018 +6 +7 +8 +- +\[ 6\] \.strtab +STRTAB +0000000000000000 .* ++ +\[ 4\] \.symtab +SYMTAB +0000000000000000 .* ++ +00000000000000c0 +0000000000000018 +5 +7 +8 ++ +\[ 5\] \.strtab +STRTAB +0000000000000000 .* + +0000000000000018 +0000000000000000 +0 +0 +1 ++ +\[ 6\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ ++ +000000000000002c +0000000000000000 +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/gas/testsuite/gas/mmix/loc-1.d binutils-2.26.1/gas/testsuite/gas/mmix/loc-1.d +--- binutils.orig/gas/testsuite/gas/mmix/loc-1.d 2017-03-09 11:56:05.402078607 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/mmix/loc-1.d 2017-03-09 11:59:02.607216222 +0000 +@@ -13,12 +13,12 @@ Section Headers: + +0000000000000004 +0000000000000000 +WA +0 +0 +4 + +\[ 3\] \.bss +NOBITS +0000000000000000 +00000064 + +0000000000000000 +0000000000000000 +WA +0 +0 +1 +- +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ +- +000000000000002c +0000000000000000 +0 +0 +1 +- +\[ 5\] \.symtab +SYMTAB +0000000000000000 .* +- +00000000000000c0 +0000000000000018 +6 +6 +8 +- +\[ 6\] \.strtab +STRTAB +0000000000000000 .* ++ +\[ 4\] \.symtab +SYMTAB +0000000000000000 .* ++ +00000000000000c0 +0000000000000018 +5 +6 +8 ++ +\[ 5\] \.strtab +STRTAB +0000000000000000 .* + +000000000000002a +0000000000000000 +0 +0 +1 ++ +\[ 6\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ ++ +000000000000002c +0000000000000000 +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/gas/testsuite/gas/mmix/loc-2.d binutils-2.26.1/gas/testsuite/gas/mmix/loc-2.d +--- binutils.orig/gas/testsuite/gas/mmix/loc-2.d 2017-03-09 11:56:05.402078607 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/mmix/loc-2.d 2017-03-09 11:59:02.607216222 +0000 +@@ -13,12 +13,12 @@ Section Headers: + +0000000000000000 +0000000000000000 +WA +0 +0 +1 + +\[ 3\] \.bss +NOBITS +0000000000000000 +00000048 + +0000000000000000 +0000000000000000 +WA +0 +0 +1 +- +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ +- +000000000000002c +0000000000000000 +0 +0 +1 +- +\[ 5\] \.symtab +SYMTAB +0000000000000000 .* +- +0000000000000090 +0000000000000018 +6 +4 +8 +- +\[ 6\] \.strtab +STRTAB +0000000000000000 .* ++ +\[ 4\] \.symtab +SYMTAB +0000000000000000 .* ++ +0000000000000090 +0000000000000018 +5 +4 +8 ++ +\[ 5\] \.strtab +STRTAB +0000000000000000 .* + +000000000000001a +0000000000000000 +0 +0 +1 ++ +\[ 6\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ ++ +000000000000002c +0000000000000000 +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/gas/testsuite/gas/mmix/loc-3.d binutils-2.26.1/gas/testsuite/gas/mmix/loc-3.d +--- binutils.orig/gas/testsuite/gas/mmix/loc-3.d 2017-03-09 11:56:05.402078607 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/mmix/loc-3.d 2017-03-09 11:59:02.607216222 +0000 +@@ -12,12 +12,12 @@ Section Headers: + +0000000000000008 +0000000000000000 +WA +0 +0 +4 + +\[ 3\] \.bss +NOBITS +0000000000000000 +00000054 + +0000000000000000 +0000000000000000 +WA +0 +0 +1 +- +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ +- +000000000000002c +0000000000000000 +0 +0 +1 +- +\[ 5\] \.symtab +SYMTAB +0000000000000000 .* +- +00000000000000c0 +0000000000000018 +6 +5 +8 +- +\[ 6\] \.strtab +STRTAB +0000000000000000 .* ++ +\[ 4\] \.symtab +SYMTAB +0000000000000000 .* ++ +00000000000000c0 +0000000000000018 +5 +5 +8 ++ +\[ 5\] \.strtab +STRTAB +0000000000000000 .* + +000000000000002e +0000000000000000 +0 +0 +1 ++ +\[ 6\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ ++ +000000000000002c +0000000000000000 +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/gas/testsuite/gas/mmix/loc-4.d binutils-2.26.1/gas/testsuite/gas/mmix/loc-4.d +--- binutils.orig/gas/testsuite/gas/mmix/loc-4.d 2017-03-09 11:56:05.402078607 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/mmix/loc-4.d 2017-03-09 11:59:02.607216222 +0000 +@@ -12,12 +12,12 @@ Section Headers: + +0000000000000004 +0000000000000000 +WA +0 +0 +4 + +\[ 3\] \.bss +NOBITS +0000000000000000 +0000005c + +0000000000000000 +0000000000000000 +WA +0 +0 +1 +- +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ +- +000000000000002c +0000000000000000 +0 +0 +1 +- +\[ 5\] \.symtab +SYMTAB +0000000000000000 .* +- +00000000000000c0 +0000000000000018 +6 +5 +8 +- +\[ 6\] \.strtab +STRTAB +0000000000000000 .* ++ +\[ 4\] \.symtab +SYMTAB +0000000000000000 .* ++ +00000000000000c0 +0000000000000018 +5 +5 +8 ++ +\[ 5\] \.strtab +STRTAB +0000000000000000 .* + +000000000000003b +0000000000000000 +0 +0 +1 ++ +\[ 6\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+ ++ +000000000000002c +0000000000000000 +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/gas/testsuite/gas/mmix/loc-5.d binutils-2.26.1/gas/testsuite/gas/mmix/loc-5.d +--- binutils.orig/gas/testsuite/gas/mmix/loc-5.d 2017-03-09 11:56:05.402078607 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/mmix/loc-5.d 2017-03-09 11:59:02.607216222 +0000 +@@ -12,12 +12,12 @@ Section Headers: + +0+24 +0+ +WA +0 +0 +4 + +\[ 3\] \.bss +NOBITS +0+ +0+6c + +0+ +0+ +WA +0 +0 +1 +- +\[ 4\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ +- +0+2c +0+ +0 +0 +1 +- +\[ 5\] \.symtab +SYMTAB +0+ .* +- +0+c0 +0+18 +6 +6 +8 +- +\[ 6\] \.strtab +STRTAB +0+ .* ++ +\[ 4\] \.symtab +SYMTAB +0+ .* ++ +0+c0 +0+18 +5 +6 +8 ++ +\[ 5\] \.strtab +STRTAB +0+ .* + +0+27 +0+ +0 +0 +1 ++ +\[ 6\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ ++ +0+2c +0+ +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/gas/testsuite/gas/tic6x/scomm-directive-4.d binutils-2.26.1/gas/testsuite/gas/tic6x/scomm-directive-4.d +--- binutils.orig/gas/testsuite/gas/tic6x/scomm-directive-4.d 2017-03-09 11:56:05.429078171 +0000 ++++ binutils-2.26.1/gas/testsuite/gas/tic6x/scomm-directive-4.d 2017-03-09 11:59:02.607216222 +0000 +@@ -12,9 +12,9 @@ Section Headers: + \[ 2\] \.data PROGBITS 00000000 000034 000000 00 WA 0 0 1 + \[ 3\] \.bss NOBITS 00000000 000034 000000 00 WA 0 0 1 + \[ 4\] \.c6xabi\.attribute C6000_ATTRIBUTE 00000000 000034 000013 00 0 0 1 +- \[ 5\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00003f 00 0 0 1 +- \[ 6\] \.symtab SYMTAB 00000000 [0-9a-f]+ 0000d0 10 7 5 4 +- \[ 7\] \.strtab STRTAB 00000000 [0-9a-f]+ 00001d 00 0 0 1 ++ \[ 5\] \.symtab SYMTAB 00000000 [0-9a-f]+ 0000d0 10 6 5 4 ++ \[ 6\] \.strtab STRTAB 00000000 [0-9a-f]+ 00001d 00 0 0 1 ++ \[ 7\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00003f 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/gas/testsuite/gas/tic6x: scomm-directive-4.d.orig +diff -rup binutils.orig/ld/testsuite/ld-alpha/tlsbin.rd binutils-2.26.1/ld/testsuite/ld-alpha/tlsbin.rd +--- binutils.orig/ld/testsuite/ld-alpha/tlsbin.rd 2017-03-09 11:56:05.472077476 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-alpha/tlsbin.rd 2017-03-09 11:59:02.607216222 +0000 +@@ -24,9 +24,9 @@ Section Headers: + +\[[ 0-9]+\] .tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 WAT +0 +0 +1 + +\[[ 0-9]+\] .dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 10 +WA +4 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WA +0 +0 +8 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + #... + + Elf file type is EXEC \(Executable file\) +diff -rup binutils.orig/ld/testsuite/ld-alpha/tlsbinr.rd binutils-2.26.1/ld/testsuite/ld-alpha/tlsbinr.rd +--- binutils.orig/ld/testsuite/ld-alpha/tlsbinr.rd 2017-03-09 11:56:05.472077476 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-alpha/tlsbinr.rd 2017-03-09 11:59:02.607216222 +0000 +@@ -24,9 +24,9 @@ Section Headers: + +\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 0+ WAT +0 +0 +1 + +\[[ 0-9]+\] \.dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 10 +WA +4 +0 +8 + +\[[ 0-9]+\] \.got +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 0+ +WA +0 +0 +8 +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + #... + + Elf file type is EXEC \(Executable file\) +diff -rup binutils.orig/ld/testsuite/ld-alpha/tlspic.rd binutils-2.26.1/ld/testsuite/ld-alpha/tlspic.rd +--- binutils.orig/ld/testsuite/ld-alpha/tlspic.rd 2017-03-09 11:56:05.472077476 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-alpha/tlspic.rd 2017-03-09 11:59:02.607216222 +0000 +@@ -23,9 +23,9 @@ Section Headers: + +\[[ 0-9]+\] .tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 0+ WAT +0 +0 +1 + +\[[ 0-9]+\] .dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 10 +WA +3 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 0+ +WA +0 +0 +8 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + #... + + Elf file type is DYN \(Shared object file\) +diff -rup binutils.orig/ld/testsuite/ld-cris/libdso-2.d binutils-2.26.1/ld/testsuite/ld-cris/libdso-2.d +--- binutils.orig/ld/testsuite/ld-cris/libdso-2.d 2017-03-09 11:56:05.483077299 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-cris/libdso-2.d 2017-03-09 11:59:02.607216222 +0000 +@@ -21,9 +21,9 @@ There are 13 section headers.* + +\[ 7\] \.text +PROGBITS .* + +\[ 8\] \.dynamic +DYNAMIC +.* + +\[ 9\] \.got +PROGBITS .* +- +\[10\] \.shstrtab +STRTAB +.* +- +\[11\] \.symtab +SYMTAB +.* +- +\[12\] \.strtab +STRTAB +.* ++ +\[10\] \.symtab +SYMTAB +.* ++ +\[11\] \.strtab +STRTAB +.* ++ +\[12\] \.shstrtab +STRTAB +.* + #... + Relocation section '\.rela\.dyn' at offset 0x[0-9a-f]+ contains 1 entries: + #... +diff -rup binutils.orig/ld/testsuite/ld-i386/nogot1.d binutils-2.26.1/ld/testsuite/ld-i386/nogot1.d +--- binutils.orig/ld/testsuite/ld-i386/nogot1.d 2017-03-09 11:56:05.503076976 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/nogot1.d 2017-03-09 11:59:02.607216222 +0000 +@@ -4,5 +4,6 @@ + + #... + [ ]*\[.*\][ ]+\.dynamic[ ]+DYNAMIC.* ++#... + [ ]*\[.*\][ ]+.*STRTAB.* + #pass +diff -rup binutils.orig/ld/testsuite/ld-i386/pr12718.d binutils-2.26.1/ld/testsuite/ld-i386/pr12718.d +--- binutils.orig/ld/testsuite/ld-i386/pr12718.d 2017-03-09 11:56:05.503076976 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/pr12718.d 2017-03-09 11:59:02.607216222 +0000 +@@ -9,9 +9,9 @@ Section Headers: + +\[Nr\] Name +Type +Addr +Off +Size +ES +Flg +Lk +Inf +Al + +\[ 0\] +NULL +0+ +0+ +0+ +0+ +0 +0 +0 + +\[ 1\] +.text +PROGBITS +[0-9a-f]+ +[0-9a-f]+ +000006 00 +AX +0 +0 +1 +- +\[ 2\] +.shstrtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +0+ +0 +0 +1 +- +\[ 3\] +.symtab +SYMTAB +0+ +[0-9a-f]+ +[0-9a-f]+ 10 +4 +[0-9] +4 +- +\[ 4\] +.strtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ 00 +0 +0 +1 ++ +\[ 2\] +.symtab +SYMTAB +0+ +[0-9a-f]+ +[0-9a-f]+ 10 +3 +[0-9] +4 ++ +\[ 3\] +.strtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ 00 +0 +0 +1 ++ +\[ 4\] +.shstrtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +0+ +0 +0 +1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-i386: pr12718.d.orig +diff -rup binutils.orig/ld/testsuite/ld-i386/pr12921.d binutils-2.26.1/ld/testsuite/ld-i386/pr12921.d +--- binutils.orig/ld/testsuite/ld-i386/pr12921.d 2017-03-09 11:56:05.503076976 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/pr12921.d 2017-03-09 11:59:02.607216222 +0000 +@@ -11,9 +11,9 @@ Section Headers: + +\[ 1\] .text +PROGBITS +[0-9a-f]+ +[0-9a-f]+ +0+1 00 +AX +0 +0 +4096 + +\[ 2\] .data +PROGBITS +[0-9a-f]+ +[0-9a-f]+000 +0+20 +00 +WA +0 +0 +4096 + +\[ 3\] .bss +NOBITS +[0-9a-f]+ +[0-9a-f]+020 +0+10000 +00 +WA +0 +0 +4096 +- +\[ 4\] .shstrtab +STRTAB +0+ +[0-9a-f]+ +0+2c +00 +0 +0 +1 +- +\[ 5\] .symtab +SYMTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +10 +6 +[0-9] +4 +- +\[ 6\] .strtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +00 +0 +0 +1 ++ +\[ 4\] .symtab +SYMTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +10 +5 +[0-9] +4 ++ +\[ 5\] .strtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +00 +0 +0 +1 ++ +\[ 6\] .shstrtab +STRTAB +0+ +[0-9a-f]+ +0+2c +00 +0 +0 +1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-i386: pr12921.d.orig +diff -rup binutils.orig/ld/testsuite/ld-i386/tlsbindesc-nacl.rd binutils-2.26.1/ld/testsuite/ld-i386/tlsbindesc-nacl.rd +--- binutils.orig/ld/testsuite/ld-i386/tlsbindesc-nacl.rd 2017-03-09 11:56:05.504076960 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/tlsbindesc-nacl.rd 2017-03-09 11:59:25.113852670 +0000 +@@ -21,9 +21,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +DYNAMIC +0*10031060 .* + +\[[ 0-9]+\] \.got +PROGBITS +0*100310e0 .* + +\[[ 0-9]+\] \.got\.plt +PROGBITS +0*10031104 .* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-i386: tlsbindesc-nacl.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-i386/tlsbindesc.rd binutils-2.26.1/ld/testsuite/ld-i386/tlsbindesc.rd +--- binutils.orig/ld/testsuite/ld-i386/tlsbindesc.rd 2017-03-09 11:56:05.505076943 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/tlsbindesc.rd 2017-03-09 11:59:25.113852670 +0000 +@@ -21,9 +21,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +DYNAMIC +0+804a060 .* + +\[[ 0-9]+\] \.got +PROGBITS +0+804a0e0 .* + +\[[ 0-9]+\] \.got\.plt +PROGBITS +0+804a104 .* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-i386: tlsbindesc.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-i386/tlsbin-nacl.rd binutils-2.26.1/ld/testsuite/ld-i386/tlsbin-nacl.rd +--- binutils.orig/ld/testsuite/ld-i386/tlsbin-nacl.rd 2017-03-09 11:56:05.504076960 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/tlsbin-nacl.rd 2017-03-09 11:59:02.607216222 +0000 +@@ -23,9 +23,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +DYNAMIC +0*10031060 .* + +\[[ 0-9]+\] \.got +PROGBITS +0*10031100 .* + +\[[ 0-9]+\] \.got\.plt +PROGBITS +0*10031124 .* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-i386: tlsbin-nacl.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-i386/tlsbin.rd binutils-2.26.1/ld/testsuite/ld-i386/tlsbin.rd +--- binutils.orig/ld/testsuite/ld-i386/tlsbin.rd 2017-03-09 11:56:05.504076960 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/tlsbin.rd 2017-03-09 11:59:02.607216222 +0000 +@@ -23,9 +23,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +DYNAMIC +0+804a060 .* + +\[[ 0-9]+\] \.got +PROGBITS +0+804a100 .* + +\[[ 0-9]+\] \.got\.plt +PROGBITS +0+804a124 .* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-i386: tlsbin.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-i386/tlsdesc-nacl.rd binutils-2.26.1/ld/testsuite/ld-i386/tlsdesc-nacl.rd +--- binutils.orig/ld/testsuite/ld-i386/tlsdesc-nacl.rd 2017-03-09 11:56:05.505076943 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/tlsdesc-nacl.rd 2017-03-09 11:59:25.114852654 +0000 +@@ -21,9 +21,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +.* + +\[[ 0-9]+\] \.got +.* + +\[[ 0-9]+\] \.got.plt +.* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-i386: tlsdesc-nacl.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-i386/tlsdesc.rd binutils-2.26.1/ld/testsuite/ld-i386/tlsdesc.rd +--- binutils.orig/ld/testsuite/ld-i386/tlsdesc.rd 2017-03-09 11:56:05.505076943 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/tlsdesc.rd 2017-03-09 11:59:25.114852654 +0000 +@@ -21,9 +21,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +.* + +\[[ 0-9]+\] \.got +.* + +\[[ 0-9]+\] \.got.plt +.* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-i386: tlsdesc.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-i386/tlsgdesc-nacl.rd binutils-2.26.1/ld/testsuite/ld-i386/tlsgdesc-nacl.rd +--- binutils.orig/ld/testsuite/ld-i386/tlsgdesc-nacl.rd 2017-03-09 11:56:05.505076943 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/tlsgdesc-nacl.rd 2017-03-09 11:59:25.114852654 +0000 +@@ -19,9 +19,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +.* + +\[[ 0-9]+\] \.got +.* + +\[[ 0-9]+\] \.got.plt +.* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-i386: tlsgdesc-nacl.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-i386/tlsgdesc.rd binutils-2.26.1/ld/testsuite/ld-i386/tlsgdesc.rd +--- binutils.orig/ld/testsuite/ld-i386/tlsgdesc.rd 2017-03-09 11:56:05.505076943 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/tlsgdesc.rd 2017-03-09 11:59:25.115852638 +0000 +@@ -19,9 +19,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +.* + +\[[ 0-9]+\] \.got +.* + +\[[ 0-9]+\] \.got.plt +.* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-i386: tlsgdesc.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-i386/tlsnopic-nacl.rd binutils-2.26.1/ld/testsuite/ld-i386/tlsnopic-nacl.rd +--- binutils.orig/ld/testsuite/ld-i386/tlsnopic-nacl.rd 2017-03-09 11:56:05.505076943 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/tlsnopic-nacl.rd 2017-03-09 11:59:25.115852638 +0000 +@@ -19,9 +19,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +DYNAMIC +0*10010284 .* + +\[[ 0-9]+\] \.got +PROGBITS +0*10010304 .* + +\[[ 0-9]+\] \.got.plt +PROGBITS +0*1001031c .* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-i386: tlsnopic-nacl.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-i386/tlsnopic.rd binutils-2.26.1/ld/testsuite/ld-i386/tlsnopic.rd +--- binutils.orig/ld/testsuite/ld-i386/tlsnopic.rd 2017-03-09 11:56:05.505076943 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/tlsnopic.rd 2017-03-09 11:59:25.115852638 +0000 +@@ -19,9 +19,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +DYNAMIC +0+20f4 .* + +\[[ 0-9]+\] \.got +PROGBITS +0+2174 .* + +\[[ 0-9]+\] \.got.plt +PROGBITS +0+218c .* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-i386: tlsnopic.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-i386/tlspic-nacl.rd binutils-2.26.1/ld/testsuite/ld-i386/tlspic-nacl.rd +--- binutils.orig/ld/testsuite/ld-i386/tlspic-nacl.rd 2017-03-09 11:56:05.505076943 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/tlspic-nacl.rd 2017-03-09 11:59:25.116852622 +0000 +@@ -22,9 +22,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +.* + +\[[ 0-9]+\] \.got +.* + +\[[ 0-9]+\] \.got.plt +.* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-i386: tlspic-nacl.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-i386/tlspic.rd binutils-2.26.1/ld/testsuite/ld-i386/tlspic.rd +--- binutils.orig/ld/testsuite/ld-i386/tlspic.rd 2017-03-09 11:56:05.505076943 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-i386/tlspic.rd 2017-03-09 11:59:25.116852622 +0000 +@@ -22,9 +22,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +.* + +\[[ 0-9]+\] \.got +.* + +\[[ 0-9]+\] \.got.plt +.* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-i386: tlspic.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-ia64/tlsbin.rd binutils-2.26.1/ld/testsuite/ld-ia64/tlsbin.rd +--- binutils.orig/ld/testsuite/ld-ia64/tlsbin.rd 2017-03-09 11:56:05.506076927 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-ia64/tlsbin.rd 2017-03-09 11:59:28.586796572 +0000 +@@ -25,9 +25,9 @@ Section Headers: + +\[[ 0-9]+\] .dynamic +DYNAMIC +60+1[0-9a-f]+ 0+1[0-9a-f]+ 0+150 10 +WA +4 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +60+1318 0+1318 0+48 00 WAp +0 +0 +8 + +\[[ 0-9]+\] .IA_64.pltoff +.* +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + #... + + Elf file type is EXEC \(Executable file\) +diff -rup binutils.orig/ld/testsuite/ld-ia64/tlspic.rd binutils-2.26.1/ld/testsuite/ld-ia64/tlspic.rd +--- binutils.orig/ld/testsuite/ld-ia64/tlspic.rd 2017-03-09 11:56:05.506076927 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-ia64/tlspic.rd 2017-03-09 11:59:28.586796572 +0000 +@@ -24,9 +24,9 @@ Section Headers: + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+11[0-9a-f]+ 0+1[0-9a-f]+ 0+140 10 +WA +3 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +0+112d8 0+12d8 0+50 00 WAp +0 +0 +8 + +\[[ 0-9]+\] .IA_64.pltoff +.* +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + Key to Flags: + #... + +diff -rup binutils.orig/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d binutils-2.26.1/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d +--- binutils.orig/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d 2017-03-09 11:56:05.511076846 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-mips-elf/attr-gnu-4-10.d 2017-03-09 11:59:28.586796572 +0000 +@@ -22,7 +22,7 @@ ELF Header: + Number of program headers: 0 + Size of section headers: 40 \(bytes\) + Number of section headers: 11 +- Section header string table index: 8 ++ Section header string table index: 10 + + Attribute Section: gnu + File Attributes +diff -rup binutils.orig/ld/testsuite/ld-mips-elf/attr-gnu-4-50.d binutils-2.26.1/ld/testsuite/ld-mips-elf/attr-gnu-4-50.d +--- binutils.orig/ld/testsuite/ld-mips-elf/attr-gnu-4-50.d 2017-03-09 11:56:05.512076830 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-mips-elf/attr-gnu-4-50.d 2017-03-09 11:59:28.586796572 +0000 +@@ -22,7 +22,7 @@ ELF Header: + Number of program headers: 0 + Size of section headers: 40 \(bytes\) + Number of section headers: 11 +- Section header string table index: 8 ++ Section header string table index: 10 + Attribute Section: gnu + File Attributes + Tag_GNU_MIPS_ABI_FP: Hard float \(32-bit CPU, Any FPU\) +diff -rup binutils.orig/ld/testsuite/ld-mips-elf/attr-gnu-4-60.d binutils-2.26.1/ld/testsuite/ld-mips-elf/attr-gnu-4-60.d +--- binutils.orig/ld/testsuite/ld-mips-elf/attr-gnu-4-60.d 2017-03-09 11:56:05.512076830 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-mips-elf/attr-gnu-4-60.d 2017-03-09 11:59:28.587796556 +0000 +@@ -22,7 +22,7 @@ ELF Header: + Number of program headers: 0 + Size of section headers: 40 \(bytes\) + Number of section headers: 11 +- Section header string table index: 8 ++ Section header string table index: 10 + Attribute Section: gnu + File Attributes + Tag_GNU_MIPS_ABI_FP: Hard float \(32-bit CPU, 64-bit FPU\) +diff -rup binutils.orig/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d binutils-2.26.1/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d +--- binutils.orig/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d 2017-03-09 11:56:05.512076830 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-mips-elf/attr-gnu-4-70.d 2017-03-09 11:59:28.587796556 +0000 +@@ -22,7 +22,7 @@ ELF Header: + Number of program headers: 0 + Size of section headers: 40 \(bytes\) + Number of section headers: 11 +- Section header string table index: 8 ++ Section header string table index: 10 + Attribute Section: gnu + File Attributes + Tag_GNU_MIPS_ABI_FP: Hard float compat \(32-bit CPU, 64-bit FPU\) +diff -rup binutils.orig/ld/testsuite/ld-mmix/bspec1.d binutils-2.26.1/ld/testsuite/ld-mmix/bspec1.d +--- binutils.orig/ld/testsuite/ld-mmix/bspec1.d 2017-03-09 11:56:05.521076685 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-mmix/bspec1.d 2017-03-09 11:59:28.587796556 +0000 +@@ -14,12 +14,12 @@ Section Headers: + +0+4 +0+ +AX +0 +0 +4 + +\[ 2\] \.MMIX\.spec_data\.2 PROGBITS +0+ +0+7c + +0+4 +0+ +0 +0 +4 +- +\[ 3\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ +- +0+33 +0+ +0 +0 +1 +- +\[ 4\] \.symtab +SYMTAB +0+ .* +- +0+d8 +0+18 +5 +3 +8 +- +\[ 5\] \.strtab +STRTAB +0+ .* ++ +\[ 3\] \.symtab +SYMTAB +0+ .* ++ +0+d8 +0+18 +4 +3 +8 ++ +\[ 4\] \.strtab +STRTAB +0+ .* + +0+26 +0+ +0 +0 +1 ++ +\[ 5\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ ++ +0+33 +0+ +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/ld/testsuite/ld-mmix/bspec2.d binutils-2.26.1/ld/testsuite/ld-mmix/bspec2.d +--- binutils.orig/ld/testsuite/ld-mmix/bspec2.d 2017-03-09 11:56:05.521076685 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-mmix/bspec2.d 2017-03-09 11:59:28.587796556 +0000 +@@ -19,12 +19,12 @@ Section Headers: + +0+8 +0+ +0 +0 +4 + +\[ 3\] \.MMIX\.spec_data\.3 PROGBITS +0+ +0+84 + +0+4 +0+ +0 +0 +4 +- +\[ 4\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ +- +0+45 +0+ +0 +0 +1 +- +\[ 5\] \.symtab +SYMTAB +0+ .* +- +0+108 +0+18 +6 +4 +8 +- +\[ 6\] \.strtab +STRTAB +0+ .* ++ +\[ 4\] \.symtab +SYMTAB +0+ .* ++ +0+108 +0+18 +5 +4 +8 ++ +\[ 5\] \.strtab +STRTAB +0+ .* + +0+2b +0+ +0 +0 +1 ++ +\[ 6\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ ++ +0+45 +0+ +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/ld/testsuite/ld-mmix/local1.d binutils-2.26.1/ld/testsuite/ld-mmix/local1.d +--- binutils.orig/ld/testsuite/ld-mmix/local1.d 2017-03-09 11:56:05.523076653 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-mmix/local1.d 2017-03-09 11:59:28.588796540 +0000 +@@ -21,12 +21,12 @@ Section Headers: + +0+8 +0+ +AX +0 +0 +4 + +\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+80 + +0+10 +0+ +W +0 +0 +1 +- +\[ 3\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ +- +0+34 +0+ +0 +0 +1 +- +\[ 4\] \.symtab +SYMTAB +0+ +[0-9a-f]+ +- +[0-9a-f]+ +0+18 +5 +[0-9] +8 +- +\[ 5\] \.strtab +STRTAB +0+ +[0-9a-f]+ ++ +\[ 3\] \.symtab +SYMTAB +0+ +[0-9a-f]+ ++ +[0-9a-f]+ +0+18 +4 +[0-9] +8 ++ +\[ 4\] \.strtab +STRTAB +0+ +[0-9a-f]+ + +[0-9a-f]+ +0+ +0 +0 +1 ++ +\[ 5\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ ++ +0+34 +0+ +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/ld/testsuite/ld-mmix/local3.d binutils-2.26.1/ld/testsuite/ld-mmix/local3.d +--- binutils.orig/ld/testsuite/ld-mmix/local3.d 2017-03-09 11:56:05.523076653 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-mmix/local3.d 2017-03-09 11:59:28.588796540 +0000 +@@ -19,12 +19,12 @@ Section Headers: + +0+8 +0+ +AX +0 +0 +4 + +\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+80 + +0+10 +0+ +W +0 +0 +1 +- +\[ 3\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ +- +0+34 +0+ +0 +0 +1 +- +\[ 4\] \.symtab +SYMTAB +0+ +[0-9a-f]+ +- +[0-9a-f]+ +0+18 +5 +[0-9] +8 +- +\[ 5\] \.strtab +STRTAB +0+ +[0-9a-f]+ ++ +\[ 3\] \.symtab +SYMTAB +0+ +[0-9a-f]+ ++ +[0-9a-f]+ +0+18 +4 +[0-9] +8 ++ +\[ 4\] \.strtab +STRTAB +0+ +[0-9a-f]+ + +[0-9a-f]+ +0+ +0 +0 +1 ++ +\[ 5\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ ++ +0+34 +0+ +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/ld/testsuite/ld-mmix/local5.d binutils-2.26.1/ld/testsuite/ld-mmix/local5.d +--- binutils.orig/ld/testsuite/ld-mmix/local5.d 2017-03-09 11:56:05.523076653 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-mmix/local5.d 2017-03-09 11:59:28.588796540 +0000 +@@ -20,12 +20,12 @@ Section Headers: + +0+c +0+ +AX +0 +0 +4 + +\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+84 + +0+10 +0+ +W +0 +0 +1 +- +\[ 3\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ +- +0+34 +0+ +0 +0 +1 +- +\[ 4\] \.symtab +SYMTAB +0+ +[0-9a-f]+ +- +[0-9a-f]+ +0+18 +5 +[0-9] +8 +- +\[ 5\] \.strtab +STRTAB +0+ +[0-9a-f]+ ++ +\[ 3\] \.symtab +SYMTAB +0+ +[0-9a-f]+ ++ +[0-9a-f]+ +0+18 +4 +[0-9] +8 ++ +\[ 4\] \.strtab +STRTAB +0+ +[0-9a-f]+ + +[0-9a-f]+ +0+ +0 +0 +1 ++ +\[ 5\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ ++ +0+34 +0+ +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/ld/testsuite/ld-mmix/local7.d binutils-2.26.1/ld/testsuite/ld-mmix/local7.d +--- binutils.orig/ld/testsuite/ld-mmix/local7.d 2017-03-09 11:56:05.523076653 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-mmix/local7.d 2017-03-09 11:59:28.588796540 +0000 +@@ -21,12 +21,12 @@ Section Headers: + +0+c +0+ +AX +0 +0 +4 + +\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+84 + +0+10 +0+ +W +0 +0 +1 +- +\[ 3\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ +- +0+34 +0+ +0 +0 +1 +- +\[ 4\] \.symtab +SYMTAB +0+ +[0-9a-f]+ +- +[0-9a-f]+ +0+18 +5 +[0-9] +8 +- +\[ 5\] \.strtab +STRTAB +0+ +[0-9a-f]+ ++ +\[ 3\] \.symtab +SYMTAB +0+ +[0-9a-f]+ ++ +[0-9a-f]+ +0+18 +4 +[0-9] +8 ++ +\[ 4\] \.strtab +STRTAB +0+ +[0-9a-f]+ + +[0-9a-f]+ +0+ +0 +0 +1 ++ +\[ 5\] \.shstrtab +STRTAB +0+ +[0-9a-f]+ ++ +0+34 +0+ +0 +0 +1 + Key to Flags: + #... + +Only in binutils-2.26.1/ld/testsuite/ld-mmix: undef-3.d.orig +Only in binutils-2.26.1/ld/testsuite/ld-mmix: undef-3.d.rej +diff -rup binutils.orig/ld/testsuite/ld-powerpc/tlsexe32.r binutils-2.26.1/ld/testsuite/ld-powerpc/tlsexe32.r +--- binutils.orig/ld/testsuite/ld-powerpc/tlsexe32.r 2017-03-09 11:56:05.534076475 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-powerpc/tlsexe32.r 2017-03-09 11:59:28.589796524 +0000 +@@ -22,9 +22,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4 + +\[[ 0-9]+\] \.got +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000018 04 +WA +0 +0 +4 + +\[[ 0-9]+\] \.plt +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000004 00 +WA +0 +0 +4 +- +\[[ 0-9]+\] \.shstrtab +STRTAB +.* + +\[[ 0-9]+\] \.symtab +SYMTAB +.* + +\[[ 0-9]+\] \.strtab +STRTAB +.* ++ +\[[ 0-9]+\] \.shstrtab +STRTAB +.* + #... + + Elf file type is EXEC \(Executable file\) +diff -rup binutils.orig/ld/testsuite/ld-powerpc/tlsexe.r binutils-2.26.1/ld/testsuite/ld-powerpc/tlsexe.r +--- binutils.orig/ld/testsuite/ld-powerpc/tlsexe.r 2017-03-09 11:56:05.533076491 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-powerpc/tlsexe.r 2017-03-09 11:59:28.589796524 +0000 +@@ -23,9 +23,9 @@ Section Headers: + +\[[ 0-9]+\] \.opd .* + +\[[ 0-9]+\] \.got +PROGBITS .* 0+30 08 +WA +0 +0 +256 + +\[[ 0-9]+\] \.plt +.* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + #... + + Elf file type is EXEC \(Executable file\) +diff -rup binutils.orig/ld/testsuite/ld-powerpc/tlsexetoc.r binutils-2.26.1/ld/testsuite/ld-powerpc/tlsexetoc.r +--- binutils.orig/ld/testsuite/ld-powerpc/tlsexetoc.r 2017-03-09 11:56:05.534076475 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-powerpc/tlsexetoc.r 2017-03-09 11:59:28.589796524 +0000 +@@ -23,9 +23,9 @@ Section Headers: + +\[[ 0-9]+\] \.opd .* + +\[[ 0-9]+\] \.got +PROGBITS .* 0+58 08 +WA +0 +0 +256 + +\[[ 0-9]+\] \.plt +.* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + #... + + Elf file type is EXEC \(Executable file\) +diff -rup binutils.orig/ld/testsuite/ld-powerpc/tlsso32.r binutils-2.26.1/ld/testsuite/ld-powerpc/tlsso32.r +--- binutils.orig/ld/testsuite/ld-powerpc/tlsso32.r 2017-03-09 11:56:05.534076475 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-powerpc/tlsso32.r 2017-03-09 11:59:28.590796507 +0000 +@@ -20,9 +20,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +DYNAMIC .* 08 +WA +3 +0 +4 + +\[[ 0-9]+\] \.got +PROGBITS .* 0+30 04 +WA +0 +0 +4 + +\[[ 0-9]+\] \.plt +PROGBITS .* 0+4 00 +WA +0 +0 +4 +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + #... + + Elf file type is DYN \(Shared object file\) +diff -rup binutils.orig/ld/testsuite/ld-powerpc/tlsso.r binutils-2.26.1/ld/testsuite/ld-powerpc/tlsso.r +--- binutils.orig/ld/testsuite/ld-powerpc/tlsso.r 2017-03-09 11:56:05.534076475 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-powerpc/tlsso.r 2017-03-09 11:59:28.590796507 +0000 +@@ -21,9 +21,9 @@ Section Headers: + +\[[ 0-9]+\] \.opd .* + +\[[ 0-9]+\] \.got .* + +\[[ 0-9]+\] \.plt .* +- +\[[ 0-9]+\] \.shstrtab .* + +\[[ 0-9]+\] \.symtab .* + +\[[ 0-9]+\] \.strtab .* ++ +\[[ 0-9]+\] \.shstrtab .* + #... + + Elf file type is DYN \(Shared object file\) +diff -rup binutils.orig/ld/testsuite/ld-powerpc/tlstocso.r binutils-2.26.1/ld/testsuite/ld-powerpc/tlstocso.r +--- binutils.orig/ld/testsuite/ld-powerpc/tlstocso.r 2017-03-09 11:56:05.534076475 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-powerpc/tlstocso.r 2017-03-09 11:59:28.590796507 +0000 +@@ -21,9 +21,9 @@ Section Headers: + +\[[ 0-9]+\] \.opd .* + +\[[ 0-9]+\] \.got .* + +\[[ 0-9]+\] \.plt .* +- +\[[ 0-9]+\] \.shstrtab .* + +\[[ 0-9]+\] \.symtab .* + +\[[ 0-9]+\] \.strtab .* ++ +\[[ 0-9]+\] \.shstrtab .* + #... + + Elf file type is DYN \(Shared object file\) +diff -rup binutils.orig/ld/testsuite/ld-s390/tlsbin_64.rd binutils-2.26.1/ld/testsuite/ld-s390/tlsbin_64.rd +--- binutils.orig/ld/testsuite/ld-s390/tlsbin_64.rd 2017-03-09 11:56:05.535076459 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-s390/tlsbin_64.rd 2017-03-09 11:59:28.590796507 +0000 +@@ -22,9 +22,9 @@ Section Headers: + +\[[ 0-9]+\] .tbss +NOBITS .* 0+40 00 WAT +0 +0 +1 + +\[[ 0-9]+\] .dynamic +DYNAMIC .* + +\[[ 0-9]+\] .got +PROGBITS .* +- +\[[ 0-9]+\] .shstrtab .* + +\[[ 0-9]+\] .symtab .* + +\[[ 0-9]+\] .strtab .* ++ +\[[ 0-9]+\] .shstrtab .* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-s390: tlsbin_64.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-s390/tlsbin.rd binutils-2.26.1/ld/testsuite/ld-s390/tlsbin.rd +--- binutils.orig/ld/testsuite/ld-s390/tlsbin.rd 2017-03-09 11:56:05.535076459 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-s390/tlsbin.rd 2017-03-09 11:59:28.590796507 +0000 +@@ -22,9 +22,9 @@ Section Headers: + +\[[ 0-9]+\] .tbss +NOBITS .* 0+40 00 WAT +0 +0 +1 + +\[[ 0-9]+\] .dynamic +DYNAMIC .* + +\[[ 0-9]+\] .got +PROGBITS .* +- +\[[ 0-9]+\] .shstrtab .* + +\[[ 0-9]+\] .symtab .* + +\[[ 0-9]+\] .strtab .* ++ +\[[ 0-9]+\] .shstrtab .* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-s390: tlsbin.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-s390/tlspic_64.rd binutils-2.26.1/ld/testsuite/ld-s390/tlspic_64.rd +--- binutils.orig/ld/testsuite/ld-s390/tlspic_64.rd 2017-03-09 11:56:05.536076443 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-s390/tlspic_64.rd 2017-03-09 11:59:28.590796507 +0000 +@@ -21,9 +21,9 @@ Section Headers: + +\[[ 0-9]+\] .tbss +NOBITS .* 0+20 00 WAT +0 +0 +1 + +\[[ 0-9]+\] .dynamic +DYNAMIC .* + +\[[ 0-9]+\] .got +PROGBITS .* +- +\[[ 0-9]+\] .shstrtab .* + +\[[ 0-9]+\] .symtab .* + +\[[ 0-9]+\] .strtab .* ++ +\[[ 0-9]+\] .shstrtab .* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-s390: tlspic_64.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-s390/tlspic.rd binutils-2.26.1/ld/testsuite/ld-s390/tlspic.rd +--- binutils.orig/ld/testsuite/ld-s390/tlspic.rd 2017-03-09 11:56:05.536076443 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-s390/tlspic.rd 2017-03-09 11:59:28.590796507 +0000 +@@ -21,9 +21,9 @@ Section Headers: + +\[[ 0-9]+\] .tbss +NOBITS .* 0+20 00 WAT +0 +0 +1 + +\[[ 0-9]+\] .dynamic +DYNAMIC .* + +\[[ 0-9]+\] .got +PROGBITS .* +- +\[[ 0-9]+\] .shstrtab .* + +\[[ 0-9]+\] .symtab .* + +\[[ 0-9]+\] .strtab .* ++ +\[[ 0-9]+\] .shstrtab .* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-s390: tlspic.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-sh/sh64/crange1.rd binutils-2.26.1/ld/testsuite/ld-sh/sh64/crange1.rd +--- binutils.orig/ld/testsuite/ld-sh/sh64/crange1.rd 2017-03-09 11:56:05.543076329 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sh/sh64/crange1.rd 2017-03-09 11:59:28.590796507 +0000 +@@ -7,9 +7,9 @@ Section Headers: + +\[ 2\] \.text +PROGBITS +00001004 000084 000018 00 AXp +0 +0 +4 + +\[ 3\] \.stack +PROGBITS +00080000 000100 000004 00 +WA +0 +0 +1 + +\[ 4\] \.cranges +LOUSER\+1 +00000000 000104 00001e 00 +W +0 +0 +1 +- +\[ 5\] \.shstrtab +STRTAB +.* +- +\[ 6\] \.symtab +SYMTAB +.* +- +\[ 7\] \.strtab +STRTAB +.* ++ +\[ 5\] \.symtab +SYMTAB +.* ++ +\[ 6\] \.strtab +STRTAB +.* ++ +\[ 7\] \.shstrtab +STRTAB +.* + Key to Flags: + #... + +diff -rup binutils.orig/ld/testsuite/ld-sh/sh64/crange2.rd binutils-2.26.1/ld/testsuite/ld-sh/sh64/crange2.rd +--- binutils.orig/ld/testsuite/ld-sh/sh64/crange2.rd 2017-03-09 11:56:05.543076329 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sh/sh64/crange2.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -7,9 +7,9 @@ Section Headers: + +\[ 2\] \.text +PROGBITS +00001004 000084 00005c 00 AXp +0 +0 +4 + +\[ 3\] \.stack +PROGBITS +00080000 000100 000004 00 +WA +0 +0 +1 + +\[ 4\] \.cranges +LOUSER\+1 +00000000 000104 000046 00 +W +0 +0 +1 +- +\[ 5\] \.shstrtab +STRTAB +.* +- +\[ 6\] \.symtab +SYMTAB +.* +- +\[ 7\] \.strtab +STRTAB +.* ++ +\[ 5\] \.symtab +SYMTAB +.* ++ +\[ 6\] \.strtab +STRTAB +.* ++ +\[ 7\] \.shstrtab +STRTAB +.* + Key to Flags: + #... + +diff -rup binutils.orig/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd binutils-2.26.1/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd +--- binutils.orig/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd 2017-03-09 11:56:05.543076329 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sh/sh64/crange3-cmpct.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -17,7 +17,7 @@ ELF Header: + +Number of program headers: +2 + +Size of section headers: +40 \(bytes\) + +Number of section headers: +8 +- +Section header string table index: 5 ++ +Section header string table index: 7 + + Section Headers: + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al +@@ -26,9 +26,9 @@ Section Headers: + +\[ 2\] \.text +PROGBITS +00001004 000084 0000d8 00 AXp +0 +0 +4 + +\[ 3\] \.stack +PROGBITS +00080000 000180 000004 00 +WA +0 +0 +1 + +\[ 4\] \.cranges +LOUSER\+1 +00000000 000184 00003c 00 +W +0 +0 +1 +- +\[ 5\] \.shstrtab +STRTAB +.* +- +\[ 6\] \.symtab +SYMTAB +.* +- +\[ 7\] \.strtab +STRTAB +.* ++ +\[ 5\] \.symtab +SYMTAB +.* ++ +\[ 6\] \.strtab +STRTAB +.* ++ +\[ 7\] \.shstrtab +STRTAB +.* + Key to Flags: + #... + +diff -rup binutils.orig/ld/testsuite/ld-sh/sh64/crange3-media.rd binutils-2.26.1/ld/testsuite/ld-sh/sh64/crange3-media.rd +--- binutils.orig/ld/testsuite/ld-sh/sh64/crange3-media.rd 2017-03-09 11:56:05.543076329 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sh/sh64/crange3-media.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -17,7 +17,7 @@ ELF Header: + +Number of program headers: +2 + +Size of section headers: +40 \(bytes\) + +Number of section headers: +8 +- +Section header string table index: 5 ++ +Section header string table index: 7 + + Section Headers: + +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al +@@ -26,9 +26,9 @@ Section Headers: + +\[ 2\] \.text +PROGBITS +00001004 000084 0000d8 00 AXp +0 +0 +4 + +\[ 3\] \.stack +PROGBITS +00080000 000180 000004 00 +WA +0 +0 +1 + +\[ 4\] \.cranges +LOUSER\+1 +00000000 000184 00003c 00 +W +0 +0 +1 +- +\[ 5\] \.shstrtab +STRTAB +.* +- +\[ 6\] \.symtab +SYMTAB +.* +- +\[ 7\] \.strtab +STRTAB +.* ++ +\[ 5\] \.symtab +SYMTAB +.* ++ +\[ 6\] \.strtab +STRTAB +.* ++ +\[ 7\] \.shstrtab +STRTAB +.* + Key to Flags: + #... + +diff -rup binutils.orig/ld/testsuite/ld-sh/sh64/crange3.rd binutils-2.26.1/ld/testsuite/ld-sh/sh64/crange3.rd +--- binutils.orig/ld/testsuite/ld-sh/sh64/crange3.rd 2017-03-09 11:56:05.543076329 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sh/sh64/crange3.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -7,9 +7,9 @@ Section Headers: + +\[ 2\] \.text +PROGBITS +00001004 000084 0000d8 00 AXp +0 +0 +4 + +\[ 3\] \.stack +PROGBITS +00080000 000180 000004 00 +WA +0 +0 +1 + +\[ 4\] \.cranges +LOUSER\+1 +00000000 000184 00003c 00 +W +0 +0 +1 +- +\[ 5\] \.shstrtab +STRTAB +.* +- +\[ 6\] \.symtab +SYMTAB +.* +- +\[ 7\] \.strtab +STRTAB +.* ++ +\[ 5\] \.symtab +SYMTAB +.* ++ +\[ 6\] \.strtab +STRTAB +.* ++ +\[ 7\] \.shstrtab +STRTAB +.* + Key to Flags: + #... + +diff -rup binutils.orig/ld/testsuite/ld-sh/sh64/crangerel1.rd binutils-2.26.1/ld/testsuite/ld-sh/sh64/crangerel1.rd +--- binutils.orig/ld/testsuite/ld-sh/sh64/crangerel1.rd 2017-03-09 11:56:05.543076329 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sh/sh64/crangerel1.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -10,9 +10,9 @@ Section Headers: + +\[ 5\] \.stack +PROGBITS +00000000 00004c 000004 00 +WA +0 +0 +1 + +\[ 6\] \.cranges +PROGBITS +00000000 000050 00001e 00 +W +0 +0 +1 + +\[ 7\] \.rela\.cranges +RELA +00000000 [0-9a-f]+ 000024 0c +I +9 +6 +4 +- +\[ 8\] \.shstrtab +STRTAB +00000000 [0-9a-f]+ 00004d 00 +0 +0 +1 +- +\[ 9\] \.symtab +SYMTAB .* +- +\[10\] \.strtab +STRTAB .* ++ +\[ 8\] \.symtab +SYMTAB .* ++ +\[ 9\] \.strtab +STRTAB .* ++ +\[10\] \.shstrtab +STRTAB +00000000 [0-9a-f]+ 00004d 00 +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/ld/testsuite/ld-sh/sh64/crangerel2.rd binutils-2.26.1/ld/testsuite/ld-sh/sh64/crangerel2.rd +--- binutils.orig/ld/testsuite/ld-sh/sh64/crangerel2.rd 2017-03-09 11:56:05.543076329 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sh/sh64/crangerel2.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -10,9 +10,9 @@ Section Headers: + +\[ 5\] \.stack +PROGBITS +00000000 000090 000004 00 +WA +0 +0 +1 + +\[ 6\] \.cranges +PROGBITS +00000000 000094 000046 00 +W +0 +0 +1 + +\[ 7\] \.rela\.cranges +RELA +00000000 [0-9a-f]+ 000054 0c +I +9 +6 +4 +- +\[ 8\] \.shstrtab +STRTAB +00000000 [0-9a-f]+ 00004d 00 +0 +0 +1 +- +\[ 9\] \.symtab +SYMTAB +00000000 [0-9a-f]+ [0-9a-f]+ 10 +10 +[0-9]+ +4 +- +\[10\] \.strtab +STRTAB +00000000 [0-9a-f]+ [0-9a-f]+ 00 +0 +0 +1 ++ +\[ 8\] \.symtab +SYMTAB +00000000 [0-9a-f]+ [0-9a-f]+ 10 +8 +[0-9]+ +4 ++ +\[ 9\] \.strtab +STRTAB +00000000 [0-9a-f]+ [0-9a-f]+ 00 +0 +0 +1 ++ +\[10\] \.shstrtab +STRTAB +00000000 [0-9a-f]+ 00004d 00 +0 +0 +1 + Key to Flags: + #... + +diff -rup binutils.orig/ld/testsuite/ld-sh/tlsbin-2.d binutils-2.26.1/ld/testsuite/ld-sh/tlsbin-2.d +--- binutils.orig/ld/testsuite/ld-sh/tlsbin-2.d 2017-03-09 11:56:05.541076362 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sh/tlsbin-2.d 2017-03-09 11:59:28.591796491 +0000 +@@ -23,9 +23,9 @@ Section Headers: + #... + +\[[0-9a-f]+\] \.got +PROGBITS .* + #... +- +\[[0-9a-f]+\] \.shstrtab .* + +\[[0-9a-f]+\] \.symtab .* + +\[[0-9a-f]+\] \.strtab .* ++ +\[[0-9a-f]+\] \.shstrtab .* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-sh: tlsbin-2.d.orig +diff -rup binutils.orig/ld/testsuite/ld-sh/tlspic-2.d binutils-2.26.1/ld/testsuite/ld-sh/tlspic-2.d +--- binutils.orig/ld/testsuite/ld-sh/tlspic-2.d 2017-03-09 11:56:05.541076362 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sh/tlspic-2.d 2017-03-09 11:59:28.591796491 +0000 +@@ -22,9 +22,9 @@ Section Headers: + #... + +\[[0-9a-f]+\] \.got +PROGBITS .* + #... +- +\[[0-9a-f]+\] \.shstrtab .* + +\[[0-9a-f]+\] \.symtab .* + +\[[0-9a-f]+\] \.strtab .* ++ +\[[0-9a-f]+\] \.shstrtab .* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-sh: tlspic-2.d.orig +diff -rup binutils.orig/ld/testsuite/ld-sparc/gotop32.rd binutils-2.26.1/ld/testsuite/ld-sparc/gotop32.rd +--- binutils.orig/ld/testsuite/ld-sparc/gotop32.rd 2017-03-09 11:56:05.544076313 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sparc/gotop32.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -17,9 +17,9 @@ Section Headers: + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+12000 0+2000 0+70 08 +WA +3 +0 +4 + +\[[ 0-9]+\] .got +PROGBITS +0+12070 0+2070 0+8 04 +WA +0 +0 +4 + +\[[ 0-9]+\] .data +PROGBITS +0+13000 0+3000 0+8 00 +WA +0 +0 4096 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + #... + + Elf file type is DYN \(Shared object file\) +diff -rup binutils.orig/ld/testsuite/ld-sparc/gotop64.rd binutils-2.26.1/ld/testsuite/ld-sparc/gotop64.rd +--- binutils.orig/ld/testsuite/ld-sparc/gotop64.rd 2017-03-09 11:56:05.544076313 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sparc/gotop64.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -17,9 +17,9 @@ Section Headers: + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+102000 0+2000 0+e0 10 +WA +3 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +0+1020e0 0+20e0 0+10 08 +WA +0 +0 +8 + +\[[ 0-9]+\] .data +PROGBITS +0+103000 0+3000 0+8 00 +WA +0 +0 4096 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + #... + + Elf file type is DYN \(Shared object file\) +diff -rup binutils.orig/ld/testsuite/ld-sparc/tlssunbin32.rd binutils-2.26.1/ld/testsuite/ld-sparc/tlssunbin32.rd +--- binutils.orig/ld/testsuite/ld-sparc/tlssunbin32.rd 2017-03-09 11:56:05.545076297 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sparc/tlssunbin32.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -19,9 +19,9 @@ Section Headers: + +\[[ 0-9]+\] .tbss +NOBITS +0+231f4 0+31f4 0+40 00 WAT +0 +0 +4 + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+231f4 0+31f4 0+80 08 +WA +4 +0 +4 + +\[[ 0-9]+\] .got +PROGBITS +0+23274 0+3274 0+14 04 +WA +0 +0 +4 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + #... + + Elf file type is EXEC \(Executable file\) +diff -rup binutils.orig/ld/testsuite/ld-sparc/tlssunbin64.rd binutils-2.26.1/ld/testsuite/ld-sparc/tlssunbin64.rd +--- binutils.orig/ld/testsuite/ld-sparc/tlssunbin64.rd 2017-03-09 11:56:05.545076297 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sparc/tlssunbin64.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -19,9 +19,9 @@ Section Headers: + +\[[ 0-9]+\] .tbss +NOBITS +0+202204 0+2204 0+40 00 WAT +0 +0 +4 + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+202208 0+2208 0+100 10 +WA +4 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +0+202308 0+2308 0+28 08 +WA +0 +0 +8 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + #... + + Elf file type is EXEC \(Executable file\) +diff -rup binutils.orig/ld/testsuite/ld-sparc/tlssunnopic32.rd binutils-2.26.1/ld/testsuite/ld-sparc/tlssunnopic32.rd +--- binutils.orig/ld/testsuite/ld-sparc/tlssunnopic32.rd 2017-03-09 11:56:05.545076297 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sparc/tlssunnopic32.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -18,9 +18,9 @@ Section Headers: + +\[[ 0-9]+\] .tbss +NOBITS +0+12000 0+2000 0+24 0+ WAT +0 +0 +4 + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+12000 0+2000 0+80 08 +WA +3 +0 +4 + +\[[ 0-9]+\] .got +PROGBITS +0+12080 0+2080 0+1c 04 +WA +0 +0 +4 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + #... + Elf file type is DYN \(Shared object file\) + Entry point 0x1000 +diff -rup binutils.orig/ld/testsuite/ld-sparc/tlssunnopic64.rd binutils-2.26.1/ld/testsuite/ld-sparc/tlssunnopic64.rd +--- binutils.orig/ld/testsuite/ld-sparc/tlssunnopic64.rd 2017-03-09 11:56:05.545076297 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sparc/tlssunnopic64.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -18,9 +18,9 @@ Section Headers: + +\[[ 0-9]+\] .tbss +NOBITS +0+102000 0+2000 0+24 0+ WAT +0 +0 +4 + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+102000 0+2000 0+100 10 +WA +3 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +0+102100 0+2100 0+38 08 +WA +0 +0 +8 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + #... + Elf file type is DYN \(Shared object file\) + Entry point 0x1000 +diff -rup binutils.orig/ld/testsuite/ld-sparc/tlssunpic32.rd binutils-2.26.1/ld/testsuite/ld-sparc/tlssunpic32.rd +--- binutils.orig/ld/testsuite/ld-sparc/tlssunpic32.rd 2017-03-09 11:56:05.545076297 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sparc/tlssunpic32.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -21,9 +21,9 @@ Section Headers: + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+12060 0+2060 0+98 08 +WA +3 +0 +4 + +\[[ 0-9]+\] .got +PROGBITS +0+120f8 0+20f8 0+4c 04 +WA +0 +0 +4 + +\[[ 0-9]+\] .plt +.* +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + #... + + Elf file type is DYN \(Shared object file\) +diff -rup binutils.orig/ld/testsuite/ld-sparc/tlssunpic64.rd binutils-2.26.1/ld/testsuite/ld-sparc/tlssunpic64.rd +--- binutils.orig/ld/testsuite/ld-sparc/tlssunpic64.rd 2017-03-09 11:56:05.545076297 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-sparc/tlssunpic64.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -21,9 +21,9 @@ Section Headers: + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+102060 0+2060 0+130 10 +WA +3 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +0+102190 0+2190 0+98 08 +WA +0 +0 +8 + +\[[ 0-9]+\] .plt +.* +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + #... + + Elf file type is DYN \(Shared object file\) +diff -rup binutils.orig/ld/testsuite/ld-tic6x/common.d binutils-2.26.1/ld/testsuite/ld-tic6x/common.d +--- binutils.orig/ld/testsuite/ld-tic6x/common.d 2017-03-09 11:56:05.548076249 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/common.d 2017-03-09 11:59:28.591796491 +0000 +@@ -11,9 +11,9 @@ Section Headers: + \[ 0\] NULL 00000000 000000 000000 00 0 0 0 + \[ 1\] \.far NOBITS 00000080 000080 000008 00 WA 0 0 4 + \[ 2\] \.bss NOBITS 00000100 000080 000004 00 WA 0 0 4 +- \[ 3\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000025 00 0 0 1 +- \[ 4\] \.symtab SYMTAB 00000000 [0-9a-f]+ 000050 10 5 3 4 +- \[ 5\] \.strtab STRTAB 00000000 [0-9a-f]+ 000005 00 0 0 1 ++ \[ 3\] \.symtab SYMTAB 00000000 [0-9a-f]+ 000050 10 4 3 4 ++ \[ 4\] \.strtab STRTAB 00000000 [0-9a-f]+ 000005 00 0 0 1 ++ \[ 5\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000025 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: common.d.orig +diff -rup binutils.orig/ld/testsuite/ld-tic6x/shlib-1b.rd binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-1b.rd +--- binutils.orig/ld/testsuite/ld-tic6x/shlib-1b.rd 2017-03-09 11:56:05.550076217 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-1b.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -16,9 +16,9 @@ Section Headers: + \[11\] \.neardata PROGBITS 10000128 002128 000008 00 WA 0 0 4 + \[12\] \.bss NOBITS 10000130 002130 000004 00 WA 0 0 4 + \[13\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 002130 000019 00 0 0 1 +- \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1 +- \[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4 +- \[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[14\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 15 [0-9]+ 4 ++ \[15\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[16\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: shlib-1b.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-tic6x/shlib-1rb.rd binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-1rb.rd +--- binutils.orig/ld/testsuite/ld-tic6x/shlib-1rb.rd 2017-03-09 11:56:05.550076217 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-1rb.rd 2017-03-09 11:59:28.592796475 +0000 +@@ -16,9 +16,9 @@ Section Headers: + \[11\] \.neardata PROGBITS 10000128 002128 000008 00 WA 0 0 4 + \[12\] \.bss NOBITS 10000130 002130 000004 00 WA 0 0 4 + \[13\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 002130 000019 00 0 0 1 +- \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1 +- \[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4 +- \[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[14\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 15 [0-9]+ 4 ++ \[15\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[16\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: shlib-1rb.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-tic6x/shlib-1.rd binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-1.rd +--- binutils.orig/ld/testsuite/ld-tic6x/shlib-1.rd 2017-03-09 11:56:05.550076217 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-1.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -16,9 +16,9 @@ Section Headers: + \[11\] \.neardata PROGBITS 10000128 002128 000008 00 WA 0 0 4 + \[12\] \.bss NOBITS 10000130 002130 000004 00 WA 0 0 4 + \[13\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 002130 000019 00 0 0 1 +- \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1 +- \[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4 +- \[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[14\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 15 [0-9]+ 4 ++ \[15\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[16\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: shlib-1.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-tic6x/shlib-1r.rd binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-1r.rd +--- binutils.orig/ld/testsuite/ld-tic6x/shlib-1r.rd 2017-03-09 11:56:05.550076217 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-1r.rd 2017-03-09 11:59:28.591796491 +0000 +@@ -16,9 +16,9 @@ Section Headers: + \[11\] \.neardata PROGBITS 10000128 002128 000008 00 WA 0 0 4 + \[12\] \.bss NOBITS 10000130 002130 000004 00 WA 0 0 4 + \[13\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 002130 000019 00 0 0 1 +- \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1 +- \[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4 +- \[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[14\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 15 [0-9]+ 4 ++ \[15\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[16\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: shlib-1r.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-tic6x/shlib-app-1b.rd binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-app-1b.rd +--- binutils.orig/ld/testsuite/ld-tic6x/shlib-app-1b.rd 2017-03-09 11:56:05.550076217 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-app-1b.rd 2017-03-09 11:59:28.592796475 +0000 +@@ -17,9 +17,9 @@ Section Headers: + \[12\] \.neardata PROGBITS 100000c0 0020c0 00000c 00 WA 0 0 4 + \[13\] \.bss NOBITS 100000cc 0020cc 000004 00 WA 0 0 4 + \[14\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020cc 000019 00 0 0 1 +- \[15\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000080 00 0 0 1 +- \[16\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 17 [0-9]+ 4 +- \[17\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4 ++ \[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[17\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000080 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: shlib-app-1b.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-tic6x/shlib-app-1rb.rd binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-app-1rb.rd +--- binutils.orig/ld/testsuite/ld-tic6x/shlib-app-1rb.rd 2017-03-09 11:56:05.550076217 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-app-1rb.rd 2017-03-09 11:59:28.592796475 +0000 +@@ -16,9 +16,9 @@ Section Headers: + \[11\] \.neardata PROGBITS 100000c0 0020c0 000004 00 WA 0 0 4 + \[12\] \.bss NOBITS 100000c4 0020c4 000004 00 WA 0 0 4 + \[13\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020c4 000019 00 0 0 1 +- \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1 +- \[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4 +- \[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[14\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 15 [0-9]+ 4 ++ \[15\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[16\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: shlib-app-1rb.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-tic6x/shlib-app-1.rd binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-app-1.rd +--- binutils.orig/ld/testsuite/ld-tic6x/shlib-app-1.rd 2017-03-09 11:56:05.550076217 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-app-1.rd 2017-03-09 11:59:28.592796475 +0000 +@@ -17,9 +17,9 @@ Section Headers: + \[12\] \.neardata PROGBITS 100000c0 0020c0 00000c 00 WA 0 0 4 + \[13\] \.bss NOBITS 100000cc 0020cc 000004 00 WA 0 0 4 + \[14\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020cc 000019 00 0 0 1 +- \[15\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000080 00 0 0 1 +- \[16\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 17 [0-9]+ 4 +- \[17\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4 ++ \[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[17\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000080 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: shlib-app-1.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-tic6x/shlib-app-1r.rd binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-app-1r.rd +--- binutils.orig/ld/testsuite/ld-tic6x/shlib-app-1r.rd 2017-03-09 11:56:05.550076217 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-app-1r.rd 2017-03-09 11:59:28.592796475 +0000 +@@ -16,9 +16,9 @@ Section Headers: + \[11\] \.neardata PROGBITS 100000c0 0020c0 000004 00 WA 0 0 4 + \[12\] \.bss NOBITS 100000c4 0020c4 000004 00 WA 0 0 4 + \[13\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020c4 000019 00 0 0 1 +- \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1 +- \[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4 +- \[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[14\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 15 [0-9]+ 4 ++ \[15\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[16\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: shlib-app-1r.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-tic6x/shlib-noindex.rd binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-noindex.rd +--- binutils.orig/ld/testsuite/ld-tic6x/shlib-noindex.rd 2017-03-09 11:56:05.550076217 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/shlib-noindex.rd 2017-03-09 11:59:28.592796475 +0000 +@@ -17,9 +17,9 @@ Section Headers: + \[12\] \.neardata PROGBITS 10000128 002128 000008 00 WA 0 0 4 + \[13\] \.bss NOBITS 10000130 002130 000004 00 WA 0 0 4 + \[14\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 002130 000019 00 0 0 1 +- \[15\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000080 00 0 0 1 +- \[16\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 17 [0-9]+ 4 +- \[17\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4 ++ \[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[17\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000080 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: shlib-noindex.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-tic6x/static-app-1b.rd binutils-2.26.1/ld/testsuite/ld-tic6x/static-app-1b.rd +--- binutils.orig/ld/testsuite/ld-tic6x/static-app-1b.rd 2017-03-09 11:56:05.550076217 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/static-app-1b.rd 2017-03-09 11:59:28.592796475 +0000 +@@ -14,9 +14,9 @@ Section Headers: + \[ 9\] \.neardata PROGBITS 100000e0 0020e0 000014 00 WA 0 0 4 + \[10\] \.bss NOBITS 100000f4 0020f4 000004 00 WA 0 0 4 + \[11\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020f4 000019 00 0 0 1 +- \[12\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000071 00 0 0 1 +- \[13\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 14 [0-9]+ 4 +- \[14\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[12\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 13 [0-9]+ 4 ++ \[13\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000071 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: static-app-1b.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-tic6x/static-app-1rb.rd binutils-2.26.1/ld/testsuite/ld-tic6x/static-app-1rb.rd +--- binutils.orig/ld/testsuite/ld-tic6x/static-app-1rb.rd 2017-03-09 11:56:05.550076217 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/static-app-1rb.rd 2017-03-09 11:59:28.592796475 +0000 +@@ -14,9 +14,9 @@ Section Headers: + \[ 9\] \.neardata PROGBITS 100000e0 0020e0 00000c 00 WA 0 0 4 + \[10\] \.bss NOBITS 100000ec 0020ec 000004 00 WA 0 0 4 + \[11\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020ec 000019 00 0 0 1 +- \[12\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000071 00 0 0 1 +- \[13\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 14 [0-9]+ 4 +- \[14\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[12\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 13 [0-9]+ 4 ++ \[13\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000071 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: static-app-1rb.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-tic6x/static-app-1.rd binutils-2.26.1/ld/testsuite/ld-tic6x/static-app-1.rd +--- binutils.orig/ld/testsuite/ld-tic6x/static-app-1.rd 2017-03-09 11:56:05.550076217 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/static-app-1.rd 2017-03-09 11:59:28.592796475 +0000 +@@ -14,9 +14,9 @@ Section Headers: + \[ 9\] \.neardata PROGBITS 100000e0 0020e0 000014 00 WA 0 0 4 + \[10\] \.bss NOBITS 100000f4 0020f4 000004 00 WA 0 0 4 + \[11\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020f4 000019 00 0 0 1 +- \[12\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000071 00 0 0 1 +- \[13\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 14 [0-9]+ 4 +- \[14\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[12\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 13 [0-9]+ 4 ++ \[13\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000071 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: static-app-1.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-tic6x/static-app-1r.rd binutils-2.26.1/ld/testsuite/ld-tic6x/static-app-1r.rd +--- binutils.orig/ld/testsuite/ld-tic6x/static-app-1r.rd 2017-03-09 11:56:05.550076217 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-tic6x/static-app-1r.rd 2017-03-09 11:59:28.592796475 +0000 +@@ -14,9 +14,9 @@ Section Headers: + \[ 9\] \.neardata PROGBITS 100000e0 0020e0 00000c 00 WA 0 0 4 + \[10\] \.bss NOBITS 100000ec 0020ec 000004 00 WA 0 0 4 + \[11\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020ec 000019 00 0 0 1 +- \[12\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000071 00 0 0 1 +- \[13\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 14 [0-9]+ 4 +- \[14\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[12\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 13 [0-9]+ 4 ++ \[13\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000071 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-tic6x: static-app-1r.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-x86-64/ilp32-4.d binutils-2.26.1/ld/testsuite/ld-x86-64/ilp32-4.d +--- binutils.orig/ld/testsuite/ld-x86-64/ilp32-4.d 2017-03-09 11:56:05.553076168 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/ilp32-4.d 2017-03-09 12:11:49.947838235 +0000 +@@ -13,9 +13,9 @@ Section Headers: + \[ 3\] .dynstr STRTAB 00000120 000120 000019 00 A 0 0 1 + \[ 4\] .text PROGBITS 00000139 000139 000001 00 AX 0 0 1 + \[ 5\] .dynamic DYNAMIC 0020013c 00013c 000058 08 WA 3 0 4 +- \[ 6\] .shstrtab STRTAB 00000000 [0-9a-f]+ 000040 00 0 0 1 +- \[ 7\] .symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 8 [0-9] 4 +- \[ 8\] .strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[ 6\] .symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 7 [0-9] 4 ++ \[ 7\] .strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[ 8\] .shstrtab STRTAB 00000000 [0-9a-f]+ 000040 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: ilp32-4.d.orig +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: ilp32-4.d.rej +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: ilp32-4-nacl.d.orig +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: ilp32-4-nacl.d.rej +diff -rup binutils.orig/ld/testsuite/ld-x86-64/nogot1.d binutils-2.26.1/ld/testsuite/ld-x86-64/nogot1.d +--- binutils.orig/ld/testsuite/ld-x86-64/nogot1.d 2017-03-09 11:56:05.555076136 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/nogot1.d 2017-03-09 11:59:28.592796475 +0000 +@@ -4,5 +4,6 @@ + + #... + [ ]*\[.*\][ ]+\.dynamic[ ]+DYNAMIC.* ++#... + [ ]*\[.*\][ ]+.*STRTAB.* + #pass +diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr12718.d binutils-2.26.1/ld/testsuite/ld-x86-64/pr12718.d +--- binutils.orig/ld/testsuite/ld-x86-64/pr12718.d 2017-03-09 11:56:05.555076136 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/pr12718.d 2017-03-09 11:59:28.592796475 +0000 +@@ -9,9 +9,9 @@ Section Headers: + +\[Nr\] Name +Type +Address +Off +Size +ES +Flg +Lk +Inf +Al + +\[ 0\] +NULL +0+ +0+ +0+ +0+ +0 +0 +0 + +\[ 1\] +.text +PROGBITS +[0-9a-f]+ +[0-9a-f]+ +000006 00 +AX +0 +0 +1 +- +\[ 2\] +.shstrtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +0+ +0 +0 +1 +- +\[ 3\] +.symtab +SYMTAB +0+ +[0-9a-f]+ +[0-9a-f]+ 18 +4 +[0-9] +8 +- +\[ 4\] +.strtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ 00 +0 +0 +1 ++ +\[ 2\] +.symtab +SYMTAB +0+ +[0-9a-f]+ +[0-9a-f]+ 18 +3 +[0-9] +8 ++ +\[ 3\] +.strtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ 00 +0 +0 +1 ++ +\[ 4\] +.shstrtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +0+ +0 +0 +1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: pr12718.d.orig +diff -rup binutils.orig/ld/testsuite/ld-x86-64/pr12921.d binutils-2.26.1/ld/testsuite/ld-x86-64/pr12921.d +--- binutils.orig/ld/testsuite/ld-x86-64/pr12921.d 2017-03-09 11:56:05.555076136 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/pr12921.d 2017-03-09 11:59:28.592796475 +0000 +@@ -11,9 +11,9 @@ Section Headers: + +\[ 1\] .text +PROGBITS +[0-9a-f]+ +[0-9a-f]+ +0+1 00 +AX +0 +0 +4096 + +\[ 2\] .data +PROGBITS +[0-9a-f]+ +[0-9a-f]+000 +0+28 +00 +WA +0 +0 +4096 + +\[ 3\] .bss +NOBITS +[0-9a-f]+ +[0-9a-f]+028 +0+10000 +00 +WA +0 +0 +4096 +- +\[ 4\] .shstrtab +STRTAB +0+ +[0-9a-f]+ +0+2c +00 +0 +0 +1 +- +\[ 5\] .symtab +SYMTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +18 +6 +[0-9] +8 +- +\[ 6\] .strtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +00 +0 +0 +1 ++ +\[ 4\] .symtab +SYMTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +18 +5 +[0-9] +8 ++ +\[ 5\] .strtab +STRTAB +0+ +[0-9a-f]+ +[0-9a-f]+ +00 +0 +0 +1 ++ +\[ 6\] .shstrtab +STRTAB +0+ +[0-9a-f]+ +0+2c +00 +0 +0 +1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: pr12921.d.orig +diff -rup binutils.orig/ld/testsuite/ld-x86-64/split-by-file-nacl.rd binutils-2.26.1/ld/testsuite/ld-x86-64/split-by-file-nacl.rd +--- binutils.orig/ld/testsuite/ld-x86-64/split-by-file-nacl.rd 2017-03-09 11:56:05.557076103 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/split-by-file-nacl.rd 2017-03-09 11:59:28.592796475 +0000 +@@ -8,9 +8,9 @@ Section Headers: + \[ 3\] .data PROGBITS 0000000000000000 000043 000000 00 WA 0 0 1 + \[ 4\] .bss NOBITS 0000000000000000 000043 000000 00 WA 0 0 1 + \[ 5\] .foo.0 PROGBITS 0000000000000003 000043 000003 00 AXl 0 0 1 +- \[ 6\] .shstrtab STRTAB 0000000000000000 [0-9a-f]+ 000038 00 0 0 1 +- \[ 7\] .symtab SYMTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 18 8 [0-9] 8 +- \[ 8\] .strtab STRTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[ 6\] .symtab SYMTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 18 7 [0-9] 8 ++ \[ 7\] .strtab STRTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[ 8\] .shstrtab STRTAB 0000000000000000 [0-9a-f]+ 000038 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: split-by-file-nacl.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-x86-64/split-by-file.rd binutils-2.26.1/ld/testsuite/ld-x86-64/split-by-file.rd +--- binutils.orig/ld/testsuite/ld-x86-64/split-by-file.rd 2017-03-09 11:56:05.557076103 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/split-by-file.rd 2017-03-09 11:59:28.593796459 +0000 +@@ -8,9 +8,9 @@ Section Headers: + \[ 3\] .data PROGBITS 0000000000000000 000043 000000 00 WA 0 0 1 + \[ 4\] .bss NOBITS 0000000000000000 000043 000000 00 WA 0 0 1 + \[ 5\] .foo.0 PROGBITS 0000000000000003 000043 000003 00 AXl 0 0 1 +- \[ 6\] .shstrtab STRTAB 0000000000000000 [0-9a-f]+ 000038 00 0 0 1 +- \[ 7\] .symtab SYMTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 18 8 [0-9] 8 +- \[ 8\] .strtab STRTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[ 6\] .symtab SYMTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 18 7 [0-9] 8 ++ \[ 7\] .strtab STRTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1 ++ \[ 8\] .shstrtab STRTAB 0000000000000000 [0-9a-f]+ 000038 00 0 0 1 + Key to Flags: + W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\) + I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\) +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: split-by-file.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd binutils-2.26.1/ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd +--- binutils.orig/ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd 2017-03-09 11:56:05.557076103 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/tlsbindesc-nacl.rd 2017-03-09 11:59:30.682762716 +0000 +@@ -21,9 +21,9 @@ Section Headers: + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+100303d0 0+3d0 0+100 10 +WA +5 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +0+100304d0 0+4d0 0+20 08 +WA +0 +0 +8 + +\[[ 0-9]+\] .got.plt +PROGBITS +0+100304f0 0+4f0 0+18 08 +WA +0 +0 +8 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: tlsbindesc-nacl.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-x86-64/tlsbindesc.rd binutils-2.26.1/ld/testsuite/ld-x86-64/tlsbindesc.rd +--- binutils.orig/ld/testsuite/ld-x86-64/tlsbindesc.rd 2017-03-09 11:56:05.557076103 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/tlsbindesc.rd 2017-03-09 11:59:30.682762716 +0000 +@@ -21,9 +21,9 @@ Section Headers: + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+601260 0+1260 0+100 10 +WA +4 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +0+601360 0+1360 0+20 08 +WA +0 +0 +8 + +\[[ 0-9]+\] .got.plt +PROGBITS +0+601380 0+1380 0+18 08 +WA +0 +0 +8 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: tlsbindesc.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-x86-64/tlsbin-nacl.rd binutils-2.26.1/ld/testsuite/ld-x86-64/tlsbin-nacl.rd +--- binutils.orig/ld/testsuite/ld-x86-64/tlsbin-nacl.rd 2017-03-09 11:56:05.557076103 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/tlsbin-nacl.rd 2017-03-09 11:59:28.593796459 +0000 +@@ -23,9 +23,9 @@ Section Headers: + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+10030410 [0-9a-f]+ 0+140 10 +WA +6 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +0+10030550 [0-9a-f]+ 0+20 08 +WA +0 +0 +8 + +\[[ 0-9]+\] .got.plt +PROGBITS +0+10030570 [0-9a-f]+ 0+20 08 +WA +0 +0 +8 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: tlsbin-nacl.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-x86-64/tlsbin.rd binutils-2.26.1/ld/testsuite/ld-x86-64/tlsbin.rd +--- binutils.orig/ld/testsuite/ld-x86-64/tlsbin.rd 2017-03-09 11:56:05.557076103 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/tlsbin.rd 2017-03-09 11:59:28.593796459 +0000 +@@ -23,9 +23,9 @@ Section Headers: + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+601298 0+1298 0+140 10 +WA +4 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +0+6013d8 0+13d8 0+20 08 +WA +0 +0 +8 + +\[[ 0-9]+\] .got.plt +PROGBITS +0+6013f8 0+13f8 0+20 08 +WA +0 +0 +8 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: tlsbin.rd.orig +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: tlsdesc-nacl.rd.orig +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: tlsdesc-nacl.rd.rej +diff -rup binutils.orig/ld/testsuite/ld-x86-64/tlsdesc.rd binutils-2.26.1/ld/testsuite/ld-x86-64/tlsdesc.rd +--- binutils.orig/ld/testsuite/ld-x86-64/tlsdesc.rd 2017-03-09 11:56:05.557076103 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/tlsdesc.rd 2017-03-09 11:59:30.683762700 +0000 +@@ -22,9 +22,9 @@ Section Headers: + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+2011b8 0+11b8 0+150 10 +WA +3 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +0+201308 0+1308 0+48 08 +WA +0 +0 +8 + +\[[ 0-9]+\] .got.plt +PROGBITS +0+201350 0+1350 0+68 08 +WA +0 +0 +8 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: tlsdesc.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd binutils-2.26.1/ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd +--- binutils.orig/ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd 2017-03-09 11:56:05.557076103 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/tlsgdesc-nacl.rd 2017-03-09 11:59:30.683762700 +0000 +@@ -19,9 +19,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +.* + +\[[ 0-9]+\] \.got +.* + +\[[ 0-9]+\] \.got.plt +.* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: tlsgdesc-nacl.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-x86-64/tlsgdesc.rd binutils-2.26.1/ld/testsuite/ld-x86-64/tlsgdesc.rd +--- binutils.orig/ld/testsuite/ld-x86-64/tlsgdesc.rd 2017-03-09 11:56:05.558076087 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/tlsgdesc.rd 2017-03-09 11:59:30.683762700 +0000 +@@ -19,9 +19,9 @@ Section Headers: + +\[[ 0-9]+\] \.dynamic +.* + +\[[ 0-9]+\] \.got +.* + +\[[ 0-9]+\] \.got.plt +.* +- +\[[ 0-9]+\] \.shstrtab +.* + +\[[ 0-9]+\] \.symtab +.* + +\[[ 0-9]+\] \.strtab +.* ++ +\[[ 0-9]+\] \.shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: tlsgdesc.rd.orig +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: tlspic-nacl.rd.orig +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: tlspic-nacl.rd.rej +diff -rup binutils.orig/ld/testsuite/ld-x86-64/tlspic.rd binutils-2.26.1/ld/testsuite/ld-x86-64/tlspic.rd +--- binutils.orig/ld/testsuite/ld-x86-64/tlspic.rd 2017-03-09 11:56:05.558076087 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-x86-64/tlspic.rd 2017-03-09 11:59:30.684762684 +0000 +@@ -22,9 +22,9 @@ Section Headers: + +\[[ 0-9]+\] .dynamic +DYNAMIC +0+201380 0+1380 0+130 10 +WA +3 +0 +8 + +\[[ 0-9]+\] .got +PROGBITS +0+2014b0 0+14b0 0+90 08 +WA +0 +0 +8 + +\[[ 0-9]+\] .got.plt +PROGBITS +0+201540 0+1540 0+20 08 +WA +0 +0 +8 +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-x86-64: tlspic.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-xtensa/tlsbin.rd binutils-2.26.1/ld/testsuite/ld-xtensa/tlsbin.rd +--- binutils.orig/ld/testsuite/ld-xtensa/tlsbin.rd 2017-03-09 11:56:05.558076087 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-xtensa/tlsbin.rd 2017-03-09 11:59:32.490733512 +0000 +@@ -22,9 +22,9 @@ Section Headers: + +\[[ 0-9]+\] .xtensa.info +NOTE +0+ .* + +\[[ 0-9]+\] .xt.lit +PROGBITS +0+ .* + +\[[ 0-9]+\] .xt.prop +PROGBITS +0+ .* +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-xtensa: tlsbin.rd.orig +diff -rup binutils.orig/ld/testsuite/ld-xtensa/tlspic.rd binutils-2.26.1/ld/testsuite/ld-xtensa/tlspic.rd +--- binutils.orig/ld/testsuite/ld-xtensa/tlspic.rd 2017-03-09 11:56:05.559076071 +0000 ++++ binutils-2.26.1/ld/testsuite/ld-xtensa/tlspic.rd 2017-03-09 11:59:32.490733512 +0000 +@@ -23,9 +23,9 @@ Section Headers: + +\[[ 0-9]+\] .xtensa.info +NOTE +0+ .* + +\[[ 0-9]+\] .xt.lit +PROGBITS +0+ .* + +\[[ 0-9]+\] .xt.prop +PROGBITS +0+ .* +- +\[[ 0-9]+\] .shstrtab +.* + +\[[ 0-9]+\] .symtab +.* + +\[[ 0-9]+\] .strtab +.* ++ +\[[ 0-9]+\] .shstrtab +.* + Key to Flags: + .* + .* +Only in binutils-2.26.1/ld/testsuite/ld-xtensa: tlspic.rd.orig diff --git a/binutils.spec b/binutils.spec index bb05806..b409f02 100644 --- a/binutils.spec +++ b/binutils.spec @@ -22,7 +22,7 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.26.1 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -40,33 +40,23 @@ Patch02: binutils-2.20.51.0.10-ppc64-pie.patch Patch03: binutils-2.20.51.0.2-ia64-lib64.patch Patch04: binutils-2.25-version.patch Patch05: binutils-2.25-set-long-long.patch -# Patch06: binutils-2.20.51.0.10-copy-osabi.patch -Patch07: binutils-2.20.51.0.10-sec-merge-emit.patch +Patch06: binutils-2.20.51.0.10-sec-merge-emit.patch # Enable -zrelro by default: BZ #621983 -Patch08: binutils-2.22.52.0.1-relro-on-by-default.patch +Patch07: binutils-2.22.52.0.1-relro-on-by-default.patch # Local patch - export demangle.h with the binutils-devel rpm. -Patch09: binutils-2.22.52.0.1-export-demangle.h.patch +Patch08: binutils-2.22.52.0.1-export-demangle.h.patch # Disable checks that config.h has been included before system headers. BZ #845084 -Patch10: binutils-2.22.52.0.4-no-config-h-check.patch +Patch09: binutils-2.22.52.0.4-no-config-h-check.patch # Fix addr2line to use the dynamic symbol table if it could not find any ordinary symbols. -Patch11: binutils-2.23.52.0.1-addr2line-dynsymtab.patch +Patch10: binutils-2.23.52.0.1-addr2line-dynsymtab.patch # Fix detections little endian PPC shared libraries -Patch12: binutils-2.24-ldforcele.patch -Patch13: binutils-2.25.1-cleansweep.patch -# Patch14: binutils-2.26-formatting.patch -Patch15: binutils-2.26-fix-compile-warnings.patch -# Enable -Bsymbolic and -Bsymbolic-functions to PIE -# Patch16: binutils-2.26-Bsymbolic_PIE.patch +Patch11: binutils-2.24-ldforcele.patch +Patch12: binutils-2.25.1-cleansweep.patch +Patch13: binutils-2.26-fix-compile-warnings.patch # Import H.J.Lu's Kernel LTO patch. -Patch17: binutils-2.26-lto.patch -# Import fix for PR 19698 -# Patch18: binutils-rh1312151.patch -# Import fix for PR 19601 -# Patch19: binutils-2.26-fix-GOT-offset-calculation.patch -# Import fix for PR 19579 -# Patch20: binutils-2.26-common-definitions.patch -# Import fix for PR 19827 -# Patch21: binutils-2.26-x86-PIE-relocations.patch +Patch14: binutils-2.26-lto.patch +# Arrange for section offsets to be monotonically increasing. +Patch15: binutils-2.26-monotonic-section-offsets.patch Provides: bundled(libiberty) @@ -176,26 +166,20 @@ using libelf instead of BFD. %endif %patch04 -p1 -b .version~ %patch05 -p1 -b .set-long-long~ -# %patch06 -p1 -b .copy-osabi~ -%patch07 -p1 -b .sec-merge-emit~ +%patch06 -p1 -b .sec-merge-emit~ %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7 -%patch08 -p1 -b .relro~ +%patch07 -p1 -b .relro~ %endif -%patch09 -p1 -b .export-demangle-h~ -%patch10 -p1 -b .no-config-h-check~ -%patch11 -p1 -b .addr2line~ +%patch08 -p1 -b .export-demangle-h~ +%patch09 -p1 -b .no-config-h-check~ +%patch10 -p1 -b .addr2line~ %ifarch ppc64le -%patch12 -p1 -b .ldforcele~ +%patch11 -p1 -b .ldforcele~ %endif -%patch13 -p0 -# %patch14 -p0 +%patch12 -p0 +%patch13 -p1 +%patch14 -p1 %patch15 -p1 -# %patch16 -p1 -%patch17 -p1 -# %patch18 -p1 -# %patch19 -p1 -# %patch20 -p1 -# %patch21 -p1 # We cannot run autotools as there is an exact requirement of autoconf-2.59. @@ -519,6 +503,10 @@ exit 0 %endif # %{isnative} %changelog +* Thu Mar 09 2017 Nick Clifton 2.26.1-2 +- Move .shstrtab section to end of section list so that the monotonic ordering of section offsets is restored. + (#1430255) + * Mon Aug 15 2016 Nick Clifton 2.26.1-1 - Rebase on FSF binutils 2.26.1 release. - Retire: binutils-2.26-formatting.patch