From 0845853341934919e06ab507740de834c3187dde Mon Sep 17 00:00:00 2001 From: eabdullin Date: Mon, 30 Sep 2024 16:57:50 +0000 Subject: [PATCH] import CS gcc-toolset-14-binutils-2.41-3.el9 --- .gcc-toolset-14-binutils.metadata | 1 + .gitignore | 3 +- .../binutils-2.19.50.0.1-output-format.sed | 38 ++++ .../binutils-2.27-aarch64-ifunc.patch | 0 .../binutils-BPF-reloc-4.patch | 0 .../binutils-Intel-APX-CODE_6_GOTTPOFF.patch | 0 .../binutils-Intel-APX-part-1-fixes.patch | 0 .../binutils-Intel-APX-part-1.patch | 0 .../binutils-aarch64-big-bti-programs.patch | 0 .../binutils-autoconf-version.patch | 0 .../binutils-big-merge.patch | 0 .../binutils-demangler-updates.patch | 0 ...ls-do-not-link-with-static-libstdc++.patch | 0 .../binutils-execstack-error.patch | 0 .../binutils-export-demangle.h.patch | 0 .../binutils-gold-empty-dwp.patch | 0 ...inutils-gold-i386-gnu-property-notes.patch | 0 ...binutils-gold-ignore-execstack-error.patch | 0 ...nutils-gold-mismatched-section-flags.patch | 0 .../binutils-gold-pack-relative-relocs.patch | 0 .../binutils-gold-powerpc.patch | 0 .../binutils-gold-warn-unsupported.patch | 0 ...binutils-handle-corrupt-version-info.patch | 0 .../binutils-libtool-lib64.patch | 0 .../binutils-libtool-no-rpath.patch | 0 .../binutils-multilib.am.patch | 0 .../binutils-no-config-h-check.patch | 0 .../binutils-power-11.patch | 0 .../binutils-ppc-dt_relr-relocs.patch | 0 .../binutils-revert-PLT-elision.patch | 0 .../binutils-riscv-SUB_ULEB128.patch | 0 .../binutils-riscv-testsuite-fixes.patch | 0 .../binutils-special-sections-in-groups.patch | 0 .../binutils-suppress-ld-align-tests.patch | 0 .../binutils-testsuite-fixes.patch | 0 .../binutils-update-linker-manual.patch | 0 .../binutils-version.patch | 0 .../binutils-x86-64-v3.patch | 0 .../i686-AVX10.1-part-1.patch | 0 .../i686-AVX10.1-part-2.patch | 0 .../i686-AVX10.1-part-3.patch | 0 .../i686-AVX10.1-part-4.patch | 0 .../i686-AVX10.1-part-5.patch | 0 .../i686-AVX10.1-part-6.patch | 0 binutils.spec => SPECS/binutils.spec | 0 binutils-gcc-10-fixes.patch | 180 ------------------ binutilscompare | 70 ------- gating.yaml | 14 -- plans/build-gating.fmf | 25 --- rpminspect.yaml | 16 -- sources | 2 - 51 files changed, 40 insertions(+), 309 deletions(-) create mode 100644 .gcc-toolset-14-binutils.metadata create mode 100644 SOURCES/binutils-2.19.50.0.1-output-format.sed rename binutils-2.27-aarch64-ifunc.patch => SOURCES/binutils-2.27-aarch64-ifunc.patch (100%) rename binutils-BPF-reloc-4.patch => SOURCES/binutils-BPF-reloc-4.patch (100%) rename binutils-Intel-APX-CODE_6_GOTTPOFF.patch => SOURCES/binutils-Intel-APX-CODE_6_GOTTPOFF.patch (100%) rename binutils-Intel-APX-part-1-fixes.patch => SOURCES/binutils-Intel-APX-part-1-fixes.patch (100%) rename binutils-Intel-APX-part-1.patch => SOURCES/binutils-Intel-APX-part-1.patch (100%) rename binutils-aarch64-big-bti-programs.patch => SOURCES/binutils-aarch64-big-bti-programs.patch (100%) rename binutils-autoconf-version.patch => SOURCES/binutils-autoconf-version.patch (100%) rename binutils-big-merge.patch => SOURCES/binutils-big-merge.patch (100%) rename binutils-demangler-updates.patch => SOURCES/binutils-demangler-updates.patch (100%) rename binutils-do-not-link-with-static-libstdc++.patch => SOURCES/binutils-do-not-link-with-static-libstdc++.patch (100%) rename binutils-execstack-error.patch => SOURCES/binutils-execstack-error.patch (100%) rename binutils-export-demangle.h.patch => SOURCES/binutils-export-demangle.h.patch (100%) rename binutils-gold-empty-dwp.patch => SOURCES/binutils-gold-empty-dwp.patch (100%) rename binutils-gold-i386-gnu-property-notes.patch => SOURCES/binutils-gold-i386-gnu-property-notes.patch (100%) rename binutils-gold-ignore-execstack-error.patch => SOURCES/binutils-gold-ignore-execstack-error.patch (100%) rename binutils-gold-mismatched-section-flags.patch => SOURCES/binutils-gold-mismatched-section-flags.patch (100%) rename binutils-gold-pack-relative-relocs.patch => SOURCES/binutils-gold-pack-relative-relocs.patch (100%) rename binutils-gold-powerpc.patch => SOURCES/binutils-gold-powerpc.patch (100%) rename binutils-gold-warn-unsupported.patch => SOURCES/binutils-gold-warn-unsupported.patch (100%) rename binutils-handle-corrupt-version-info.patch => SOURCES/binutils-handle-corrupt-version-info.patch (100%) rename binutils-libtool-lib64.patch => SOURCES/binutils-libtool-lib64.patch (100%) rename binutils-libtool-no-rpath.patch => SOURCES/binutils-libtool-no-rpath.patch (100%) rename binutils-multilib.am.patch => SOURCES/binutils-multilib.am.patch (100%) rename binutils-no-config-h-check.patch => SOURCES/binutils-no-config-h-check.patch (100%) rename binutils-power-11.patch => SOURCES/binutils-power-11.patch (100%) rename binutils-ppc-dt_relr-relocs.patch => SOURCES/binutils-ppc-dt_relr-relocs.patch (100%) rename binutils-revert-PLT-elision.patch => SOURCES/binutils-revert-PLT-elision.patch (100%) rename binutils-riscv-SUB_ULEB128.patch => SOURCES/binutils-riscv-SUB_ULEB128.patch (100%) rename binutils-riscv-testsuite-fixes.patch => SOURCES/binutils-riscv-testsuite-fixes.patch (100%) rename binutils-special-sections-in-groups.patch => SOURCES/binutils-special-sections-in-groups.patch (100%) rename binutils-suppress-ld-align-tests.patch => SOURCES/binutils-suppress-ld-align-tests.patch (100%) rename binutils-testsuite-fixes.patch => SOURCES/binutils-testsuite-fixes.patch (100%) rename binutils-update-linker-manual.patch => SOURCES/binutils-update-linker-manual.patch (100%) rename binutils-version.patch => SOURCES/binutils-version.patch (100%) rename binutils-x86-64-v3.patch => SOURCES/binutils-x86-64-v3.patch (100%) rename i686-AVX10.1-part-1.patch => SOURCES/i686-AVX10.1-part-1.patch (100%) rename i686-AVX10.1-part-2.patch => SOURCES/i686-AVX10.1-part-2.patch (100%) rename i686-AVX10.1-part-3.patch => SOURCES/i686-AVX10.1-part-3.patch (100%) rename i686-AVX10.1-part-4.patch => SOURCES/i686-AVX10.1-part-4.patch (100%) rename i686-AVX10.1-part-5.patch => SOURCES/i686-AVX10.1-part-5.patch (100%) rename i686-AVX10.1-part-6.patch => SOURCES/i686-AVX10.1-part-6.patch (100%) rename binutils.spec => SPECS/binutils.spec (100%) delete mode 100644 binutils-gcc-10-fixes.patch delete mode 100755 binutilscompare delete mode 100644 gating.yaml delete mode 100644 plans/build-gating.fmf delete mode 100644 rpminspect.yaml delete mode 100644 sources diff --git a/.gcc-toolset-14-binutils.metadata b/.gcc-toolset-14-binutils.metadata new file mode 100644 index 0000000..9cb01f7 --- /dev/null +++ b/.gcc-toolset-14-binutils.metadata @@ -0,0 +1 @@ +0e008260a958bbd10182ee3384672ae0a310eece SOURCES/binutils-2.41.tar.xz diff --git a/.gitignore b/.gitignore index df32993..85a28a3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -/binutils-2.41.tar.xz -/binutils-2.19.50.0.1-output-format.sed +SOURCES/binutils-2.41.tar.xz diff --git a/SOURCES/binutils-2.19.50.0.1-output-format.sed b/SOURCES/binutils-2.19.50.0.1-output-format.sed new file mode 100644 index 0000000..fd770cb --- /dev/null +++ b/SOURCES/binutils-2.19.50.0.1-output-format.sed @@ -0,0 +1,38 @@ +# Generate OUTPUT_FORMAT line for .so files from the system linker output. +# Imported from glibc/Makerules. + +/ld.*[ ]-E[BL]/b f +/collect.*[ ]-E[BL]/b f +/OUTPUT_FORMAT[^)]*$/{N +s/\n[ ]*/ / +} +t o +: o +s/^.*OUTPUT_FORMAT(\([^,]*\), \1, \1).*$/OUTPUT_FORMAT(\1)/ +t q +s/^.*OUTPUT_FORMAT(\([^,]*\), \([^,]*\), \([^,]*\)).*$/\1,\2,\3/ +t s +s/^.*OUTPUT_FORMAT(\([^,)]*\).*$)/OUTPUT_FORMAT(\1)/ +t q +d +: s +s/"//g +G +s/\n// +s/^\([^,]*\),\([^,]*\),\([^,]*\),B/OUTPUT_FORMAT(\2)/p +s/^\([^,]*\),\([^,]*\),\([^,]*\),L/OUTPUT_FORMAT(\3)/p +s/^\([^,]*\),\([^,]*\),\([^,]*\)/OUTPUT_FORMAT(\1)/p +/,/s|^|*** BUG in libc/scripts/output-format.sed *** |p +q +: q +s/"//g +p +q +: f +s/^.*[ ]-E\([BL]\)[ ].*$/,\1/ +t h +s/^.*[ ]-E\([BL]\)$/,\1/ +t h +d +: h +h diff --git a/binutils-2.27-aarch64-ifunc.patch b/SOURCES/binutils-2.27-aarch64-ifunc.patch similarity index 100% rename from binutils-2.27-aarch64-ifunc.patch rename to SOURCES/binutils-2.27-aarch64-ifunc.patch diff --git a/binutils-BPF-reloc-4.patch b/SOURCES/binutils-BPF-reloc-4.patch similarity index 100% rename from binutils-BPF-reloc-4.patch rename to SOURCES/binutils-BPF-reloc-4.patch diff --git a/binutils-Intel-APX-CODE_6_GOTTPOFF.patch b/SOURCES/binutils-Intel-APX-CODE_6_GOTTPOFF.patch similarity index 100% rename from binutils-Intel-APX-CODE_6_GOTTPOFF.patch rename to SOURCES/binutils-Intel-APX-CODE_6_GOTTPOFF.patch diff --git a/binutils-Intel-APX-part-1-fixes.patch b/SOURCES/binutils-Intel-APX-part-1-fixes.patch similarity index 100% rename from binutils-Intel-APX-part-1-fixes.patch rename to SOURCES/binutils-Intel-APX-part-1-fixes.patch diff --git a/binutils-Intel-APX-part-1.patch b/SOURCES/binutils-Intel-APX-part-1.patch similarity index 100% rename from binutils-Intel-APX-part-1.patch rename to SOURCES/binutils-Intel-APX-part-1.patch diff --git a/binutils-aarch64-big-bti-programs.patch b/SOURCES/binutils-aarch64-big-bti-programs.patch similarity index 100% rename from binutils-aarch64-big-bti-programs.patch rename to SOURCES/binutils-aarch64-big-bti-programs.patch diff --git a/binutils-autoconf-version.patch b/SOURCES/binutils-autoconf-version.patch similarity index 100% rename from binutils-autoconf-version.patch rename to SOURCES/binutils-autoconf-version.patch diff --git a/binutils-big-merge.patch b/SOURCES/binutils-big-merge.patch similarity index 100% rename from binutils-big-merge.patch rename to SOURCES/binutils-big-merge.patch diff --git a/binutils-demangler-updates.patch b/SOURCES/binutils-demangler-updates.patch similarity index 100% rename from binutils-demangler-updates.patch rename to SOURCES/binutils-demangler-updates.patch diff --git a/binutils-do-not-link-with-static-libstdc++.patch b/SOURCES/binutils-do-not-link-with-static-libstdc++.patch similarity index 100% rename from binutils-do-not-link-with-static-libstdc++.patch rename to SOURCES/binutils-do-not-link-with-static-libstdc++.patch diff --git a/binutils-execstack-error.patch b/SOURCES/binutils-execstack-error.patch similarity index 100% rename from binutils-execstack-error.patch rename to SOURCES/binutils-execstack-error.patch diff --git a/binutils-export-demangle.h.patch b/SOURCES/binutils-export-demangle.h.patch similarity index 100% rename from binutils-export-demangle.h.patch rename to SOURCES/binutils-export-demangle.h.patch diff --git a/binutils-gold-empty-dwp.patch b/SOURCES/binutils-gold-empty-dwp.patch similarity index 100% rename from binutils-gold-empty-dwp.patch rename to SOURCES/binutils-gold-empty-dwp.patch diff --git a/binutils-gold-i386-gnu-property-notes.patch b/SOURCES/binutils-gold-i386-gnu-property-notes.patch similarity index 100% rename from binutils-gold-i386-gnu-property-notes.patch rename to SOURCES/binutils-gold-i386-gnu-property-notes.patch diff --git a/binutils-gold-ignore-execstack-error.patch b/SOURCES/binutils-gold-ignore-execstack-error.patch similarity index 100% rename from binutils-gold-ignore-execstack-error.patch rename to SOURCES/binutils-gold-ignore-execstack-error.patch diff --git a/binutils-gold-mismatched-section-flags.patch b/SOURCES/binutils-gold-mismatched-section-flags.patch similarity index 100% rename from binutils-gold-mismatched-section-flags.patch rename to SOURCES/binutils-gold-mismatched-section-flags.patch diff --git a/binutils-gold-pack-relative-relocs.patch b/SOURCES/binutils-gold-pack-relative-relocs.patch similarity index 100% rename from binutils-gold-pack-relative-relocs.patch rename to SOURCES/binutils-gold-pack-relative-relocs.patch diff --git a/binutils-gold-powerpc.patch b/SOURCES/binutils-gold-powerpc.patch similarity index 100% rename from binutils-gold-powerpc.patch rename to SOURCES/binutils-gold-powerpc.patch diff --git a/binutils-gold-warn-unsupported.patch b/SOURCES/binutils-gold-warn-unsupported.patch similarity index 100% rename from binutils-gold-warn-unsupported.patch rename to SOURCES/binutils-gold-warn-unsupported.patch diff --git a/binutils-handle-corrupt-version-info.patch b/SOURCES/binutils-handle-corrupt-version-info.patch similarity index 100% rename from binutils-handle-corrupt-version-info.patch rename to SOURCES/binutils-handle-corrupt-version-info.patch diff --git a/binutils-libtool-lib64.patch b/SOURCES/binutils-libtool-lib64.patch similarity index 100% rename from binutils-libtool-lib64.patch rename to SOURCES/binutils-libtool-lib64.patch diff --git a/binutils-libtool-no-rpath.patch b/SOURCES/binutils-libtool-no-rpath.patch similarity index 100% rename from binutils-libtool-no-rpath.patch rename to SOURCES/binutils-libtool-no-rpath.patch diff --git a/binutils-multilib.am.patch b/SOURCES/binutils-multilib.am.patch similarity index 100% rename from binutils-multilib.am.patch rename to SOURCES/binutils-multilib.am.patch diff --git a/binutils-no-config-h-check.patch b/SOURCES/binutils-no-config-h-check.patch similarity index 100% rename from binutils-no-config-h-check.patch rename to SOURCES/binutils-no-config-h-check.patch diff --git a/binutils-power-11.patch b/SOURCES/binutils-power-11.patch similarity index 100% rename from binutils-power-11.patch rename to SOURCES/binutils-power-11.patch diff --git a/binutils-ppc-dt_relr-relocs.patch b/SOURCES/binutils-ppc-dt_relr-relocs.patch similarity index 100% rename from binutils-ppc-dt_relr-relocs.patch rename to SOURCES/binutils-ppc-dt_relr-relocs.patch diff --git a/binutils-revert-PLT-elision.patch b/SOURCES/binutils-revert-PLT-elision.patch similarity index 100% rename from binutils-revert-PLT-elision.patch rename to SOURCES/binutils-revert-PLT-elision.patch diff --git a/binutils-riscv-SUB_ULEB128.patch b/SOURCES/binutils-riscv-SUB_ULEB128.patch similarity index 100% rename from binutils-riscv-SUB_ULEB128.patch rename to SOURCES/binutils-riscv-SUB_ULEB128.patch diff --git a/binutils-riscv-testsuite-fixes.patch b/SOURCES/binutils-riscv-testsuite-fixes.patch similarity index 100% rename from binutils-riscv-testsuite-fixes.patch rename to SOURCES/binutils-riscv-testsuite-fixes.patch diff --git a/binutils-special-sections-in-groups.patch b/SOURCES/binutils-special-sections-in-groups.patch similarity index 100% rename from binutils-special-sections-in-groups.patch rename to SOURCES/binutils-special-sections-in-groups.patch diff --git a/binutils-suppress-ld-align-tests.patch b/SOURCES/binutils-suppress-ld-align-tests.patch similarity index 100% rename from binutils-suppress-ld-align-tests.patch rename to SOURCES/binutils-suppress-ld-align-tests.patch diff --git a/binutils-testsuite-fixes.patch b/SOURCES/binutils-testsuite-fixes.patch similarity index 100% rename from binutils-testsuite-fixes.patch rename to SOURCES/binutils-testsuite-fixes.patch diff --git a/binutils-update-linker-manual.patch b/SOURCES/binutils-update-linker-manual.patch similarity index 100% rename from binutils-update-linker-manual.patch rename to SOURCES/binutils-update-linker-manual.patch diff --git a/binutils-version.patch b/SOURCES/binutils-version.patch similarity index 100% rename from binutils-version.patch rename to SOURCES/binutils-version.patch diff --git a/binutils-x86-64-v3.patch b/SOURCES/binutils-x86-64-v3.patch similarity index 100% rename from binutils-x86-64-v3.patch rename to SOURCES/binutils-x86-64-v3.patch diff --git a/i686-AVX10.1-part-1.patch b/SOURCES/i686-AVX10.1-part-1.patch similarity index 100% rename from i686-AVX10.1-part-1.patch rename to SOURCES/i686-AVX10.1-part-1.patch diff --git a/i686-AVX10.1-part-2.patch b/SOURCES/i686-AVX10.1-part-2.patch similarity index 100% rename from i686-AVX10.1-part-2.patch rename to SOURCES/i686-AVX10.1-part-2.patch diff --git a/i686-AVX10.1-part-3.patch b/SOURCES/i686-AVX10.1-part-3.patch similarity index 100% rename from i686-AVX10.1-part-3.patch rename to SOURCES/i686-AVX10.1-part-3.patch diff --git a/i686-AVX10.1-part-4.patch b/SOURCES/i686-AVX10.1-part-4.patch similarity index 100% rename from i686-AVX10.1-part-4.patch rename to SOURCES/i686-AVX10.1-part-4.patch diff --git a/i686-AVX10.1-part-5.patch b/SOURCES/i686-AVX10.1-part-5.patch similarity index 100% rename from i686-AVX10.1-part-5.patch rename to SOURCES/i686-AVX10.1-part-5.patch diff --git a/i686-AVX10.1-part-6.patch b/SOURCES/i686-AVX10.1-part-6.patch similarity index 100% rename from i686-AVX10.1-part-6.patch rename to SOURCES/i686-AVX10.1-part-6.patch diff --git a/binutils.spec b/SPECS/binutils.spec similarity index 100% rename from binutils.spec rename to SPECS/binutils.spec diff --git a/binutils-gcc-10-fixes.patch b/binutils-gcc-10-fixes.patch deleted file mode 100644 index 4233279..0000000 --- a/binutils-gcc-10-fixes.patch +++ /dev/null @@ -1,180 +0,0 @@ -diff -rup binutils.orig/gold/gdb-index.cc binutils-2.34.0/gold/gdb-index.cc ---- binutils.orig/gold/gdb-index.cc 2020-07-24 09:12:29.241306445 +0100 -+++ binutils-2.34.0/gold/gdb-index.cc 2020-07-24 09:15:48.332095898 +0100 -@@ -817,7 +817,7 @@ Gdb_index_info_reader::get_qualified_nam - void - Gdb_index_info_reader::record_cu_ranges(Dwarf_die* die) - { -- unsigned int shndx; -+ unsigned int shndx = 0; - unsigned int shndx2; - - off_t ranges_offset = die->ref_attribute(elfcpp::DW_AT_ranges, &shndx); -diff -rup binutils.orig/gold/layout.cc binutils-2.34.0/gold/layout.cc ---- binutils.orig/gold/layout.cc 2020-07-24 09:12:29.243306433 +0100 -+++ binutils-2.34.0/gold/layout.cc 2020-07-24 09:15:11.464320064 +0100 -@@ -1986,7 +1986,7 @@ Layout::attach_allocated_section_to_segm - seg_flags |= os->extra_segment_flags(); - - // Check for --section-start. -- uint64_t addr; -+ uint64_t addr = 0; - bool is_address_set = parameters->options().section_start(os->name(), &addr); - - // In general the only thing we really care about for PT_LOAD -diff -rup binutils.orig/binutils/dlltool.c binutils-2.34.0/binutils/dlltool.c ---- binutils.orig/binutils/dlltool.c 2020-07-24 09:12:28.974308069 +0100 -+++ binutils-2.34.0/binutils/dlltool.c 2020-07-24 12:09:37.527121295 +0100 -@@ -1305,7 +1305,7 @@ run (const char *what, char *args) - int pid, wait_status; - int i; - const char **argv; -- char *errmsg_fmt, *errmsg_arg; -+ char *errmsg_fmt = "", *errmsg_arg = ""; - char *temp_base = choose_temp_base (); - - inform (_("run: %s %s"), what, args); -diff -rup binutils.orig/gas/config/tc-arm.c binutils-2.34.0/gas/config/tc-arm.c ---- binutils.orig/gas/config/tc-arm.c 2020-07-24 09:12:32.368287432 +0100 -+++ binutils-2.34.0/gas/config/tc-arm.c 2020-07-24 12:14:19.842360634 +0100 -@@ -28416,9 +28416,12 @@ md_apply_fix (fixS * fixP, - perform relaxation. */ - if (value == -2) - { -- newval = md_chars_to_number (buf, THUMB_SIZE); -- newval = 0xbf00; /* NOP encoding T1 */ -- md_number_to_chars (buf, newval, THUMB_SIZE); -+ if (fixP->fx_done || !seg->use_rela_p) -+ { -+ newval = md_chars_to_number (buf, THUMB_SIZE); -+ newval = 0xbf00; /* NOP encoding T1 */ -+ md_number_to_chars (buf, newval, THUMB_SIZE); -+ } - } - else - { -@@ -28631,17 +28634,14 @@ md_apply_fix (fixS * fixP, - case BFD_RELOC_ARM_GOTFUNCDESC: - case BFD_RELOC_ARM_GOTOFFFUNCDESC: - case BFD_RELOC_ARM_FUNCDESC: -- if (arm_fdpic) -- { -- if (fixP->fx_done || !seg->use_rela_p) -- md_number_to_chars (buf, 0, 4); -- } -- else -+ if (!arm_fdpic) - { - as_bad_where (fixP->fx_file, fixP->fx_line, - _("Relocation supported only in FDPIC mode")); -- } -- break; -+ break; -+ } -+ value = 0; -+ /* Fall through. */ - #endif - - case BFD_RELOC_RVA: -diff -rup binutils.orig/gas/config/tc-arm.c binutils-2.34.0/gas/config/tc-arm.c ---- binutils.orig/gas/config/tc-arm.c 2020-07-24 12:16:02.099719884 +0100 -+++ binutils-2.34.0/gas/config/tc-arm.c 2020-07-24 12:34:17.690858328 +0100 -@@ -28641,7 +28641,7 @@ md_apply_fix (fixS * fixP, - break; - } - value = 0; -- /* Fall through. */ -+ goto fred; - #endif - - case BFD_RELOC_RVA: -@@ -28653,6 +28653,7 @@ md_apply_fix (fixS * fixP, - #ifdef TE_PE - case BFD_RELOC_32_SECREL: - #endif -+ fred: - if (fixP->fx_done || !seg->use_rela_p) - #ifdef TE_WINCE - /* For WinCE we only do this for pcrel fixups. */ -diff -rup binutils.orig/gas/config/tc-arm.c binutils-2.34.0/gas/config/tc-arm.c ---- binutils.orig/gas/config/tc-arm.c 2020-07-24 13:28:26.926553452 +0100 -+++ binutils-2.34.0/gas/config/tc-arm.c 2020-07-24 13:31:57.835215763 +0100 -@@ -28416,12 +28416,8 @@ md_apply_fix (fixS * fixP, - perform relaxation. */ - if (value == -2) - { -- if (fixP->fx_done || !seg->use_rela_p) -- { -- newval = md_chars_to_number (buf, THUMB_SIZE); -- newval = 0xbf00; /* NOP encoding T1 */ -- md_number_to_chars (buf, newval, THUMB_SIZE); -- } -+ newval = 0xbf00; /* NOP encoding T1 */ -+ goto jim; - } - else - { -@@ -28432,6 +28428,7 @@ md_apply_fix (fixS * fixP, - { - newval = md_chars_to_number (buf, THUMB_SIZE); - newval |= ((value & 0x3e) << 2) | ((value & 0x40) << 3); -+ jim: - md_number_to_chars (buf, newval, THUMB_SIZE); - } - } -diff -rup binutils.orig/binutils/mclex.c binutils-2.34.0/binutils/mclex.c ---- binutils.orig/binutils/mclex.c 2020-07-24 13:28:26.297557441 +0100 -+++ binutils-2.34.0/binutils/mclex.c 2020-07-24 14:46:53.587940149 +0100 -@@ -207,7 +207,7 @@ enum_severity (int e) - static void - mc_add_keyword_ascii (const char *sz, int rid, const char *grp, rc_uint_type nv, const char *sv) - { -- unichar *usz, *usv = NULL; -+ unichar *usz = NULL, *usv = NULL; - rc_uint_type usz_len; - - unicode_from_codepage (&usz_len, &usz, sz, CP_ACP); -diff -rup binutils.orig/binutils/windmc.c binutils-2.34.0/binutils/windmc.c ---- binutils.orig/binutils/windmc.c 2020-07-24 13:28:26.279557556 +0100 -+++ binutils-2.34.0/binutils/windmc.c 2020-07-24 14:48:05.460477478 +0100 -@@ -338,7 +338,7 @@ mc_add_node_lang (mc_node *root, const m - static char * - convert_unicode_to_ACP (const unichar *usz) - { -- char *s; -+ char *s = NULL; - rc_uint_type l; - - if (! usz) -@@ -607,10 +607,10 @@ mc_generate_bin_item (mc_node_lang *n, r - else - { - rc_uint_type txt_len, l; -- char *cvt_txt; -+ char *cvt_txt = NULL; - - codepage_from_unicode( &l, n->message, &cvt_txt, n->lang->lang_info.wincp); -- if (! cvt_txt) -+ if (cvt_txt == NULL) - fatal ("Failed to convert message to language codepage.\n"); - txt_len = strlen (cvt_txt); - if (mcset_automatic_null_termination && txt_len > 0) -@@ -1107,7 +1107,7 @@ main (int argc, char **argv) - - /* Load the input file and do code page transformations to UTF16. */ - { -- unichar *u; -+ unichar *u = NULL; - rc_uint_type ul; - char *buff; - bfd_size_type flen; ---- binutils.orig/binutils/srconv.c 2020-07-24 15:37:25.847459208 +0100 -+++ binutils-2.34.0/binutils/srconv.c 2020-07-24 15:39:12.853773423 +0100 -@@ -316,6 +316,7 @@ wr_hd (struct coff_ofile *p) - struct IT_hd hd; - - hd.spare1 = 0; -+ hd.spare2 = 0; - if (bfd_get_file_flags (abfd) & EXEC_P) - hd.mt = MTYPE_ABS_LM; - else diff --git a/binutilscompare b/binutilscompare deleted file mode 100755 index 3f436e2..0000000 --- a/binutilscompare +++ /dev/null @@ -1,70 +0,0 @@ -#! /usr/bin/perl -# Compare build logs for the testsuite results regressions. -# $Id$ - -use strict; -use warnings; -use Data::Dumper; - -my $reverse=shift @ARGV if ($ARGV[0]||"") eq "-r"; - -sub readfile($) -{ -my($filename)=@_; - - local *F; - open F,$filename or die "open \"$filename\": $!"; - my $F=do { local $/; ; }; - close F or die "close \"$filename\": $!"; - return $F; -} - -sub writefile($$) -{ -my($filename,$content)=@_; - - local *F; - open F,">$filename" or die "create \"$filename\": $!"; - print F $content or die "write \"$filename\": $!"; - close F or die "close \"$filename\": $!"; -} - -local *DIR; -opendir DIR,"tests" or die "opendir: $!"; -my %arch; -for my $name (sort readdir(DIR)) { - next if $name!~/-([^-]*)[.]log$/o; - my $arch=$1; - (my $sum=$name)=~s/log$/sum/ or die; - my $i=readfile "tests/$name"; - my $o=""; - while ($i=~/\n(Native configuration is.*?Summary ===\n.*?\n)make\Q[\E/gs) { - $o.=$1; - } - # Version string differs. - $o=~s{/builddir/build/BUILD/binutils-[^/]*/+}{}g; - $o=~s{^(Version .*) 20\d{6}$}{$1}mg; - $o=~s{^(\Q../as-new\E) 20\d{6}$}{$1}mg; - $o=~s{^(build-[^/]*/ld/ld-new) 20\d{6}$}{$1}mg; - writefile "tests/$sum",$o; - push @{$arch{$arch}},$sum; -} -closedir DIR or die "closedir: $!"; - -for (values(%arch)) { - next if 2==@$_; - warn "Single element: ".${$_}[0]."\n" if 1==@$_; - die "Not 2 elements:\n".Dumper($_) if 1!=@$_; -} - -system("rm -f tests/gdbcompare-*.diff") and die; - -for my $arch (sort keys(%arch)) { - next if 2!=@{$arch{$arch}}; - # sub trans { return {"."=>0,"-"=>1}->{($_[0]=~/([-.])[^-.]+[.]\w+$/)[0]}.$_[0]; }; - sub trans { return $_[0]; }; - my @sorted=sort { my $a1=trans $a; my $b1=trans $b; ($b1 cmp $a1) * ($reverse ? -1 : +1); } @{$arch{$arch}}; - do { system $_ and die $_; } for "diff -u tests/'".$sorted[1]."' tests/'".$sorted[0]."' >tests/gdbcompare-'$arch'.sum.diff;true"; -} - -system("vim tests/gdbcompare-*.sum.diff"); diff --git a/gating.yaml b/gating.yaml deleted file mode 100644 index 53c5ae3..0000000 --- a/gating.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- !Policy -product_versions: - - fedora-* -decision_context: bodhi_update_push_stable -subject_type: koji_build -rules: - - !PassingTestCaseRule {test_case_name: baseos-qe.koji-build.scratch-build.validation} ---- !Policy -product_versions: - - rhel-9 -decision_context: osci_compose_gate -rules: - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.gate-build-fast-lane.functional} - - !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.gate-build-slow-lane.functional} diff --git a/plans/build-gating.fmf b/plans/build-gating.fmf deleted file mode 100644 index 552baf6..0000000 --- a/plans/build-gating.fmf +++ /dev/null @@ -1,25 +0,0 @@ -# -# Build/PR gating tests for binutils -# - -/common: - plan: - import: - url: https://src.fedoraproject.org/tests/binutils.git - ref: main - name: /plans/build-gating/common - -/kernel-rebuild: - plan: - import: - url: https://src.fedoraproject.org/tests/binutils.git - ref: main - name: /plans/build-gating/kernel-rebuild - -adjust+: - - because: "Plan to be ran when executed locally, or executed by CI system to gate a build or PR." - when: >- - trigger is defined - and trigger != commit - and trigger != build - enabled: false diff --git a/rpminspect.yaml b/rpminspect.yaml deleted file mode 100644 index c9c87f4..0000000 --- a/rpminspect.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- - -debuginfo: - ignore: - - /usr/lib/debug/opt/rh/gcc-toolset-14/root/usr/lib64/*.debug - - /usr/lib/debug/opt/rh/gcc-toolset-14/root/usr/lib64/bfd-plugins/*.debug - - /usr/lib/debug/opt/rh/gcc-toolset-14/root/usr/lib64/gprofng/*.debug - - /usr/lib/debug/opt/rh/gcc-toolset-14/root/usr/bin/*.debug - - /usr/lib/debug/opt/rh/gcc-toolset-14/root/usr/lib/*.debug - - /usr/lib/debug/opt/rh/gcc-toolset-14/root/usr/lib/bfd-plugins/*.debug - -specname: - primary: filename - -unicode: - exclude: ^binutils-\d+.\d+\/gas\/testsuite\/gas\/all\/multibyte.s$ diff --git a/sources b/sources deleted file mode 100644 index 2a9712f..0000000 --- a/sources +++ /dev/null @@ -1,2 +0,0 @@ -SHA512 (binutils-2.41.tar.xz) = 5df45d0bd6ddabdce4f35878c041e46a92deef01e7dea5facc97fd65cc06b59abc6fba0eb454b68e571c7e14038dc823fe7f2263843e6e627b7444eaf0fe9374 -SHA512 (binutils-2.19.50.0.1-output-format.sed) = 2f8686b0c8af13c98cda056824c2820416f6e2d003f70b78ccf5314525b9ee3684d421dfa83e638a2d42d06ea4d4bdaf5226b64d6ec26f7ff59c44ffb2a23dd2