Blame SOURCES/binutils-rh1312876.patch

58725c
--- binutils-2.25.1.new/ld/testsuite/ld-powerpc/tlsso32.r	2016-03-01 14:08:17.249137110 +0000
58725c
+++ binutils-2.25.1/ld/testsuite/ld-powerpc/tlsso32.r	2016-03-01 15:10:02.847812018 +0000
58725c
@@ -20,6 +20,7 @@ Section Headers:
58725c
  +\[[ 0-9]+\] \.dynamic +DYNAMIC .* 08 +WA +3 +0 +4
58725c
  +\[[ 0-9]+\] \.got +PROGBITS .* 0+30 04 +WA +0 +0 +4
58725c
  +\[[ 0-9]+\] \.plt +PROGBITS .* 0+4 00 +WA +0 +0 +4
58725c
+#...
58725c
  +\[[ 0-9]+\] \.shstrtab +.*
58725c
  +\[[ 0-9]+\] \.symtab +.*
58725c
  +\[[ 0-9]+\] \.strtab +.*
58725c
@@ -80,12 +81,12 @@ Symbol table '\.dynsym' contains [0-9]+
58725c
 .* TLS +GLOBAL +DEFAULT +8 le1
58725c
 .* TLS +GLOBAL +DEFAULT +UND ld
58725c
 .* NOTYPE +GLOBAL +DEFAULT +6 _start
58725c
-.* NOTYPE +GLOBAL +DEFAULT +11 __end
58725c
+.* NOTYPE +GLOBAL +DEFAULT +.. __end
58725c
 .* TLS +GLOBAL +DEFAULT +8 ld2
58725c
 .* TLS +GLOBAL +DEFAULT +8 ld1
58725c
-.* NOTYPE +GLOBAL +DEFAULT +11 __bss_start
58725c
-.* NOTYPE +GLOBAL +DEFAULT +11 _edata
58725c
-.* NOTYPE +GLOBAL +DEFAULT +11 _end
58725c
+.* NOTYPE +GLOBAL +DEFAULT +.. __bss_start
58725c
+.* NOTYPE +GLOBAL +DEFAULT +.. _edata
58725c
+.* NOTYPE +GLOBAL +DEFAULT +.. _end
58725c
 .* TLS +GLOBAL +DEFAULT +8 gd0
58725c
 .* TLS +GLOBAL +DEFAULT +8 ie0
58725c
 
58725c
@@ -103,32 +104,4 @@ Symbol table '\.symtab' contains [0-9]+
58725c
 .* SECTION +LOCAL +DEFAULT +9 
58725c
 .* SECTION +LOCAL +DEFAULT +10 
58725c
 .* SECTION +LOCAL +DEFAULT +11 
58725c
-.* FILE +LOCAL +DEFAULT +ABS .*
58725c
-.* TLS +LOCAL +DEFAULT +7 gd4
58725c
-.* TLS +LOCAL +DEFAULT +7 ld4
58725c
-.* TLS +LOCAL +DEFAULT +7 ld5
58725c
-.* TLS +LOCAL +DEFAULT +7 ld6
58725c
-.* TLS +LOCAL +DEFAULT +7 ie4
58725c
-.* TLS +LOCAL +DEFAULT +7 le4
58725c
-.* TLS +LOCAL +DEFAULT +7 le5
58725c
-.* FILE +LOCAL +DEFAULT +ABS .*
58725c
-.* OBJECT +LOCAL +DEFAULT +9 _DYNAMIC
58725c
-.* NOTYPE +LOCAL +DEFAULT +6 0+8000\.got2\.plt_pic32\.__tls_get_addr
58725c
-.* NOTYPE +LOCAL +DEFAULT +6 __glink_PLTresolve
58725c
-.* NOTYPE +LOCAL +DEFAULT +6 __glink
58725c
-.* OBJECT +LOCAL +DEFAULT +10 _GLOBAL_OFFSET_TABLE_
58725c
-.* TLS +GLOBAL +DEFAULT +UND gd
58725c
-.* TLS +GLOBAL +DEFAULT +8 le0
58725c
-.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
58725c
-.* TLS +GLOBAL +DEFAULT +8 ld0
58725c
-.* TLS +GLOBAL +DEFAULT +8 le1
58725c
-.* TLS +GLOBAL +DEFAULT +UND ld
58725c
-.* NOTYPE +GLOBAL +DEFAULT +6 _start
58725c
-.* NOTYPE +GLOBAL +DEFAULT +11 __end
58725c
-.* TLS +GLOBAL +DEFAULT +8 ld2
58725c
-.* TLS +GLOBAL +DEFAULT +8 ld1
58725c
-.* NOTYPE +GLOBAL +DEFAULT +11 __bss_start
58725c
-.* NOTYPE +GLOBAL +DEFAULT +11 _edata
58725c
-.* NOTYPE +GLOBAL +DEFAULT +11 _end
58725c
-.* TLS +GLOBAL +DEFAULT +8 gd0
58725c
-.* TLS +GLOBAL +DEFAULT +8 ie0
58725c
+#pass
58725c
--- binutils-2.25.1.new/ld/testsuite/ld-powerpc/tlsexe32.r	2016-03-01 14:08:17.248137105 +0000
58725c
+++ binutils-2.25.1/ld/testsuite/ld-powerpc/tlsexe32.r	2016-03-01 15:08:57.693493230 +0000
58725c
@@ -22,6 +22,7 @@ Section Headers:
58725c
  +\[[ 0-9]+\] \.dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4
58725c
  +\[[ 0-9]+\] \.got +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000018 04 +WA +0 +0 +4
58725c
  +\[[ 0-9]+\] \.plt +PROGBITS +[0-9a-f]+ [0-9a-f]+ 000004 00 +WA +0 +0 +4
58725c
+#...
58725c
  +\[[ 0-9]+\] \.shstrtab +STRTAB +.*
58725c
  +\[[ 0-9]+\] \.symtab +SYMTAB +.*
58725c
  +\[[ 0-9]+\] \.strtab +STRTAB +.*
58725c
@@ -64,11 +65,11 @@ Symbol table '\.dynsym' contains [0-9]+
58725c
 .* NOTYPE +LOCAL +DEFAULT +UND 
58725c
 .* TLS +GLOBAL +DEFAULT +UND gd
58725c
 .* TLS +GLOBAL +DEFAULT +UND ld
58725c
-.* NOTYPE +GLOBAL +DEFAULT +12 __end
58725c
-.* NOTYPE +GLOBAL +DEFAULT +12 __bss_start
58725c
+.* NOTYPE +GLOBAL +DEFAULT +.. __end
58725c
+.* NOTYPE +GLOBAL +DEFAULT +.. __bss_start
58725c
 .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt
58725c
-.* NOTYPE +GLOBAL +DEFAULT +12 _edata
58725c
-.* NOTYPE +GLOBAL +DEFAULT +12 _end
58725c
+.* NOTYPE +GLOBAL +DEFAULT +.. _edata
58725c
+.* NOTYPE +GLOBAL +DEFAULT +.. _end
58725c
 
58725c
 Symbol table '\.symtab' contains [0-9]+ entries:
58725c
  +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
58725c
@@ -85,29 +86,5 @@ Symbol table '\.symtab' contains [0-9]+
58725c
 .* SECTION +LOCAL +DEFAULT +10 
58725c
 .* SECTION +LOCAL +DEFAULT +11 
58725c
 .* SECTION +LOCAL +DEFAULT +12 
58725c
-.* FILE +LOCAL +DEFAULT +ABS .*
58725c
-.* TLS +LOCAL +DEFAULT +8 gd4
58725c
-.* TLS +LOCAL +DEFAULT +8 ld4
58725c
-.* TLS +LOCAL +DEFAULT +8 ld5
58725c
-.* TLS +LOCAL +DEFAULT +8 ld6
58725c
-.* TLS +LOCAL +DEFAULT +8 ie4
58725c
-.* TLS +LOCAL +DEFAULT +8 le4
58725c
-.* TLS +LOCAL +DEFAULT +8 le5
58725c
-.* FILE +LOCAL +DEFAULT +ABS .*
58725c
-.* OBJECT +LOCAL +DEFAULT +10 _DYNAMIC
58725c
-.* OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_
58725c
-.* TLS +GLOBAL +DEFAULT +UND gd
58725c
-.* TLS +GLOBAL +DEFAULT +9 le0
58725c
-.* TLS +GLOBAL +DEFAULT +9 ld0
58725c
-.* TLS +GLOBAL +DEFAULT +9 le1
58725c
-.* TLS +GLOBAL +DEFAULT +UND ld
58725c
-.* NOTYPE +GLOBAL +DEFAULT +7 _start
58725c
-.* NOTYPE +GLOBAL +DEFAULT +12 __end
58725c
-.* TLS +GLOBAL +DEFAULT +9 ld2
58725c
-.* TLS +GLOBAL +DEFAULT +9 ld1
58725c
-.* NOTYPE +GLOBAL +DEFAULT +12 __bss_start
58725c
-.* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt
58725c
-.* NOTYPE +GLOBAL +DEFAULT +12 _edata
58725c
-.* NOTYPE +GLOBAL +DEFAULT +12 _end
58725c
-.* TLS +GLOBAL +DEFAULT +9 gd0
58725c
-.* TLS +GLOBAL +DEFAULT +9 ie0
58725c
+#pass
58725c
+
58725c
diff -rup binutils-2.27.orig/ld/testsuite/ld-powerpc/powerpc.exp binutils-2.27/ld/testsuite/ld-powerpc/powerpc.exp
58725c
--- binutils-2.27.orig/ld/testsuite/ld-powerpc/powerpc.exp	2017-01-16 17:27:46.697628285 +0000
58725c
+++ binutils-2.27/ld/testsuite/ld-powerpc/powerpc.exp	2017-01-16 17:34:34.684104074 +0000
58725c
@@ -102,13 +102,13 @@ set ppcelftests {
58725c
      {{objdump -hw reloc.d}} "reloc.so"}
58725c
     {"APUinfo section processing" "-melf32ppc" ""
58725c
      "-a32 -me500" {apuinfo1.s apuinfo-nul.s apuinfo2.s}
58725c
-     {{readelf -x2 apuinfo.rd}} "apuinfo"}
58725c
+     {{readelf -x.PPC.EMB.apuinfo apuinfo.rd}} "apuinfo"}
58725c
     {"APUinfo VLE section processing" "-melf32ppc" ""
58725c
      "-a32 -me500 -mvle" {apuinfo1.s apuinfo-vle.s apuinfo-vle2.s}
58725c
-     {{readelf -x2 apuinfo-vle.rd}} "apuinfo-vle"}
58725c
+     {{readelf -x.PPC.EMB.apuinfo apuinfo-vle.rd}} "apuinfo-vle"}
58725c
     {"APUinfo NULL section processing" "-melf32ppc" ""
58725c
      "-a32 -me500" {apuinfo-nul1.s apuinfo-nul.s}
58725c
-     {{readelf -x2 apuinfo-nul.rd}} "apuinfo"}
58725c
+     {{readelf -x.PPC.EMB.apuinfo apuinfo-nul.rd}} "apuinfo"}
58725c
     {"TLS32 static exec" "-melf32ppc" "" "-a32"  {tls32.s tlslib32.s}
58725c
      {{objdump -dr tls32.d} {objdump -sj.got tls32.g}
58725c
       {objdump -sj.tdata tls32.t}}