Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > cf4f5a5854a0e22c27427db426e09156 > files > 31

binutils-2.24-3.1.mga4.src.rpm


%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
# (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:	2.24
%define subrel	1
Release:	%mkrel 3
License:	GPLv3+
Group:		Development/Other
URL:		http://sources.redhat.com/binutils/
Source0:	http://ftp.gnu.org/gnu/binutils/binutils-%{version}.tar.bz2
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(post):	info-install
Requires(preun):info-install
Provides:	%{lib_name} = %{epoch}:%{version}-%{release}
%endif
# (tmb) force build with gcc 4.8.2 final
BuildRequires:	gcc >= 4.8.2-1
BuildRequires:	autoconf automake bison flex gettext texinfo-tex
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.22.52.0.1-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
# Fix addr2line to use the dynamic symbol table if it could not find any ordinary symbols.
Patch13: binutils-2.23.52.0.1-addr2line-dynsymtab.patch
#
Patch16: binutils-2.23.2-kernel-ld-r.patch
# Correct bug introduced by patch 16
Patch19: binutils-2.23.2-aarch64-em.patch
# Fix decoding of abstract instance names using DW_FORM_ref_addr.
Patch20: binutils-2.24-DW_FORM_ref_addr.patch
# Fix detections of uncompressed .debug_str sections that look like they have been compressed.
Patch21: binutils-2.24-fake-zlib-sections.patch
Patch22: binutils-2.24-fat-lto-objects.patch
Patch23: binutils-2.24-symbol-warning.patch
Patch26: binutils-HEAD-change-ld-notice-interface.patch
Patch27: binutils-2.24-corrupt-binaries.patch
Patch28: binutils-2.24-strings-default-all.patch
Patch29: binutils-2.24-corrupt-ar.patch

# Mageia patches
# TODO: should really clean up this patch again now...
Patch51:	binutils-2.24-linux32.patch
Patch52:	binutils-2.24-skip-gold-check.patch
# (cjw) fix ar crashing when a plugin is used, caused by patch16
Patch53:	binutils-2.24-ar-segfault.patch

# upstream fixes
Patch100:	binutils-bfd-elflink-Fix-as-needed-undefined-symbol-references-from-dynam.patch
Patch101:	binutils-bfd-Correct-elf_merge_st_other-arguments-for-weak-symbols.patch
Patch102:	binutils-Fix-buffer-underrun-in-i386-dis.c.patch
Patch103:	binutils-Add-missing-break-statement-for-case-elfcpp-R_X86_64.patch
# fix gcc 4.9 build, should be the same as binutils-2.24-set-section-macros.patch in fedora
Patch104:	mingw-binutils-warnings.patch
# Part of upstream patch for upstream #17533 / CVE-2014-8738 that is missing from patch29
# https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=patch;h=bb0d867169d7e9743d229804106a8fbcab7f3b3f
Patch105:	binutils-2.24-17533.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 = %{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-%{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 -p0 -b .relro-by-default~
%patch09 -p0 -b .demangle~
%patch10 -p0 -b .config-h-check~
%patch13 -p0 -b .addr2line~
%patch16 -p0 -b .kernel-ld-r~
%patch19 -p0 -b .aarch64~
%patch20 -p0 -b .ref-addr~
%patch21 -p0 -b .fake-zlib~
%patch22 -p1 -b .fatlto~
%patch23 -p1 -b .symwarn~
%patch26 -p1 -b .ldplugin~
%patch27 -p0 -b .corrupt-binaries~
%patch28 -p0 -b .strings-all~
%patch29 -p0 -b .corrupt-ar~

# Mageia patches
%patch51 -p1 -b .linux32~
%patch52 -p1 -b .skip_gold_check~
%patch53 -p1 -b .ar-segfault

# upstream fixes
%patch100 -p1 -b .elflink
%patch101 -p1 -b .elflink-weak
%patch102 -p1 -b .p102
%patch103 -p1 -b .p103
%patch104 -p1 -b .werror
%patch105 -p1 -b .CVE-2014-8738

# 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=https://bugs.mageia.org/ \
						--enable-gold \
						--enable-plugins
# 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=https://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
* Thu Jan 15 2015 luigiwalser <luigiwalser> 1:2.24-3.1.mga4
+ Revision: 810835
- sync patches from Cauldron to fix bugs and security issues (mga#15022):
- 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
- patch105: fix for CVE-2014-8738 (mga #15022)
- x86_64.cc (Target_x86_64::Relocate::relocate): Add missing break
- Fix buffer underrun in i386-dis.c

* 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