%define lib_major 2 %define lib_name_orig %{package_prefix}%mklibname binutils %define lib_name %{lib_name_orig}%{lib_major} %define dev_name %mklibname binutils -d %define rpm_ver 2.33.1 %define tar_ver 2.33.1 %define rel 1 # Define if building a cross-binutils %define build_cross 0 %{expand: %{?cross: %%global build_cross 1}} %if %{build_cross} %define target_cpu %{cross} %define target_platform %{target_cpu}-%_real_vendor-linux%{gnuext} %define program_prefix %{target_platform}- %define package_prefix cross-%{target_cpu}- %else %define target_cpu %{_target_cpu} %define target_platform %{_target_platform} %define program_prefix %{nil} %define package_prefix %{nil} %endif %define arch %(echo %{target_cpu}|sed -e "s/\(i.86\|athlon\)/i386/" -e "s/amd64/x86_64/") %define isarch() %(case " %* " in (*" %{arch} "*) echo 1;; (*) echo 0;; esac) %if %{build_cross} %if %isarch %arm %define gnuext -gnueabi %else %define gnuext -gnu %endif %endif # List of targets where gold can be enabled %define gold_arches %{ix86} x86_64 %{arm} aarch64 Summary: GNU Binary Utility Development Utilities Name: %{package_prefix}binutils # (tmb) NOTE! Fedora does use a faked 2.23.88.*.* versioning to handle the version # downgrade but I dont see the point as Epoch is created for just this purpose Epoch: 1 Version: %{rpm_ver} Release: %mkrel %{rel} License: GPLv3+ Group: Development/Other URL: http://sources.redhat.com/binutils/ Source0: http://ftp.gnu.org/gnu/binutils/binutils-%{tar_ver}.tar.xz Source1: build_cross_binutils.sh Source2: binutils-2.19.50.0.1-output-format.sed Source3: binutils-git.sh %if "%{name}" == "binutils" Provides: %{lib_name} = %{epoch}:%{version}-%{release} %endif # (tmb) force build with gcc 8.3.0 BuildRequires: gcc >= 8.3.0-1 BuildRequires: autoconf BuildRequires: automake BuildRequires: bison BuildRequires: flex BuildRequires: gettext BuildRequires: texinfo-tex BuildRequires: dejagnu BuildRequires: pkgconfig(zlib) # make check'ing requires libdl.a BuildRequires: glibc-static-devel # gold make check'ing requires libstdc++.a BuildRequires: libstdc++-static-devel # upstream 2.33 branch Patch101: 0101-Arm-Fix-out-of-range-conditional-branch-PR-24991.patch Patch102: 0102-gas-Implement-.cfi_negate_ra_state-directive.patch Patch103: 0103-ARM-gas-fix-build-breakage-with-gcc-10-by-using-corr.patch Patch104: 0104-PR-ld-22269-arm-Avoid-dynamic-relocs-for-undefweak-s.patch Patch105: 0105-AArch64-Revert-SEC_LINKER_CREATED-for-AArch64-stubs-.patch Patch106: 0106-ld-arm-tls-gdesc-neg-test.patch Patch107: 0107-This-is-a-series-of-backports-for-binutils-2.33-whic.patch Patch108: 0108-AArch64-Fix-cfinv-disassembly-issues.patch Patch109: 0109-arm-PR-gas-25472-Enable-DSP-instructions-with-mve.patch # Fedora patches: Patch01: binutils-2.20.51.0.2-libtool-lib64.patch # We don't want this one! # (tmb disabled) Patch02: binutils-2.25-version.patch # Local patch - export demangle.h with the binutils-devel rpm. Patch03: binutils-2.32-export-demangle.h.patch # Disable checks that config.h has been included before system headers. BZ #845084 Patch04: binutils-2.22.52.0.4-no-config-h-check.patch # Import H.J.Lu's Kernel LTO patch. # (tmb disabled) Patch05: binutils-2.26-lto.patch # Include the filename concerned in readelf error messages. Patch06: binutils-2.29-filename-in-error-messages.patch # Revert PR 23161 as it breaks builds Patch11: binutils-do-not-provide-shared-section-symbols.patch # ignore gold dups, still not fixed upstream Patch16: binutils-2.28-ignore-gold-duplicates.patch # Mageia patches # TODO: should really clean up this patch again now... Patch51: binutils-2.32-linux32.patch Patch52: binutils-2.31.1-skip-gold-check.patch # security fixes Patch500: binutils-CVE-2019-17450.patch Patch501: binutils-CVE-2019-17451.patch Patch502: binutils-CVE-2019-1010204.patch %description Binutils is a collection of binary utilities, including: * ar: creating modifying and extracting from archives * nm: for listing symbols from object files * objcopy: for copying and translating object files * objdump: for displaying information from object files * ranlib: for generating an index for the contents of an archive * size: for listing the section sizes of an object or archive file * strings: for listing printable strings from files * strip: for discarding symbols (a filter for demangling encoded C++ symbols * addr2line: for converting addresses to file and line * nlmconv: for converting object code into an NLM Install binutils if you need to perform any of these types of actions on binary files. Most programmers will want to install binutils. %package -n %{dev_name} Summary: Main library for %{name} Group: Development/Other Provides: %{name}-devel = %{epoch}:%{version}-%{release} Provides: %{lib_name}-devel = %{epoch}:%{version}-%{release} Requires: zlib-devel %description -n %{dev_name} This package contains BFD and opcodes static libraries and associated header files. Only *.a libraries are included, because BFD doesn't have a stable ABI. Developers starting new projects are strongly encouraged to consider using libelf instead of BFD. %prep %setup -q -n binutils-%{tar_ver} %autopatch -p1 %build # Additional targets ADDITIONAL_TARGETS="" case %{target_cpu} in i*86 | athlon*) ADDITIONAL_TARGETS="x86_64-%{_target_vendor}-%{_target_os}" ;; esac if [[ -n "$ADDITIONAL_TARGETS" ]]; then TARGET_CONFIG="$TARGET_CONFIG --enable-targets=$ADDITIONAL_TARGETS" fi case %{target_cpu} in i*86 | athlon* | aarch64*) TARGET_CONFIG="$TARGET_CONFIG --enable-64-bit-bfd" ;; esac case %{target_cpu} in x86_64*|i?86*|arm*|aarch64*) TARGET_CONFIG="$TARGET_CONFIG --enable-targets=x86_64-pep" ;; esac %if "%{name}" != "binutils" %define _program_prefix %{program_prefix} TARGET_CONFIG="$TARGET_CONFIG --target=%{target_platform}" %endif # Don't build shared libraries in cross binutils %if "%{name}" == "binutils" TARGET_CONFIG="$TARGET_CONFIG --enable-shared --with-pic" %endif # Binutils comes with its own custom libtool # [gb] FIXME: but system libtool also works and has relink fix %define __libtoolize /bin/true # Build main binaries rm -rf objs mkdir objs pushd objs CONFIGURE_TOP=.. %configure2_5x $TARGET_CONFIG --with-bugurl=https://bugs.mageia.org/ \ --enable-gold \ --enable-plugins \ --enable-compressed-debug-sections=none \ --enable-relro=yes # There seems to be some problems with builds of gold randomly failing whenever # going through the build system, so let's try workaround this by trying to do # make once again when it happens... %make_build tooldir=%{_prefix} || make tooldir=%{_prefix} popd %check # All Tests must pass on x86 and x86_64 # rtp: some ld-arm tests are failing. # they're fixed in 2.21 but didn't find the fixes echo ====================TESTING========================= %if %isarch i386 x86_64 %make_build -C objs check LDFLAGS="" || : # random build failures with gold seems to happen during check as well... make -k -C objs gold-check LDFLAGS="" || : %else %make_build -C objs -k check LDFLAGS="" || : %endif echo ====================TESTING END===================== logfile="%{name}-%{version}-%{release}.log" rm -f $logfile; find . -name "*.sum" | xargs cat >> $logfile %install mkdir -p $RPM_BUILD_ROOT%{_prefix} %make_install -C objs rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{dlltool,nlmconv,windres}* rm -f $RPM_BUILD_ROOT%{_infodir}/dir rm -f $RPM_BUILD_ROOT%{_libdir}/*.la rm -f $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so %if "%{name}" == "binutils" make -C objs prefix=$RPM_BUILD_ROOT%{_prefix} infodir=$RPM_BUILD_ROOT%{_infodir} install-info install -m 644 include/libiberty.h $RPM_BUILD_ROOT%{_includedir}/ %if %isarch %mips install -m 644 objs/libiberty/libiberty.a $RPM_BUILD_ROOT%{_libdir}/ # Ship with the PIC libiberty %else install -m 644 objs/libiberty/pic/libiberty.a $RPM_BUILD_ROOT%{_libdir}/ %endif rm -rf $RPM_BUILD_ROOT%{_prefix}/%{_target_platform}/ # Sanity check --enable-64-bit-bfd really works. %if %isarch i*86 athlon* grep '^#define BFD_ARCH_SIZE 64$' %{buildroot}%{_prefix}/include/bfd.h %endif # Fix multilib conflicts of generated values by __WORDSIZE-based expressions. %if %isarch %{ix86} x86_64 sed -i -e '/^#include "ansidecl.h"/{p;s~^.*$~#include <bits/wordsize.h>~;}' \ -e 's/^#define BFD_DEFAULT_TARGET_SIZE \(32\|64\) *$/#define BFD_DEFAULT_TARGET_SIZE __WORDSIZE/' \ -e 's/^#define BFD_HOST_64BIT_LONG [01] *$/#define BFD_HOST_64BIT_LONG (__WORDSIZE == 64)/' \ -e 's/^#define BFD_HOST_64_BIT \(long \)\?long *$/#if __WORDSIZE == 32\ #define BFD_HOST_64_BIT long long\ #else\ #define BFD_HOST_64_BIT long\ #endif/' \ -e 's/^#define BFD_HOST_U_64_BIT unsigned \(long \)\?long *$/#define BFD_HOST_U_64_BIT unsigned BFD_HOST_64_BIT/' \ %{buildroot}%{_prefix}/include/bfd.h %endif touch -r bfd/bfd-in2.h %{buildroot}%{_prefix}/include/bfd.h # Generate .so linker scripts for dependencies; imported from glibc/Makerules: # This fragment of linker script gives the OUTPUT_FORMAT statement # for the configuration we are building. OUTPUT_FORMAT="\ /* Ensure this .so library will not be used by a link for a different format on a multi-architecture system. */ $(gcc $CFLAGS $LDFLAGS -shared -x c /dev/null -o /dev/null -Wl,--verbose -v 2>&1 | sed -n -f "%{SOURCE2}")" tee %{buildroot}%{_libdir}/libbfd.so <<EOH /* GNU ld script */ $OUTPUT_FORMAT /* The libz dependency is unexpected by legacy build scripts. */ INPUT ( %{_libdir}/libbfd.a -liberty -lz ) EOH tee %{buildroot}%{_libdir}/libopcodes.so <<EOH /* GNU ld script */ $OUTPUT_FORMAT INPUT ( %{_libdir}/libopcodes.a -lbfd -lz ) EOH %else rm -f $RPM_BUILD_ROOT%{_libdir}/libiberty.a rm -rf $RPM_BUILD_ROOT%{_infodir} rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/ rm -f $RPM_BUILD_ROOT%{_prefix}/%{_target_platform}/%{target_cpu}-linux/lib/*.la %endif %find_lang binutils %find_lang gas %find_lang ld %find_lang gold %find_lang gprof cat gas.lang >> binutils.lang cat ld.lang >> binutils.lang cat gold.lang>> binutils.lang cat gprof.lang >> binutils.lang %find_lang opcodes %find_lang bfd cat opcodes.lang >> binutils.lang cat bfd.lang >> binutils.lang %files -f binutils.lang %{_bindir}/%{program_prefix}addr2line %{_bindir}/%{program_prefix}ar %{_bindir}/%{program_prefix}as %{_bindir}/%{program_prefix}c++filt %{_bindir}/%{program_prefix}dwp %{_bindir}/%{program_prefix}elfedit %{_bindir}/%{program_prefix}gprof %{_bindir}/%{program_prefix}ld %{_bindir}/%{program_prefix}ld.bfd %if %isarch %{gold_arches} %{_bindir}/%{program_prefix}ld.gold %endif %{_bindir}/%{program_prefix}nm %{_bindir}/%{program_prefix}objcopy %{_bindir}/%{program_prefix}objdump %{_bindir}/%{program_prefix}ranlib %{_bindir}/%{program_prefix}readelf %{_bindir}/%{program_prefix}size %{_bindir}/%{program_prefix}strings %{_bindir}/%{program_prefix}strip %{_mandir}/man1/* %if "%{name}" == "binutils" %{_infodir}/*info* %{_libdir}/libbfd-%{version}*.so %{_libdir}/libopcodes-%{version}*.so %else %{_prefix}/%{target_platform}/bin/* %{_prefix}/%{target_platform}/lib/ldscripts %endif %if "%{name}" == "binutils" %files -n %{dev_name} %{_includedir}/*.h %{_libdir}/libbfd.a %{_libdir}/libbfd.so %{_libdir}/libopcodes.a %{_libdir}/libopcodes.so %{_libdir}/libiberty.a %endif %changelog * Tue Feb 25 2020 tmb <tmb> 1:2.33.1-1.mga7 + Revision: 1550287 - Fix a memory exhaustion bug in the BFD library when parsing corrupt DWARF debug information (CVE-2019-17450). - Fix a potential segfault in the BFD library when parsing pathalogical debug_info sections (CVE-2019-17451). - Add a check to the GOLD linker for a corrupt input file with a fuzzed section offset (CVE-2019-1010204). - [gas] Implement .cfi_negate_ra_state directive - [ARM][gas] fix build breakage with gcc-10 by using correct enum type - [PR ld/22269] arm: Avoid dynamic relocs for undefweak symbols in static PIE - AArch64: Revert SEC_LINKER_CREATED for AArch64 stubs (PR/25210) - ld-arm/tls-gdesc-neg test - [arm][1/5] Enable context sensitive .arch_extension - [arm][2/5] Make .fpu reset the FPU/Coprocessor feature bits - [arm][3/5] Change CRC from fpu feature to archititectural extension - [arm][4/5] Set context table for '.arch_extension' - [arm][5/5] PR25376 Change MVE into a CORE_HIGH feature - AArch64: Fix cfinv disassembly issues - arm: (PR gas/25472) Enable DSP instructions with +mve - update to 2.33.1 - elf: Remove the property after reporting its removal - [AArch64] Fix bogus MOVPRFX warning for GPR form of CPY - [AArch64] Add missing C_MAX_ELEM flags for SVE conversions - [AArch64] Allow MOVPRFX to be used with FMOV - Ensure that debug information for ARM security functions is not dropped by the linker when performing garbage collection. - aarch64: add STO_AARCH64_VARIANT_PCS and DT_AARCH64_VARIANT_PCS - aarch64: handle .variant_pcs directive in gas - aarch64: override default elf .set handling in gas - aarch64: handle STO_AARCH64_VARIANT_PCS in bfd - PR24785, bfd crashes on empty .PPC.EMB.apuinfo section - aarch64: fix DT_AARCH64_VARIANT_PCS handling in readelf - [AArch64] Add support for GMID_EL1 register for +memtag - [ARM]: Correct the regular expressions in cmse_main_sec_debug.d file - getstring: check bounds before using [PR23940] * Sun May 26 2019 tmb <tmb> 1:2.32-9.mga7 + Revision: 1399174 - AArch64: Add SVE DWARF registers - PR24559: Fix pseudo load-operations for Armv8-M Baseline * Sat May 18 2019 tmb <tmb> 1:2.32-8.mga7 + Revision: 1398348 - PR24567, assertion failure in ldlang.c:6868 when compiling with -flto * Thu May 02 2019 tmb <tmb> 1:2.32-6.mga7 + Revision: 1396136 - fix CVE-2019-9071/3/4/5/7 * Sat Apr 20 2019 tmb <tmb> 1:2.32-5.mga7 + Revision: 1393991 - AArch64: Add new LDGM/STGM instruction - AArch64: Update Store Allocation Tag instructions - AArch64: When DF_BIND_NOW don't use TLSDESC GOT value - x86: Also check x86 linker_def for non-shared definition * Sat Apr 06 2019 tmb <tmb> 1:2.32-4.mga7 + Revision: 1386358 - AArch64: Fix disassembler bug with out-of-order sections * Sat Feb 23 2019 tmb <tmb> 1:2.32-3.mga7 + Revision: 1369548 - rebuild with gcc 8.3.0 final * Sun Feb 10 2019 tmb <tmb> 1:2.32-2.mga7 + Revision: 1365102 - x86-64: Restore PIC check for PCREL reloc against protected symbol [BZ #24151] - gas: Pass max_bytes to TC_FRAG_INIT [BZ #24165] * Sat Feb 09 2019 tmb <tmb> 1:2.32-1.mga7 + Revision: 1364365 - Updated Swedish translation for the opcodes sub-director - Arm: Backport hlt to all architectures * Tue Feb 05 2019 tmb <tmb> 1:2.32-0.1.mga7 + Revision: 1363474 - update to 2.32 * drop merged patches - rebase demangle and linux32 patches * Sat Feb 02 2019 luigiwalser <luigiwalser> 1:2.31.1-23.mga7 + Revision: 1362517 - add patch from fedora to fix CVE-2018-20002 * Sat Dec 15 2018 tmb <tmb> 1:2.31.1-22.mga7 + Revision: 1341405 - PR23788, objcopy: failed to find link section * Tue Dec 11 2018 tmb <tmb> 1:2.31.1-20.mga7 + Revision: 1340286 - x86: Put back BFD_RELOC_X86_64_GOTPCREL * Sun Dec 02 2018 tmb <tmb> 1:2.31.1-19.mga7 + Revision: 1337442 - elf: Don't merge .note.gnu.property section in IR [PR ld/23929] * Wed Nov 28 2018 tmb <tmb> 1:2.31.1-18.mga7 + Revision: 1336486 - AArch64: Fix regression in Cortex A53 erratum when PIE. (PR ld/23904) * Wed Nov 07 2018 tmb <tmb> 1:2.31.1-17.mga7 + Revision: 1328787 - bfd: PR ld/23818: Hide symbols defined in discarded input sections - PR gas/23854: x86: Disable GOT relaxation with data prefix * Sat Oct 20 2018 tmb <tmb> 1:2.31.1-16.mga7 + Revision: 1322966 - Ignore duplicate indirect symbols generated by GOLD * Fri Oct 19 2018 tmb <tmb> 1:2.31.1-15.mga7 + Revision: 1322554 - Arm: Skip new binary decode tests on pe targets * Fri Oct 19 2018 tmb <tmb> 1:2.31.1-14.mga7 + Revision: 1322450 - Arm: Fix disassembler crashing on -b binary when thumb file and thumb not forced * Wed Oct 17 2018 tmb <tmb> 1:2.31.1-13.mga7 + Revision: 1321528 - AArch64: Fix error checking for SIMD udot (by element) * Sat Oct 13 2018 tmb <tmb> 1:2.31.1-12.mga7 + Revision: 1320044 - x86: Add Intel ENCLV to assembler and disassembler * Fri Sep 28 2018 tmb <tmb> 1:2.31.1-11.mga7 + Revision: 1309743 - fixes from upstream binutils 2.31 branch * PR ld/23499: Always clear h->verinfo.verdef when overriding a dynamic definition * PR ld/23499: elf: Check for corrupt symbol version info * gas: Improve the code in the assembler to detect and reject a duplicate input and output file * gas: Fix Aarch64 bug in warning filtering * Thu Sep 13 2018 tv <tv> 1:2.31.1-10.mga7 + Revision: 1258923 - use new macros - Add i386pep emulation for all EFI capable CPU types * Mon Sep 03 2018 tv <tv> 1:2.31.1-8.mga7 + Revision: 1256426 - rely on filetriggers for info system (mga#23482) * Tue Aug 28 2018 tmb <tmb> 1:2.31.1-7.mga7 + Revision: 1255250 - add updates from upstream 2.31 branch: * S/390: Set the htm flag on PPA * Fix unwind offset for call_info->start_symbol * LD, AArch64: Fix ifunc testisms * Fix spurious check-ld failures on aarch64-elf * Add --warn-drop-version option; by default, do not warn when discarding version info. * Updated Bulgarian translation for the ld/ directory * PowerPC64 __tls_get_addr_opt stub .eh_frame fix * __tls_get_addr_opt stubs and tocsave optimization * x32: Align the .note.gnu.property section to 4 bytes * x86: Update assembler tests for non-ELF targets * x86: Properly merge GNU_PROPERTY_X86_ISA_1_USED * x86: Replace evex-no-scale.s with evex-no-scale-[32|64].s * x86: Properly add X86_ISA_1_NEEDED property * ld-x86-64/pr23486b.d: Swap pr23486a.s and pr23486b.s * Mon Aug 06 2018 tmb <tmb> 1:2.31.1-6.mga7 + Revision: 1248420 - gold: Fix type checking errors * Tue Jul 31 2018 tmb <tmb> 1:2.31.1-5.mga7 + Revision: 1246318 - x86: don't mistakenly scale non-8-bit displacements [PR gas/23465] * Sun Jul 29 2018 tmb <tmb> 1:2.31.1-4.mga7 + Revision: 1245760 - revert PR 23161 as it breaks builds (Fedora, reported by pterjan) * Sat Jul 28 2018 tmb <tmb> 1:2.31.1-3.mga7 + Revision: 1245641 - rebuild with gcc 8.2 * Tue Jul 24 2018 tmb <tmb> 1:2.31.1-2.mga7 + Revision: 1245045 - x86: Split vcvtps2{,u}qq and vcvttps2{,u}qq [PR gas/23418] - x86: Add a GNU_PROPERTY_X86_ISA_1_USED note if needed [PR ld/23428] * Sat Jul 21 2018 tmb <tmb> 1:2.31.1-1.mga7 + Revision: 1244740 - sort Fedora patches - drop obsolete patches - drop P5, use configure flag --enable-relro=yes instead - rebase P51, P52 - use autopatch - drop obsolete ppc and sparc stuff - update to 2.31.1 * Sat May 26 2018 tmb <tmb> 1:2.29.1-10.mga7 + Revision: 1232324 - rebuild for new glibc and optflags * Mon Apr 30 2018 tmb <tmb> 1:2.29.1-9.mga7 + Revision: 1224009 - restore fix for PR21074 / Ignore duplicate indirect symbols generated by GOLD + wally <wally> - add aarch64 support * Thu Jan 18 2018 tmb <tmb> 1:2.29.1-8.mga7 + Revision: 1194363 - update fixes from 2.29 branch * Fri Dec 22 2017 tmb <tmb> 1:2.29.1-7.mga7 + Revision: 1184070 - add more fixes from 2.29 branch * Mon Dec 04 2017 tmb <tmb> 1:2.29.1-6.mga7 + Revision: 1181145 - update fixes from 2.29 branch * Sat Nov 04 2017 tmb <tmb> 1:2.29.1-4.mga7 + Revision: 1175901 - update fixes from 2.29 branch * Wed Oct 11 2017 tmb <tmb> 1:2.29.1-3.mga7 + Revision: 1170877 - add fixes from 2.29 branch * Thu Sep 21 2017 tmb <tmb> 1:2.29.1-2.mga7 + Revision: 1156831 - sync up with final 2.29.1 release - drop some obsolete patches/references * Fri Sep 15 2017 tmb <tmb> 1:2.29.1-1.mga7 + Revision: 1154452 - update to 2.29.1 * Mon Sep 11 2017 tmb <tmb> 1:2.29.0-8.mga7 + Revision: 1152988 - update fixes from 2.29 branch * Tue Sep 05 2017 tmb <tmb> 1:2.29.0-7.mga7 + Revision: 1151538 - update fixes from 2.29 branch * Sat Sep 02 2017 tmb <tmb> 1:2.29.0-6.mga7 + Revision: 1150574 - more fixes from upstream 2.29 branch * Fri Sep 01 2017 tmb <tmb> 1:2.29.0-5.mga7 + Revision: 1150371 - update fixes from 2.29 branch * Sun Aug 27 2017 tmb <tmb> 1:2.29.0-4.mga7 + Revision: 1148246 - update fixes from 2.29 branch * Mon Aug 14 2017 tmb <tmb> 1:2.29.0-3.mga7 + Revision: 1140267 - update fixes from 2.29 branch * Sun Aug 13 2017 tmb <tmb> 1:2.29.0-2.mga7 + Revision: 1140031 - add fixes from upstream 2.29 branch * Sun Aug 06 2017 tmb <tmb> 1:2.29-0.1.mga7 + Revision: 1137921 - rebase linux32 and gold check patch - sync some useful patches with fedora - drop merged security fixes - update to 2.29 * Sat Jul 01 2017 akien <akien> 1:2.25.1-7.mga6 + Revision: 1108880 - Add FSF binutils patch to fix running readelf on debug info binaries (rhbz#1434050) * Sat Jul 01 2017 tmb <tmb> 1:2.25.1-6.mga6 + Revision: 1108788 - fix CVE-2016-4487/4488/4489/4490/4492/4493/6131 and CVE-2017-6969/7210 + neoclust <neoclust> - Add P1000 - Fixes CVE-2016-2226 (mga#18987) * Wed Feb 10 2016 umeabot <umeabot> 1:2.25.1-5.mga6 + Revision: 953250 - Mageia 6 Mass Rebuild * Thu Aug 20 2015 tmb <tmb> 1:2.25.1-4.mga6 + Revision: 866990 - rebuild with new gcc * Thu Aug 20 2015 tmb <tmb> 1:2.25.1-3.mga6 + Revision: 866658 - rebuild with gcc 5.2.1 * Tue Aug 18 2015 tmb <tmb> 1:2.25.1-2.mga6 + Revision: 865415 - rebuild with new glibc * Sun Aug 02 2015 tmb <tmb> 1:2.25.1-1.mga6 + Revision: 860852 - push to /release * Fri Jul 31 2015 tmb <tmb> 1:2.25.1-0.1.mga6 + Revision: 859934 - rebase linux32 patch - drop merged / obsolete patches - resync current fedora patches - update to 2.25.1 * Wed Jan 14 2015 cjw <cjw> 1:2.24-12.mga5 + Revision: 810639 - patch105: fix for CVE-2014-8738 (mga #15022) * Thu Dec 04 2014 cjw <cjw> 1:2.24-11.mga5 + Revision: 801533 - add more patches from fedora: + patch20: Fix decoding of abbrevs using a DW_FORM_ref_addr attribute. + patch21: Fix detection of uncompressed .debug_str sections. + patch22: Default to -ffat-lto-objects for some ld tests, which was the default in gcc 4.8, but changed in 4.9, and resulted in some failures. + patch23: Scan all input files for symbol reference warning. + patch26: Backport of fix from HEAD that fixes LTO + ifunc when using ld.bfd instead of gold. + patch27: Fix reading of corrupt ELF binaries. + patch28: Default strings command to using -a. + patch29: Fix problems with the ar program reported in FSF PR 17533. - patch53: fix ar segfaulting on --plugin, caused by patch16 - patch104: fix compilation with gcc 4.9 and -Werror - fix patch51 for -Werror - don't disable -Werror * Wed Oct 15 2014 umeabot <umeabot> 1:2.24-10.mga5 + Revision: 743839 - Second Mageia 5 Mass Rebuild * Thu Sep 18 2014 umeabot <umeabot> 1:2.24-9.mga5 + Revision: 693506 - Rebuild to fix library dependencies * Tue Sep 16 2014 umeabot <umeabot> 1:2.24-8.mga5 + Revision: 678155 - Mageia 5 Mass Rebuild * Thu Sep 11 2014 tmb <tmb> 1:2.24-7.mga5 + Revision: 674672 - rebuild with new glibc and gcc * Sun Jun 29 2014 tmb <tmb> 1:2.24-6.mga5 + Revision: 640988 - x86_64.cc (Target_x86_64::Relocate::relocate): Add missing break - Fix buffer underrun in i386-dis.c * Tue May 13 2014 tmb <tmb> 1:2.24-5.mga5 + Revision: 622526 - rebuild with gcc 4.9 * Mon Feb 17 2014 tmb <tmb> 1:2.24-4.mga5 + Revision: 593944 - rebuild with new glibc * Sun Jan 05 2014 tmb <tmb> 1:2.24-3.mga4 + Revision: 564777 - bfd/elflink: Correct elf_merge_st_other arguments for weak symbols * Sat Dec 14 2013 tmb <tmb> 1:2.24-2.mga4 + Revision: 556837 - Fix --as-needed undefined symbol references from dynamic libraries * Wed Dec 04 2013 tmb <tmb> 1:2.24-1.mga4 + Revision: 555184 - update to 2.24 final * Tue Oct 22 2013 umeabot <umeabot> 1:2.24-0.20131016.2.mga4 + Revision: 545616 - Mageia 4 Mass Rebuild * Wed Oct 16 2013 tmb <tmb> 1:2.24-0.20131016.1.mga4 + Revision: 501464 - update to 2013-10-16 snapshot * Sat Oct 12 2013 tmb <tmb> 1:2.24-0.20131012.1.mga4 + Revision: 495973 - update to 2013-10-12 git checkout - drop merged/obsolete patches - update to 2.24 (checkout 2013-10-11) * Sun Aug 11 2013 tmb <tmb> 1:2.23.2-2.mga4 + Revision: 465387 - rebuild with new gcc * Sun Aug 11 2013 tmb <tmb> 1:2.23.2-1.mga4 + Revision: 465372 - push to /release * Thu Aug 01 2013 tmb <tmb> 1:2.23.2-0.3.mga4 + Revision: 462059 - rebuild with gcc-4.8.2 * Sun Jul 28 2013 tmb <tmb> 1:2.23.2-0.2.mga4 + Revision: 459704 - sync patches with fedora - renumber mga patches - sync patches to apply cleanly - fix tarball name - use https in bugurl - drop redundant obsoletes - drop redundant requires - drop obsolete conflicts - switch back to official stable FSF binutils 2.23.2 (like Fedora) (reasoning: current kernel binutils is too unstable and has too many controversial patches) * Sun Apr 07 2013 rtp <rtp> 2.23.51.0.8-3.mga3 + Revision: 408971 - disable again tests as the source is still the same - backport PR/14887 fix. + tmb <tmb> - re-enable checks * Wed Jan 09 2013 tmb <tmb> 2.23.51.0.8-2.mga3 + Revision: 344128 - temporarily ignore 3 failing tests like fedora - fix -set-long-long and -commit-h-check patches not applied due to renumbering in commit 284621 - rediff P8 (-relro by default) - update to 2.23.51.0.8 - drop P11 (not applied, merged upstream long time ago) - update bugurl - update filelists - sync P2 with fedora - update to 2.23.51.0.5 - update to 2.23.51.0.3 - rebuild with new gcc * Mon Aug 27 2012 tv <tv> 2.23.51.0.1-5.mga3 + Revision: 284622 - new release (improved dwz support for valgrind) - resync patches with FC - rediff patch 21 * Wed Jul 18 2012 tmb <tmb> 2.22-5.mga3 + Revision: 272351 - rebuild for new glibc * Wed Jun 27 2012 tmb <tmb> 2.22-4.mga3 + Revision: 264207 - rebuild with gcc-4.7.1 * Sat Mar 03 2012 tmb <tmb> 2.22-3.mga2 + Revision: 217205 - rebuild with new gcc * Tue Dec 06 2011 fwang <fwang> 2.22-2.mga2 + Revision: 177220 - rebuild for new gcc * Mon Nov 28 2011 rtp <rtp> 2.22-1.mga2 + Revision: 173834 - Update to binutils 2.22. Test suite clean on 32/64 and nearly clean on arm (but still less failures than previous version) - rediff patch21 * Mon Jun 27 2011 rtp <rtp> 2.21.52.0.1-1.mga2 + Revision: 114591 - update to 2.21.52.0.1 - drop merged patches - rediff linux32, build-id, skip-gold-check patches - drop mips ihex patch. Was not used (even at mdv), so no need to keep it forever - drop ld-selective45-x86_64-xfail as it's no more needed * Mon Mar 21 2011 rtp <rtp> 2.20.51.0.11-2.mga1 + Revision: 75232 - fix bug url - drop old mips patches - backport PR/12339 - revert isarch to "old" version to get working macros like %%arm %%mips working - change a ifarch to a if isarch - add missing if isarch. * Tue Jan 11 2011 pterjan <pterjan> 2.20.51.0.11-1.mga1 + Revision: 6171 - Do not use manbo tag + blino <blino> - imported package binutils