From db8333e70157cf54a72477a19ac9b72ce1d36a4d Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: May 02 2011 09:17:08 +0000 Subject: Add ARM to BFD checks --- diff --git a/binutils.spec b/binutils.spec index 6bd4e84..ec1557b 100644 --- a/binutils.spec +++ b/binutils.spec @@ -17,7 +17,7 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.20.51.0.7 -Release: 7%{?dist} +Release: 8%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -170,7 +170,7 @@ echo target is %{binutils_target} export CFLAGS="$RPM_OPT_FLAGS" CARGS= -case %{binutils_target} in i?86*|sparc*|ppc*|s390*|sh*) +case %{binutils_target} in i?86*|sparc*|ppc*|s390*|sh*|arm*) CARGS="$CARGS --enable-64-bit-bfd" ;; esac @@ -267,7 +267,7 @@ rm -f %{buildroot}%{_libdir}/lib{bfd,opcodes}.la # Sanity check --enable-64-bit-bfd really works. grep '^#define BFD_ARCH_SIZE 64$' %{buildroot}%{_prefix}/include/bfd.h # Fix multilib conflicts of generated values by __WORDSIZE-based expressions. -%ifarch %{ix86} x86_64 ppc ppc64 s390 s390x sh3 sh4 sparc sparc64 +%ifarch %{ix86} x86_64 ppc ppc64 s390 s390x sh3 sh4 sparc sparc64 arm sed -i -e '/^#include "ansidecl.h"/{p;s~^.*$~#include ~;}' \ -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)/' \ @@ -423,6 +423,9 @@ exit 0 %endif # %{isnative} %changelog +* Mon May 2 2011 Peter Robinson - 2.20.51.0.7-8 +- Add ARM to BFD checks + * Tue Apr 12 2011 Nick Clifton - 2.20.51.0.7-7 - Fix disassembly of i386 objects. (BZ 695565)