Blame SOURCES/binutils-rh1312876.patch

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