From 03ec8de1b969c4760bde12cd02e1db38f894ba3b Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 22 2020 18:27:29 +0000 Subject: import binutils-2.30-77.el8 --- diff --git a/SOURCES/binutils-PT_GNU_PROPERTY-segment.patch b/SOURCES/binutils-PT_GNU_PROPERTY-segment.patch index fed202f..8a9c657 100644 --- a/SOURCES/binutils-PT_GNU_PROPERTY-segment.patch +++ b/SOURCES/binutils-PT_GNU_PROPERTY-segment.patch @@ -30,7 +30,6 @@ diff -rup binutils.orig/bfd/elf-bfd.h binutils-2.30/bfd/elf-bfd.h /* The linker may need to keep track of the number of relocs that it decides to copy as dynamic relocs in check_relocs for each symbol. -Only in binutils-2.30/bfd: elf-bfd.h.orig diff -rup binutils.orig/bfd/elf-properties.c binutils-2.30/bfd/elf-properties.c --- binutils.orig/bfd/elf-properties.c 2020-04-07 11:32:17.280776377 +0100 +++ binutils-2.30/bfd/elf-properties.c 2020-04-07 13:34:03.899784089 +0100 @@ -572,7 +571,6 @@ diff -rup binutils.orig/bfd/elf.c binutils-2.30/bfd/elf.c /* If there is a .eh_frame_hdr section, throw in a PT_GNU_EH_FRAME segment. */ eh_frame_hdr = elf_eh_frame_hdr (abfd); -Only in binutils-2.30/bfd: elf.c.orig diff -rup binutils.orig/bfd/elfxx-target.h binutils-2.30/bfd/elfxx-target.h --- binutils.orig/bfd/elfxx-target.h 2020-04-07 11:32:17.267776472 +0100 +++ binutils-2.30/bfd/elfxx-target.h 2020-04-07 13:34:03.899784089 +0100 @@ -594,7 +592,6 @@ diff -rup binutils.orig/bfd/elfxx-target.h binutils-2.30/bfd/elfxx-target.h elf_backend_compact_eh_encoding, elf_backend_cant_unwind_opcode, elf_backend_init_secondary_reloc_section, -Only in binutils-2.30/bfd: elfxx-target.h.orig diff -rup binutils.orig/bfd/elfxx-x86.c binutils-2.30/bfd/elfxx-x86.c --- binutils.orig/bfd/elfxx-x86.c 2020-04-07 11:32:17.271776442 +0100 +++ binutils-2.30/bfd/elfxx-x86.c 2020-04-07 13:34:03.899784089 +0100 @@ -1377,7 +1374,6 @@ diff -rup binutils.orig/binutils/readelf.c binutils-2.30/binutils/readelf.c default: /* Handle unrecognised types. An error message should have already been created by get_gnu_elf_note_type(), so all that we need to do is to -Only in binutils-2.30/binutils: readelf.c.orig diff -rup binutils.orig/binutils/testsuite/binutils-all/i386/empty.d binutils-2.30/binutils/testsuite/binutils-all/i386/empty.d --- binutils.orig/binutils/testsuite/binutils-all/i386/empty.d 2020-04-07 11:32:17.248776609 +0100 +++ binutils-2.30/binutils/testsuite/binutils-all/i386/empty.d 2020-04-07 13:34:03.901784074 +0100 @@ -1781,8 +1777,6 @@ diff -rup binutils.orig/gas/config/tc-i386.c binutils-2.30/gas/config/tc-i386.c #endif #if (defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF) \ || defined (TE_PE) || defined (TE_PEP)) -Only in binutils-2.30/gas/config: tc-i386.c.orig -Only in binutils-2.30/gas/config: tc-i386.c.rej diff -rup binutils.orig/gas/config/tc-i386.h binutils-2.30/gas/config/tc-i386.h --- binutils.orig/gas/config/tc-i386.h 2020-04-07 11:32:17.526774588 +0100 +++ binutils-2.30/gas/config/tc-i386.h 2020-04-07 13:34:03.904784053 +0100 @@ -1798,7 +1792,6 @@ diff -rup binutils.orig/gas/config/tc-i386.h binutils-2.30/gas/config/tc-i386.h #ifdef TE_PE #define O_secrel O_md1 -Only in binutils-2.30/gas/config: tc-i386.h.orig diff -rup binutils.orig/gas/config.in binutils-2.30/gas/config.in --- binutils.orig/gas/config.in 2020-04-07 11:32:17.532774544 +0100 +++ binutils-2.30/gas/config.in 2020-04-07 13:34:03.904784053 +0100 @@ -1918,11 +1911,6 @@ diff -rup binutils.orig/gas/testsuite/gas/i386/i386.exp binutils-2.30/gas/testsu if { [gas_64_check] } then { run_dump_test "att-regs" run_dump_test "intel-regs" -Only in binutils-2.30/gas/testsuite/gas/i386: i386.exp.orig -Only in binutils-2.30/gas/testsuite/gas/i386: property-1.d -Only in binutils-2.30/gas/testsuite/gas/i386: property-1.s -Only in binutils-2.30/gas/testsuite/gas/i386: property-2.d -Only in binutils-2.30/gas/testsuite/gas/i386: property-2.s diff -rup binutils.orig/include/bfdlink.h binutils-2.30/include/bfdlink.h --- binutils.orig/include/bfdlink.h 2020-04-07 11:32:17.506774733 +0100 +++ binutils-2.30/include/bfdlink.h 2020-04-07 13:34:03.906784038 +0100 @@ -2157,14 +2145,6 @@ diff -rup binutils.orig/ld/testsuite/ld-elf/elf.exp binutils-2.30/ld/testsuite/l } set LDFLAGS $old_ldflags -Only in binutils-2.30/ld/testsuite/ld-elf: pr23900-1-32.rd -Only in binutils-2.30/ld/testsuite/ld-elf: pr23900-1-64.rd -Only in binutils-2.30/ld/testsuite/ld-elf: pr23900-1.d -Only in binutils-2.30/ld/testsuite/ld-elf: pr23900-1.s -Only in binutils-2.30/ld/testsuite/ld-elf: pr23900-2.s -Only in binutils-2.30/ld/testsuite/ld-elf: pr23900-2a.d -Only in binutils-2.30/ld/testsuite/ld-elf: pr23900-2b.d -Only in binutils-2.30/ld/testsuite/ld-elf: stack-noexec.rd diff -rup binutils.orig/ld/testsuite/ld-i386/ibt-plt-1.d binutils-2.30/ld/testsuite/ld-i386/ibt-plt-1.d --- binutils.orig/ld/testsuite/ld-i386/ibt-plt-1.d 2020-04-07 11:32:17.358775810 +0100 +++ binutils-2.30/ld/testsuite/ld-i386/ibt-plt-1.d 2020-04-07 13:34:03.907784031 +0100 @@ -3556,3 +3536,245 @@ diff -rup binutils.orig/ld/testsuite/ld-x86-64/property-x86-shstk3b.d binutils-2 + Properties: x86 ISA needed: i486, 586, SSE2, SSE3 + x86 ISA used: + x86 feature used: x86 +--- /dev/null 2020-08-20 07:54:24.260993139 +0100 ++++ binutils-2.30/gas/testsuite/gas/i386/property-1.s 2020-08-20 15:44:27.696983474 +0100 +@@ -0,0 +1,30 @@ ++ .section ".note.gnu.property", "a" ++.ifdef __64_bit__ ++ .p2align 3 ++.else ++ .p2align 2 ++.endif ++ .long 1f - 0f /* name length. */ ++ .long 3f - 1f /* data length. */ ++ /* NT_GNU_PROPERTY_TYPE_0 */ ++ .long 5 /* note type. */ ++0: ++ .asciz "GNU" /* vendor name. */ ++1: ++.ifdef __64_bit__ ++ .p2align 3 ++.else ++ .p2align 2 ++.endif ++ /* GNU_PROPERTY_X86_ISA_1_USED */ ++ .long 0xc0010000 /* pr_type. */ ++ .long 5f - 4f /* pr_datasz. */ ++4: ++ .long 0 ++5: ++.ifdef __64_bit__ ++ .p2align 3 ++.else ++ .p2align 2 ++.endif ++3: +--- /dev/null 2020-08-20 07:54:24.260993139 +0100 ++++ binutils-2.30/gas/testsuite/gas/i386/property-1.d 2020-08-20 15:44:27.696983474 +0100 +@@ -0,0 +1,8 @@ ++#name: i386 property 1 ++#as: -mx86-used-note=no --generate-missing-build-notes=no ++#readelf: -n ++ ++Displaying notes found in: .note.gnu.property ++[ ]+Owner[ ]+Data size[ ]+Description ++ GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 ++ Properties: x86 ISA used: +--- /dev/null 2020-08-20 07:54:24.260993139 +0100 ++++ binutils-2.30/gas/testsuite/gas/i386/property-2.d 2020-08-20 15:44:34.770964195 +0100 +@@ -0,0 +1,9 @@ ++#name: i386 property 2 ++#as: -mx86-used-note=yes --generate-missing-build-notes=no ++#readelf: -n ++ ++Displaying notes found in: .note.gnu.property ++[ ]+Owner[ ]+Data size[ ]+Description ++ GNU 0x[0-9a-f]+ NT_GNU_PROPERTY_TYPE_0 ++ Properties: x86 ISA used: CMOV, SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2, FMA, AVX512F, AVX512CD, AVX512ER, AVX512PF, AVX512VL, AVX512DQ, AVX512BW, AVX512_4FMAPS, AVX512_4VNNIW, AVX512_BITALG, AVX512_IFMA, AVX512_VBMI, AVX512_VBMI2, AVX512_VNNI, AVX512_BF16 ++ x86 feature used: x86, x87, MMX, XMM, YMM, ZMM, FXSR, XSAVE, XSAVEOPT, XSAVEC +--- /dev/null 2020-08-20 07:54:24.260993139 +0100 ++++ binutils-2.30/gas/testsuite/gas/i386/property-2.s 2020-08-20 15:44:34.770964195 +0100 +@@ -0,0 +1,32 @@ ++ .text ++ fsin ++ movq %mm0, %mm1 ++ fxsave (%eax) ++ xsave (%eax) ++ xsaveopt (%eax) ++ xsavec (%eax) ++ cmove %eax,%ebx ++ movaps %xmm0, %xmm1 ++ movapd %xmm0, %xmm1 ++ mwait ++ psignb %xmm0, %xmm1 ++ blendvpd %xmm0, %xmm1 ++ pcmpgtq %xmm0, %xmm1 ++ vmovaps %xmm0, %xmm1 ++ vpabsb %ymm0, %ymm1 ++ vfmadd231ps %ymm0, %ymm1, %ymm1 ++ vmovaps %zmm0, %zmm1 ++ vplzcntd %zmm0, %zmm1 ++ vrsqrt28pd %zmm0, %zmm1 ++ vscatterpf0dpd (%eax,%ymm1){%k1} ++ {evex} vpmovzxdq %xmm0, %xmm1 ++ vandnpd %zmm0, %zmm0, %zmm1 ++ vpmaxuw %zmm0, %zmm0, %zmm1 ++ v4fnmaddss (%ecx), %xmm4, %xmm1 ++ vpopcntb %zmm0, %zmm1 ++ vp4dpwssd (%ecx), %zmm0, %zmm1 ++ vpmadd52luq (%ecx), %zmm0, %zmm1 ++ vpermt2b (%ecx), %zmm0, %zmm1 ++ vpcompressb %zmm0, %zmm1 ++ vpdpwssds (%ecx), %zmm0, %zmm1 ++ vcvtne2ps2bf16 (%ecx), %zmm0, %zmm1 +--- /dev/null 2020-08-20 07:54:24.260993139 +0100 ++++ binutils-2.30/ld/testsuite/ld-elf/pr23900-1-32.rd 2020-08-20 15:46:11.850699543 +0100 +@@ -0,0 +1,14 @@ ++#source: pr23900-1.s ++#ld: ++#readelf: -l --wide ++#target: *-*-linux* *-*-gnu* *-*-nacl* ++ ++#... ++ GNU_PROPERTY .* +0x4 ++#... ++ +[0-9]+ +.*\ \.note\.gnu\.property .* ++#... ++ +[0-9]+ +\.note\.gnu\.property ++#... ++ +[0-9]+ +\.note\.gnu\.property ++#... +--- /dev/null 2020-08-20 07:54:24.260993139 +0100 ++++ binutils-2.30/ld/testsuite/ld-elf/pr23900-1-64.rd 2020-08-20 15:46:16.968685596 +0100 +@@ -0,0 +1,14 @@ ++#source: pr23900-1.s ++#ld: ++#readelf: -l --wide ++#target: *-*-linux* *-*-gnu* *-*-nacl* ++ ++#... ++ GNU_PROPERTY .* +0x8 ++#... ++ +[0-9]+ +.*\ \.note\.gnu\.property .* ++#... ++ +[0-9]+ +\.note\.gnu\.property ++#... ++ +[0-9]+ +\.note\.gnu\.property ++#... +--- /dev/null 2020-08-20 07:54:24.260993139 +0100 ++++ binutils-2.30/ld/testsuite/ld-elf/pr23900-1.d 2020-08-20 15:46:26.546659490 +0100 +@@ -0,0 +1,16 @@ ++#ld: ++#readelf: --notes --wide -l ++#target: *-*-linux* *-*-gnu* *-*-nacl* ++ ++#... ++ GNU_PROPERTY .* ++#... ++ +[0-9]+ +.*\.note\.gnu\.property.* ++#... ++ +[0-9]+ +\.note\.gnu\.property ++#... ++ +[0-9]+ +\.note\.gnu\.property ++#... ++Displaying notes found in: \.note\.gnu\.property ++[ ]+Owner[ ]+Data size[ ]+Description ++[ ]+GNU[ ]+0x0+..[ ]+NT_GNU_PROPERTY_TYPE_0[ ]+Properties: no copy on protected +--- /dev/null 2020-08-20 07:54:24.260993139 +0100 ++++ binutils-2.30/ld/testsuite/ld-elf/pr23900-1.s 2020-08-20 15:46:30.072649878 +0100 +@@ -0,0 +1,30 @@ ++ .text ++ .global start /* Used by SH targets. */ ++start: ++ .global _start ++_start: ++ .global __start ++__start: ++ .global main /* Used by HPPA targets. */ ++main: ++ .globl _main /* Used by LynxOS targets. */ ++_main: ++ .dc.a 0 ++ ++ .section .note.gnu.property, "a" ++ .p2align ALIGN ++ .dc.l .L1 - .L0 /* name length. */ ++ .dc.l .L3 - .L1 /* data length. */ ++ /* NT_GNU_PROPERTY_TYPE_0 */ ++ .dc.l 5 /* note type. */ ++.L0: ++ .asciz "GNU" /* vendor name. */ ++.L1: ++ .p2align ALIGN ++ /* GNU_PROPERTY_NO_COPY_ON_PROTECTED */ ++ .dc.l 2 /* pr_type. */ ++ .dc.l .L5 - .L4 /* pr_datasz. */ ++.L4: ++.L5: ++ .p2align ALIGN ++.L3: +--- /dev/null 2020-08-20 07:54:24.260993139 +0100 ++++ binutils-2.30/ld/testsuite/ld-elf/pr23900-2.s 2020-08-20 15:46:36.328632828 +0100 +@@ -0,0 +1,32 @@ ++ .text ++ .global start /* Used by SH targets. */ ++start: ++ .global _start ++_start: ++ .global __start ++__start: ++ .global main /* Used by HPPA targets. */ ++main: ++ .globl _main /* Used by LynxOS targets. */ ++_main: ++ .dc.a 0 ++ ++ /* NB: Deliberately incorrect section name. Should be ++ .note.gnu.property. */ ++ .section .note, "a" ++ .p2align ALIGN ++ .dc.l .L1 - .L0 /* name length. */ ++ .dc.l .L3 - .L1 /* data length. */ ++ /* NT_GNU_PROPERTY_TYPE_0 */ ++ .dc.l 5 /* note type. */ ++.L0: ++ .asciz "GNU" /* vendor name. */ ++.L1: ++ .p2align ALIGN ++ /* GNU_PROPERTY_NO_COPY_ON_PROTECTED */ ++ .dc.l 2 /* pr_type. */ ++ .dc.l .L5 - .L4 /* pr_datasz. */ ++.L4: ++.L5: ++ .p2align ALIGN ++.L3: +--- /dev/null 2020-08-20 07:54:24.260993139 +0100 ++++ binutils-2.30/ld/testsuite/ld-elf/pr23900-2a.d 2020-08-20 15:46:42.642615623 +0100 +@@ -0,0 +1,9 @@ ++#source: pr23900-2.s ++#ld: ++#readelf: --notes --wide ++#target: *-*-linux* *-*-gnu* *-*-nacl* ++ ++#... ++Displaying notes found in: \.note ++[ ]+Owner[ ]+Data size[ ]+Description ++[ ]+GNU[ ]+0x0+..[ ]+NT_GNU_PROPERTY_TYPE_0[ ]+Properties: no copy on protected +--- /dev/null 2020-08-20 07:54:24.260993139 +0100 ++++ binutils-2.30/ld/testsuite/ld-elf/pr23900-2b.d 2020-08-20 15:46:48.738599006 +0100 +@@ -0,0 +1,9 @@ ++#source: pr23900-2.s ++#ld: ++#readelf: -l --wide ++#target: *-*-linux* *-*-gnu* *-*-nacl* ++ ++#failif ++#... ++ GNU_PROPERTY .* ++#... +--- /dev/null 2020-08-20 07:54:24.260993139 +0100 ++++ binutils-2.30/ld/testsuite/ld-elf/stack-noexec.rd 2020-08-20 15:46:59.907568567 +0100 +@@ -0,0 +1,3 @@ ++#... ++ GNU_STACK 0x0+00000 0x0+000000 0x0+000000 0x0+000 0x.+0000 RW 0x[0-9a-f]+ ++#pass diff --git a/SOURCES/binutils-s390-alignment-hints.patch b/SOURCES/binutils-s390-alignment-hints.patch new file mode 100644 index 0000000..e823b85 --- /dev/null +++ b/SOURCES/binutils-s390-alignment-hints.patch @@ -0,0 +1,150 @@ +diff -rup binutils.orig/gas/testsuite/gas/s390/zarch-z13.d binutils-2.30/gas/testsuite/gas/s390/zarch-z13.d +--- binutils.orig/gas/testsuite/gas/s390/zarch-z13.d 2020-06-24 16:02:24.228446160 +0100 ++++ binutils-2.30/gas/testsuite/gas/s390/zarch-z13.d 2020-06-24 16:02:35.952409554 +0100 +@@ -17,7 +17,6 @@ Disassembly of section .text: + .*: e7 f0 fd fc 10 46 [ ]*vgmh %v15,253,252 + .*: e7 f0 fd fc 20 46 [ ]*vgmf %v15,253,252 + .*: e7 f0 fd fc 30 46 [ ]*vgmg %v15,253,252 +-.*: e7 f6 9f a0 00 06 [ ]*vl %v15,4000\(%r6,%r9\) + .*: e7 f1 00 00 04 56 [ ]*vlr %v15,%v17 + .*: e7 f6 9f a0 d0 05 [ ]*vlrep %v15,4000\(%r6,%r9\),13 + .*: e7 f6 9f a0 00 05 [ ]*vlrepb %v15,4000\(%r6,%r9\) +@@ -42,7 +41,6 @@ Disassembly of section .text: + .*: e7 f6 9f a0 10 04 [ ]*vllezh %v15,4000\(%r6,%r9\) + .*: e7 f6 9f a0 20 04 [ ]*vllezf %v15,4000\(%r6,%r9\) + .*: e7 f6 9f a0 30 04 [ ]*vllezg %v15,4000\(%r6,%r9\) +-.*: e7 f1 6f a0 04 36 [ ]*vlm %v15,%v17,4000\(%r6\) + .*: e7 f6 9f a0 d0 07 [ ]*vlbb %v15,4000\(%r6,%r9\),13 + .*: e7 f6 9f a0 d0 22 [ ]*vlvg %v15,%r6,4000\(%r9\),13 + .*: e7 f6 9f a0 00 22 [ ]*vlvgb %v15,%r6,4000\(%r9\) +@@ -98,12 +96,10 @@ Disassembly of section .text: + .*: e7 f1 00 00 04 5f [ ]*vsegb %v15,%v17 + .*: e7 f1 00 00 14 5f [ ]*vsegh %v15,%v17 + .*: e7 f1 00 00 24 5f [ ]*vsegf %v15,%v17 +-.*: e7 f6 9f a0 00 0e [ ]*vst %v15,4000\(%r6,%r9\) + .*: e7 f6 9f a0 d0 08 [ ]*vsteb %v15,4000\(%r6,%r9\),13 + .*: e7 f6 9f a0 d0 09 [ ]*vsteh %v15,4000\(%r6,%r9\),13 + .*: e7 f6 9f a0 d0 0b [ ]*vstef %v15,4000\(%r6,%r9\),13 + .*: e7 f6 9f a0 d0 0a [ ]*vsteg %v15,4000\(%r6,%r9\),13 +-.*: e7 f1 6f a0 04 3e [ ]*vstm %v15,%v17,4000\(%r6\) + .*: e7 f6 9f a0 00 3f [ ]*vstl %v15,%r6,4000\(%r9\) + .*: e7 f1 00 00 d4 d7 [ ]*vuph %v15,%v17,13 + .*: e7 f1 00 00 04 d7 [ ]*vuphb %v15,%v17 +@@ -680,3 +676,11 @@ Disassembly of section .text: + .*: e3 69 b8 f0 fd 3b [ ]*lzrf %r6,-10000\(%r9,%r11\) + .*: e3 69 b8 f0 fd 2a [ ]*lzrg %r6,-10000\(%r9,%r11\) + .*: b9 3c 00 69 [ ]*prno %r6,%r9 ++.*: e7 f6 9f a0 00 06 [ ]*vl %v15,4000\(%r6,%r9\) ++.*: e7 f6 9f a0 d0 06 [ ]*vl %v15,4000\(%r6,%r9\),13 ++.*: e7 f1 6f a0 04 36 [ ]*vlm %v15,%v17,4000\(%r6\) ++.*: e7 f1 6f a0 d4 36 [ ]*vlm %v15,%v17,4000\(%r6\),13 ++.*: e7 f6 9f a0 00 0e [ ]*vst %v15,4000\(%r6,%r9\) ++.*: e7 f6 9f a0 d0 0e [ ]*vst %v15,4000\(%r6,%r9\),13 ++.*: e7 f1 6f a0 04 3e [ ]*vstm %v15,%v17,4000\(%r6\) ++.*: e7 f1 6f a0 d4 3e [ ]*vstm %v15,%v17,4000\(%r6\),13 +diff -rup binutils.orig/gas/testsuite/gas/s390/zarch-z13.s binutils-2.30/gas/testsuite/gas/s390/zarch-z13.s +--- binutils.orig/gas/testsuite/gas/s390/zarch-z13.s 2020-06-24 16:02:24.227446163 +0100 ++++ binutils-2.30/gas/testsuite/gas/s390/zarch-z13.s 2020-06-24 16:02:35.952409554 +0100 +@@ -11,7 +11,6 @@ foo: + vgmh %v15,253,252 + vgmf %v15,253,252 + vgmg %v15,253,252 +- vl %v15,4000(%r6,%r9) + vlr %v15,%v17 + vlrep %v15,4000(%r6,%r9),13 + vlrepb %v15,4000(%r6,%r9) +@@ -36,7 +35,6 @@ foo: + vllezh %v15,4000(%r6,%r9) + vllezf %v15,4000(%r6,%r9) + vllezg %v15,4000(%r6,%r9) +- vlm %v15,%v17,4000(%r6) + vlbb %v15,4000(%r6,%r9),13 + vlvg %v15,%r6,4000(%r9),13 + vlvgb %v15,%r6,4000(%r9) +@@ -92,12 +90,10 @@ foo: + vsegb %v15,%v17 + vsegh %v15,%v17 + vsegf %v15,%v17 +- vst %v15,4000(%r6,%r9) + vsteb %v15,4000(%r6,%r9),13 + vsteh %v15,4000(%r6,%r9),13 + vstef %v15,4000(%r6,%r9),13 + vsteg %v15,4000(%r6,%r9),13 +- vstm %v15,%v17,4000(%r6) + vstl %v15,%r6,4000(%r9) + vuph %v15,%v17,13 + vuphb %v15,%v17 +@@ -674,3 +670,11 @@ foo: + lzrf %r6,-10000(%r9,%r11) + lzrg %r6,-10000(%r9,%r11) + ppno %r6,%r9 ++ vl %v15,4000(%r6,%r9) ++ vl %v15,4000(%r6,%r9),13 ++ vlm %v15,%v17,4000(%r6) ++ vlm %v15,%v17,4000(%r6),13 ++ vst %v15,4000(%r6,%r9) ++ vst %v15,4000(%r6,%r9),13 ++ vstm %v15,%v17,4000(%r6) ++ vstm %v15,%v17,4000(%r6),13 +diff -rup binutils.orig/opcodes/s390-opc.txt binutils-2.30/opcodes/s390-opc.txt +--- binutils.orig/opcodes/s390-opc.txt 2020-06-24 16:02:23.965446981 +0100 ++++ binutils-2.30/opcodes/s390-opc.txt 2020-06-24 16:02:35.953409551 +0100 +@@ -1159,7 +1159,6 @@ e70000000046 vgmb VRI_V0UU "vector gener + e70000001046 vgmh VRI_V0UU "vector generate mask halfword" z13 zarch vx + e70000002046 vgmf VRI_V0UU "vector generate mask word" z13 zarch vx + e70000003046 vgmg VRI_V0UU "vector generate mask double word" z13 zarch vx +-e70000000006 vl VRX_VRRD "vector memory load" z13 zarch vx + e70000000056 vlr VRX_VV "vector register load" z13 zarch vx + e70000000005 vlrep VRX_VRRDU "vector load and replicate" z13 zarch vx + e70000000005 vlrepb VRX_VRRD "vector load and replicate byte elements" z13 zarch vx +@@ -1184,7 +1183,6 @@ e70000000004 vllezb VRX_VRRD "vector loa + e70000001004 vllezh VRX_VRRD "vector load logical halfword element and zero" z13 zarch vx + e70000002004 vllezf VRX_VRRD "vector load logical word element and zero" z13 zarch vx + e70000003004 vllezg VRX_VRRD "vector load logical double word element and zero" z13 zarch vx +-e70000000036 vlm VRS_VVRD "vector load multiple" z13 zarch vx + e70000000007 vlbb VRX_VRRDU "vector load to block boundary" z13 zarch vx + e70000000022 vlvg VRS_VRRDU "vector load VR element from GR" z13 zarch vx + e70000000022 vlvgb VRS_VRRD "vector load VR byte element from GR" z13 zarch vx +@@ -1240,12 +1238,10 @@ e7000000005f vseg VRR_VV0U "vector sign + e7000000005f vsegb VRR_VV "vector sign extend byte to double word" z13 zarch vx + e7000000105f vsegh VRR_VV "vector sign extend halfword to double word" z13 zarch vx + e7000000205f vsegf VRR_VV "vector sign extend word to double word" z13 zarch vx +-e7000000000e vst VRX_VRRD "vector store" z13 zarch vx + e70000000008 vsteb VRX_VRRDU "vector store byte element" z13 zarch vx + e70000000009 vsteh VRX_VRRDU "vector store halfword element" z13 zarch vx + e7000000000b vstef VRX_VRRDU "vector store word element" z13 zarch vx + e7000000000a vsteg VRX_VRRDU "vector store double word element" z13 zarch vx +-e7000000003e vstm VRS_VVRD "vector store multiple" z13 zarch vx + e7000000003f vstl VRS_VRRD "vector store with length" z13 zarch vx + e700000000d7 vuph VRR_VV0U "vector unpack high" z13 zarch vx + e700000000d7 vuphb VRR_VV "vector unpack high byte" z13 zarch vx +@@ -1680,6 +1676,13 @@ e3000000003b lzrf RXY_RRRD "load and zer + e3000000002a lzrg RXY_RRRD "load and zero rightmost byte 64->64" z13 zarch + b93c ppno RRE_RR "perform pseudorandom number operation" z13 zarch + ++# Aligned vector store hints ++ ++e70000000006 vl VRX_VRRDU "vector memory load" z13 zarch optparm,vx ++e70000000036 vlm VRS_VVRDU "vector load multiple" z13 zarch optparm,vx ++e7000000000e vst VRX_VRRDU "vector store" z13 zarch optparm,vx ++e7000000003e vstm VRS_VVRDU "vector store multiple" z13 zarch optparm,vx ++ + # arch12 instructions + + # Vector Enhancements Facility 1 +@@ -1882,14 +1885,6 @@ b9a1 tpei RRE_RR "test pending external + b9ac irbm RRE_RR "insert reference bits multiple" arch12 zarch + + +-# Aligned vector store hints +- +-e70000000006 vl VRX_VRRDU "vector memory load" arch12 zarch optparm +-e70000000036 vlm VRS_VVRDU "vector load multiple" arch12 zarch optparm +-e7000000000e vst VRX_VRRDU "vector store" arch12 zarch optparm +-e7000000003e vstm VRS_VVRDU "vector store multiple" arch12 zarch optparm +- +- + # arch13 instructions + + +Only in binutils-2.30/opcodes: s390-opc.txt.orig diff --git a/SPECS/binutils.spec b/SPECS/binutils.spec index 7402368..6918881 100644 --- a/SPECS/binutils.spec +++ b/SPECS/binutils.spec @@ -69,7 +69,7 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.30 -Release: 75%{?dist} +Release: 77%{?dist} License: GPLv3+ URL: https://sourceware.org/binutils @@ -468,6 +468,11 @@ Patch74: binutils-objcopy-set-section-flags-shared.patch # Lifetime: Fixed in 2.32 Patch75: binutils-s390x-prevent-GOT-rewrite.patch +# Purpose: Have the s/390 assembler include alignment hints in vector +# instructions. +# Lifetime: Fixed in 2.35 +Patch76: binutils-s390-alignment-hints.patch + #---------------------------------------------------------------------------- Provides: bundled(libiberty) @@ -667,6 +672,7 @@ using libelf instead of BFD. %patch73 -p1 %patch74 -p1 %patch75 -p1 +%patch76 -p1 # We cannot run autotools as there is an exact requirement of autoconf-2.59. # FIXME - this is no longer true. Maybe try reinstating autotool use ? @@ -1104,6 +1110,12 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Thu Aug 20 2020 Nick Clifton - 2.30-77 +- Add tests missing from PT_GNU_SEGMENT patch. (#1870039) + +* Wed Jun 24 2020 Nick Clifton - 2.30-76 +- Have the s.390 assembler include alignment hints with vector instructions. (#1850490) + * Mon Jun 15 2020 Nick Clifton - 2.30-75 - Prevent the s/390 linker from rewriting the GOT access for certain symbol types. (#1846972)