From d08d987302b9699b2b810ee2cfa0afe9794bdd4e Mon Sep 17 00:00:00 2001 From: David Howells Date: Fri, 2 Nov 2012 15:02:38 +0000 Subject: Updated to binutils-2.23.51.0.3 and added support for aarch64 --- cross-binutils.spec | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'cross-binutils.spec') diff --git a/cross-binutils.spec b/cross-binutils.spec index 1117b41..e0b316c 100644 --- a/cross-binutils.spec +++ b/cross-binutils.spec @@ -2,6 +2,7 @@ %define build_all 1 %define build_alpha %{build_all} %define build_arm %{build_all} +%define build_aarch64 %{build_all} %define build_avr32 %{build_all} %define build_blackfin %{build_all} %define build_c6x %{build_all} @@ -41,8 +42,8 @@ Summary: A GNU collection of cross-compilation binary utilities Name: cross-binutils -Version: 2.22.52.0.3 -Release: 4%{?dist} +Version: 2.23.51.0.3 +Release: 1%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -63,8 +64,10 @@ Patch07: binutils-2.20.51.0.10-sec-merge-emit.patch 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 - -Patch100: binutils-2.22.52.0.3-fix-signedness-warning.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 +# Renames ARM LDRALT insn to LDALT. BZ# 869025 +Patch11: binutils-2.23.51.0.3-arm-ldralt.patch Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: texinfo >= 4.0, gettext, flex, bison, zlib-devel @@ -109,6 +112,7 @@ Cross-build binary image generation, manipulation and query tools. \ %do_package alpha-linux-gnu %{build_alpha} %do_package arm-linux-gnu %{build_arm} +%do_package aarch64-linux-gnu %{build_aarch64} %do_package avr32-linux-gnu %{build_avr32} %do_package bfin-linux-gnu %{build_blackfin} %do_package c6x-linux-gnu %{build_c6x} @@ -170,8 +174,8 @@ cd %{srcdir} %patch08 -p0 -b .relro~ %endif %patch09 -p0 -b .export-demangle-h~ - -%patch100 -p0 -b .signedness~ +%patch10 -p0 -b .no-config-h-check~ +%patch11 -p0 -b .arm-ldralt~ # We cannot run autotools as there is an exact requirement of autoconf-2.59. @@ -210,6 +214,7 @@ cd .. ( prep_target alpha-linux-gnu %{build_alpha} prep_target arm-linux-gnu %{build_arm} + prep_target aarch64-linux-gnu %{build_aarch64} prep_target avr32-linux-gnu %{build_avr32} prep_target bfin-linux-gnu %{build_blackfin} prep_target c6x-linux-gnu %{build_c6x} @@ -270,6 +275,7 @@ function config_target () { case $arch in arm-*) target=arm-linux-gnueabi;; + aarch64-*) target=aarch64-linux-gnu;; avr32-*) target=avr-linux;; bfin-*) target=bfin-uclinux;; c6x-*) target=c6x-uclinux;; @@ -542,6 +548,7 @@ rm -rf %{buildroot} %do_files alpha-linux-gnu %{build_alpha} %do_files arm-linux-gnu %{build_arm} +%do_files aarch64-linux-gnu %{build_aarch64} %do_files avr32-linux-gnu %{build_avr32} %do_files bfin-linux-gnu %{build_blackfin} %do_files c6x-linux-gnu %{build_c6x} @@ -576,6 +583,10 @@ rm -rf %{buildroot} %do_files xtensa-linux-gnu %{build_xtensa} %changelog +* Fri Nov 2nd 2012 David Howells - 2.23.51.0.3-1 +- Update to binutils-2.23.51.0.3. +- Added support for aarch64. + * Mon Oct 15 2012 Jon Ciesla - 2.22.52.0.3-4 - Provides: bundled(libiberty) -- cgit