%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 # Allow SPU support for native PowerPC arches, not cross env packages %define spu_arches ppc ppc64 # 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} %if "%{target_cpu}" == "spu" %define target_platform %{target_cpu}-unknown-elf %endif %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/" -e "s/\(sun4.*\|sparcv[89]\)/sparc/") %define isarch() %(case " %* " in (*" %{arch} "*) echo 1;; (*) echo 0;; esac) %if %{build_cross} %if %isarch %arm %define gnuext -gnueabi %else %if "%{target_cpu}" == "spu" %define gnuext %{nil} %else %define gnuext -gnu %endif %endif %endif # List of targets where gold can be enabled %define gold_arches %{ix86} x86_64 ppc ppc64 %{sparc} %{arm} Summary: GNU Binary Utility Development Utilities Name: %{package_prefix}binutils Version: 2.23.51.0.8 Release: %mkrel 3 License: GPLv3+ Group: Development/Other URL: http://sources.redhat.com/binutils/ Source0: http://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.xz Source1: build_cross_binutils.sh Source2: spu_ovl.o Source3: embedspu.sh Source4: binutils-2.19.50.0.1-output-format.sed %if "%{name}" == "binutils" Requires: %{lib_name} = %{version}-%{release} Requires(post): info-install Requires(preun):info-install Provides: %{lib_name} = %{version}-%{release} Obsoletes: %{lib_name} %endif Conflicts: gcc-c++ < 3.2.3-1mdk BuildRequires: autoconf automake bison flex gcc gettext texinfo BuildRequires: dejagnu zlib-devel # make check'ing requires libdl.a BuildRequires: glibc-static-devel # gold make check'ing requires libstdc++.a BuildRequires: libstdc++-static-devel # Fedora patches: Patch01: binutils-2.20.51.0.2-libtool-lib64.patch Patch02: binutils-2.20.51.0.10-ppc64-pie.patch Patch03: binutils-2.20.51.0.2-ia64-lib64.patch # We don't want this one! #Patch04: binutils-2.20.51.0.2-version.patch Patch05: binutils-2.20.51.0.2-set-long-long.patch Patch06: binutils-2.20.51.0.10-copy-osabi.patch Patch07: binutils-2.20.51.0.10-sec-merge-emit.patch # Enable -zrelro by default: BZ #621983 Patch08: binutils-2.23.51.0.8-relro-on-by-default.patch # Local patch - export demangle.h with the binutils-devel rpm. Patch09: binutils-2.22.52.0.1-export-demangle.h.patch # Disable checks that config.h has been included before system headers. BZ #845084 Patch10: binutils-2.22.52.0.4-no-config-h-check.patch # Mageia patches #TODO: should really clean up this patch again now... Patch21: binutils-2.23-linux32.patch Patch22: binutils-2.21.52.0.1-skip-gold-check.patch Patch23: pr14887.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. %ifarch %{spu_arches} %package -n spu-binutils Summary: GNU Binary Utility Development Utilities for Cell SPU Group: Development/Other %description -n spu-binutils This package contains the binutils with Cell SPU support. %endif %package -n %{dev_name} Summary: Main library for %{name} Group: Development/Other Provides: %{name}-devel = %{version}-%{release} Provides: %{lib_name}-devel = %{version}-%{release} Obsoletes: %{lib_name}-devel 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-%{version} # Fedora patches: %patch01 -p0 -b .libtool-lib64~ %patch02 -p0 -b .ppc64-pie~ %ifarch ia64 %if "%{_lib}" == "lib64" %patch03 -p0 -b .ia64-lib64~ %endif %endif # We don't want this one! #patch04 -p0 -b .version~ %patch05 -p0 -b .set-long-long~ %patch06 -p0 -b .copy-osabi~ %patch07 -p0 -b .sec-merge-emit~ %patch08 -p1 -b .relro-by-default~ %patch09 -p0 -b .demangle~ %patch10 -p0 -b .config-h-check~ # Mageia patches %patch21 -p1 -b .linux32~ %patch22 -p1 -b .skip_gold_check~ %patch23 -p1 -b .pr14887 # for boostrapping, can be rebuilt afterwards in --enable-maintainer-mode cp %{SOURCE2} ld/emultempl/ %build # Additional targets ADDITIONAL_TARGETS="" case %{target_cpu} in ppc | powerpc) ADDITIONAL_TARGETS="powerpc64-%{_target_vendor}-%{_target_os}" ;; ppc64) ADDITIONAL_TARGETS="" ;; ia64) ADDITIONAL_TARGETS="i586-%{_target_vendor}-%{_target_os}" ;; i*86 | athlon*) ADDITIONAL_TARGETS="x86_64-%{_target_vendor}-%{_target_os}" ;; sparc*) ADDITIONAL_TARGETS="sparc64-%{_target_vendor}-%{_target_os}" ;; mipsel*) ADDITIONAL_TARGETS="mips64el-%{_target_vendor}-%{_target_os},mips32el-%{_target_vendor}-%{_target_os}" ;; mips) ADDITIONAL_TARGETS="mips64-%{_target_vendor}-%{_target_os}" ;; esac %ifarch %{spu_arches} if [[ -n "$ADDITIONAL_TARGETS" ]]; then ADDITIONAL_TARGETS="$ADDITIONAL_TARGETS,spu-unknown-elf" else ADDITIONAL_TARGETS="spu-unknown-elf" fi %endif if [[ -n "$ADDITIONAL_TARGETS" ]]; then TARGET_CONFIG="$TARGET_CONFIG --enable-targets=$ADDITIONAL_TARGETS" fi case %{target_cpu} in ppc | powerpc | i*86 | athlon* | sparc* | mips*) TARGET_CONFIG="$TARGET_CONFIG --enable-64-bit-bfd" ;; 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=http://bugs.mageia.org/ \ --enable-gold \ --enable-plugins \ --disable-werror # 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 tooldir=%{_prefix} || make tooldir=%{_prefix} popd # Build alternate binaries (spu-gas in particular) case "$ADDITIONAL_TARGETS," in %ifarch %{spu_arches} *spu-*-elf,*) ALTERNATE_TARGETS="spu-unknown-elf" ;; %endif *) ;; esac if [[ -n "$ALTERNATE_TARGETS" ]]; then for target in $ALTERNATE_TARGETS; do cpu=`echo "$target" | sed -e "s/-.*//"` rm -rf objs-$cpu mkdir objs-$cpu pushd objs-$cpu CONFIGURE_TOP=.. %configure --enable-shared \ --target=$target \ --program-prefix=$cpu- \ --disable-werror \ --with-bugurl=http://bugs.mageia.org/ # make sure we use the fully built libbfd & libopcodes libs # XXX could have been simpler to just pass $ADDITIONAL_TARGETS # again to configure and rebuild all of those though... for dso in bfd opcodes; do %make all-$dso rm -f $dso/.libs/lib$dso-%{version}.so ln -s ../../../objs/$dso/.libs/lib$dso-%{version}.so $dso/.libs/ done %make all-binutils all-gas all-ld popd done fi %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 ppc ppc64 spu %make -C objs check LDFLAGS="" || : # random build failures with gold seems to happen during check as well... make -k -C objs gold-check LDFLAGS="" || : [[ -d objs-spu ]] && \ %make -C objs-spu check-gas LDFLAGS="" || : %else %make -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} %makeinstall_std -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 ppc powerpc i*86 athlon* sparc* mips* 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 ppc ppc64 s390 s390x sh3 sh4 sparc sparc64 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 "%{SOURCE4}")" 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 # Alternate binaries [[ -d objs-spu ]] && { destdir=`mktemp -d` make -C objs-spu DESTDIR=$destdir install-binutils install-gas install-ld mv $destdir%{_bindir}/spu-* $RPM_BUILD_ROOT%{_bindir}/ mkdir -p $RPM_BUILD_ROOT%{_prefix}/spu/bin mv $destdir%{_prefix}/spu-unknown-elf/bin/* $RPM_BUILD_ROOT%{_prefix}/spu/bin/ rm -rf $destdir cat > $RPM_BUILD_ROOT%{_bindir}/ppu-as << EOF #!/bin/sh exec %{_bindir}/as -mcell -maltivec \${1+"\$@"} EOF chmod +x $RPM_BUILD_ROOT%{_bindir}/ppu-as install -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_bindir}/embedspu } %if "%{name}" == "binutils" %post %_install_info as.info %_install_info bfd.info %_install_info binutils.info %_install_info gasp.info %_install_info gprof.info %_install_info ld.info %_install_info standards.info %endif %if "%{name}" == "binutils" %preun %_remove_install_info as.info %_remove_install_info bfd.info %_remove_install_info binutils.info %_remove_install_info gasp.info %_remove_install_info gprof.info %_remove_install_info ld.info %_remove_install_info standards.info %endif %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 %ifarch %{spu_arches} %{_bindir}/ppu-as %endif %{_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 %ifarch %{spu_arches} %files -n spu-binutils %{_bindir}/spu-* %{_bindir}/embedspu %dir %{_prefix}/spu/bin %{_prefix}/spu/bin %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 * 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 * Mon Sep 27 2010 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.20.51.0.11-1mnb2 + Revision: 581171 - don't include in 'check' target (P27), require all other tests but gold to pass - allow ld selective[45] tests to fail on x86_64 (P26) - sync with 2.20.51.0.11-1 from fedora * Wed Aug 11 2010 Pascal Terjan <pterjan@mandriva.org> 2.20.51.0.7-4mnb2 + Revision: 569137 - Fix linking to bfd + Christophe Fergeau <cfergeau@mandriva.com> - remove ugly hack now that binutils rebuilt with the right default linker * Tue Apr 27 2010 Pascal Terjan <pterjan@mandriva.org> 2.20.51.0.7-3mnb2 + Revision: 539886 - Ugly workaround to build when gold is default + Christophe Fergeau <cfergeau@mandriva.com> - don't use gold by default * Tue Apr 27 2010 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.20.51.0.7-1mnb2 + Revision: 539422 - be lazy and don't bail out on test failures (due to gold test suite headaches) - sync with 2.20.51.0.7-2 from fedora * Mon Dec 28 2009 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.20.51.0.4-2mnb2 + Revision: 483152 - Fix build with targets which don't have/enable gold. - Fix build when making cross-* binutils (explicit setup -n to rpmbuild) - Ship ldscripts with cross-* binutils, some targets need it (like avr). * Mon Dec 28 2009 Pascal Terjan <pterjan@mandriva.org> 2.20.51.0.4-1mnb2 + Revision: 483127 - from Frederik Himpe o Update to new version 2.20.51.0.4 (fixes statically linking with STT_GNU_IFUNC symbols) o Sync patches with Fedora o Remove patches integrated upstream o Use %%configure2_5x macro instead of %%configure to fix warning when running ./configure * Fri Nov 27 2009 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.20.51-3mnb2 + Revision: 470603 - try work around build issues with gold on the BS by doing make again with just one job when build fails - don't explicitly link against libc in linker script, it's implied by libz - fix multilib conflict in bfd.h header rather than using multiarch - add a linker script to cure any remaining issues with linking against libbfd * Wed Nov 25 2009 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.20.51-2mnb2 + Revision: 470096 - clear LDFLAGS when building test suite, otherwise some tests will fail - skip tls_shared_gnu2_test that's known to fail (P28) - add libstdc++-static-devel to buildrequires as it's required gold's test suite - be sure to disable -Werror for main binaries as well - add missing libdl dependency required by 'incremental_dump' (P27) - add missing 'bfd_plugin_bfd_copy_link_hash_symbol_type' define (P26) - enable plugins support - enable gold in parallel with bfd linker (P40) * Wed Nov 25 2009 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.20.51-1mnb2 + Revision: 470017 - for teuf: 2.20.51 ;) - regenerate patches - specify http://qa.mandriva.com/ as url for bug reports * Wed Nov 25 2009 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.19.51.0.14-5mnb2 + Revision: 469897 - add dependency on zlib-devel for devel package * Tue Nov 24 2009 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.19.51.0.14-4mnb2 + Revision: 469861 - build with -fPIC to allow shared libraries to statically link against libbfd.a * Tue Nov 24 2009 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.19.51.0.14-3mnb2 + Revision: 469810 - add back and fix x86 part of linux32 patch that were silently dropped previously * Tue Nov 24 2009 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.19.51.0.14-2mnb2 + Revision: 469709 - don't override %%setup default directory - fix headers being included more than once - drop library package due to lack of stable ABI and drop .so symlinks to prevent dynamic linking/enforce static linking - drop conditional scriptlet, we're never gonna backport binutils anyways... - drop useless README - disable -Werror through configure option rather than passing -Wno-error ourself * Mon Nov 23 2009 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.19.51.0.14-1mnb2 + Revision: 469382 - use multiarch to avoid conflict between 32 & 64 bit -devel packages (#55831) - sync with binutils-2.19.51.0.14-34.fc12 - regenerate Mandriva patches (from Matthew Dawkins / Unity Linux) - don't ship with PIC libiberty for mips.. - add missing 'OPTION_FIX_GS2F_KERNEL' enum type in binutils-2.19.51.0.2-mips-ls2f_fetch_fix.patch * Wed Feb 11 2009 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.19.51.0.2-1mnb2 + Revision: 339335 - apply mips patches from 2008.1 Gdium tree - enable 64 bit support for mipsel - new release: 2.19.51.0.2 - spec cosmetics - remove locale files when doing cross build - fix string literal errors when building binutils for mips * Wed Dec 24 2008 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.19.50.0.1-1mnb2 + Revision: 318384 - fix buildrequires - sync with 2.19.50.0.1-8.fc11 - new release - sync with binutils-2.18.50.0.9-1.fc10 * Mon Aug 18 2008 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.18.50.0.8-1mnb2 + Revision: 273254 - new release - sync with binutils-2.18.50.0.8-2.fc10 + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Sun May 25 2008 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 2.18.50.0.6-1mnb2 + Revision: 211109 - Updated to version 2.18.50.0.6 - Changed license tag (GPL -> GPLv3+, following policy). - Sync patches with Fedora. * Mon Feb 18 2008 Thierry Vignaud <tv@mandriva.org> 2.18.50.0.3-1mnb1 + Revision: 170649 - replace %%mkrel with %%manbo_mkrel for Manbo Core 1 * Thu Jan 31 2008 Per Ãyvind Karlsen <peroyvind@mandriva.org> 2.18.50.0.3-1mdv2008.1 + Revision: 160824 - New release: 2.18.50.3 - sync patches with Fedora - regenerate P21 (linux32) - don't hardcode vendor name & os in target - add translations - cosmetics - add missing ia64 patch from fedora - sync with fedora 2.17.50.0.12-4 - move checks to %%check - s/mandrake/mandriva/ + Thierry Vignaud <tv@mandriva.org> - rebuild - kill re-definition of %%buildroot on Pixel's request - kill file require on info-install + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Pixel <pixel@mandriva.com> - fix group (#28151) * Sun May 06 2007 Christiaan Welvaart <spturtle@mandriva.org> 2.17.50.0.9-2mdv2008.0 + Revision: 23749 - match all sparc flavors when checking target_cpu - fix check to build alternate binaries for spu * Tue Jan 09 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.17.50.0.9-1mdv2007.0 + Revision: 106684 - 2.17.50.0.9 - add embedspu to combine spu objects into normal executables for cell * Wed Jan 03 2007 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.17.50.0.8-1mdv2007.1 + Revision: 103768 - 2.17.50.0.8 - fix gas error on valid-code complaining about missing .cfi_endproc (BZ#3607) - re-organise generation of cross binutils, enable make check for cross tools - move cell spu bits to a specific sub package, don't build spu for cross ppc * Tue Dec 19 2006 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.91.0.7-6mdv2007.1 + Revision: 99715 - integrate binart spu_ovl.o for bootstrap - backport Cell SPU support - reorganize targets selection, drop support for mach-o objects - backport DT_GNU_HASH support - make linux32 as generate 32-bit code on ppc64 - bunzip2 patches - Import binutils * Wed Oct 25 2006 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.91.0.7-5mdv - improve biarch x86-linux support (64-bit on 32-bit) - update to upstream cell patch (new AltiVec instructions) * Fri Sep 22 2006 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.91.0.7-4mdv - add cell ppu support * Wed Aug 30 2006 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.91.0.7-3mdv2007.0 - CVE-2006-2362 (PR binutils/2584) * Fri Jul 21 2006 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.91.0.7-2mdk - build with -Wno-error - more libtool fixes for build - selected fixes from CVS: * add "nop memory" for i386/x86-64 * fix x86-64 disassembler for sidt/sgdt * fix a visibility bug in ELF linker (PR 2884) * Fri May 12 2006 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.91.0.7-1mdk - 2.16.91.0.7 - fix build with gcc4.1 * Fri May 12 2006 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.91.0.6-2mdk - avoid abort with dynamic symbols in >64K sections (PR 2411) - merge with RH 2.16.91.0.6-6 * support S signal frame augmentation flag in .eh_frame, add .cfi_signal_frame support (#175951, PR other/26208, BZ#300) * support DW_CFA_val_{offset,offset_sf,expression} in readelf/objdump * fix relaxation of TLS GD to LE on PPC (RH #184590) * fix for g++ -frepo ((RH #187142) * Tue Mar 07 2006 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.91.0.6-1mdk - 2.16.91.0.6 - fix PR ld/2218 (H.J. Lu) - add Merom New Instructions (MNI) * Sat Aug 13 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.91.0.2-3mdk - fix requires for install-info * Fri Aug 05 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.91.0.2-2mdk - remove obsolete patch that was fixed in a previous snapshot - make the linker ignore .got2 relocs against symbols from discarded sections (Alan Modra, PR target/17828) * Sat Jul 23 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.91.0.2-1mdk - 2.16.91.0.2: * update from binutils 2005 0720 * add AMD SVME & Intel VMX support * add x86-64 new relocations for medium model * fix a PIE regression (PR 975) * fix an x86_64 signed 32bit displacement regression * fix PPC PLT (PR 1004) * imrove empty section removal * Fri Jul 08 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.91.0.1-1mdk - 2.16.91.0.1 * Thu Jun 16 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.90.0.3-2mdk - all tests pass on ppc64 too - build sparc with --enable-64-bit-bfd (peroyvind) * Wed May 18 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.90.0.3-1mdk - 2.16.90.0.3 * Sat May 07 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.90.0.2-3mdk - enable 64-bit targets for ppc and sparc * Thu May 05 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.90.0.2-2mdk - selected fix from CVS to fix kdebase build: * skip weak definitions if a strong definition has already been seen * Sun May 01 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.90.0.2-1mdk - 2.16.90.0.2 - fix ld -pie * Wed Apr 27 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.90.0.1-2mdk - Selected fixes from mainline CVS to fix --as-needed and PR ld/815 * Tue Apr 26 2005 Gwenole Beauchesne <gbeauchesne@mandriva.com> 2.16.90.0.1-1mdk - 2.16.90.0.1 * Tue Mar 08 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.15.92.0.2-6mdk - don't build shared libraries for cross binutils * Tue Feb 01 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.15.92.0.2-5mdk - handle protected functions correctly on x86_64 (PR binutils/584, H. J. Lu) * Tue Jan 18 2005 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.15.92.0.2-4mdk - make "as" aware of its current personality on x86-64 so that 32-bit object can be generated by default (if running under linux32) * Thu Dec 16 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.15.92.0.2-3mdk - fix build on x86_64 * Wed Nov 24 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.15.92.0.2-2mdk - Further merge with RH 2.15.92.0.2-6 * revert Sep 09 change to make ppc L second argument e.g. for tlbie non-optional * fix --just-symbols on ppc64 (Alan Modra, #135498) * fix -pie on ppc64 * Wed Nov 10 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.15.92.0.2-1mdk - Merge with RH 2.15.92.0.2-6 * fix ar xo * fix stripping of prelinked binaries and libraries * allow strings(1) on 32-bit arches to be used again with > 2GB files * fix code detecting matching linkonce and single member comdat group sections * fix -z relro to make sure end of PT_GNU_RELRO segment is always COMMONPAGESIZE aligned * fix orphan section placement * change ld's ld.so.conf parser to match ldconfig's * Wed May 12 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.15.90.0.3-1mdk - 2.15.90.0.3 - change x86-64 .plt symbol st_size handling to match ia32 (RH 2.15.90.0.3-4) * Mon Jan 12 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 2.14.90.0.7-2mdk - Fix cross binutils builds with newer rpm - Enable Mach-O and PEF targets on cross PowerPC binutils