Blame SOURCES/binutils-rh1312876.patch

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