Accepting request 98732 from devel:gcc

- Add patch to fix arm unwind table corruption.  [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.

- Add patch to fix build-id issues.  [bso#12451]

OBS-URL: https://build.opensuse.org/request/show/98732
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=72
This commit is contained in:
Stephan Kulow 2012-01-06 10:43:10 +00:00 committed by Git OBS Bridge
commit b414137d5e
32 changed files with 419 additions and 181 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -170,7 +172,7 @@ AutoReqProv: on
Requires: binutils = %{version}-%{release}
Group: Development/Tools/Building
%if 0%{suse_version} > 1100
%define gold_archs %ix86 x86_64 ppc ppc64 %sparc
%define gold_archs %ix86 %arm x86_64 ppc ppc64 %sparc
%endif
%description gold
@ -280,7 +282,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -303,6 +305,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -341,14 +345,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -404,7 +402,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

68
bso12451.diff Normal file
View File

@ -0,0 +1,68 @@
PR ld/12451
* elfcode.h (elf_checksum_contents): Read in the section's
contents if they are not already available.
* compress.c (bfd_get_full_section_contents): Use zmalloc to
allocate the buffers so that excess bytes are guaranteed to be
zero.
===================================================================
RCS file: /cvs/src/src/bfd/elfcode.h,v
retrieving revision 1.109
retrieving revision 1.110
diff -u -r1.109 -r1.110
--- src/bfd/elfcode.h 2011/06/06 01:26:01 1.109
+++ src/bfd/elfcode.h 2011/12/14 11:50:13 1.110
@@ -1097,8 +1097,28 @@
elf_swap_shdr_out (abfd, &i_shdr, &x_shdr);
(*process) (&x_shdr, sizeof x_shdr, arg);
+ /* PR ld/12451:
+ Process the section's contents; reading them in if necessary. */
if (i_shdr.contents)
(*process) (i_shdr.contents, i_shdr.sh_size, arg);
+ else
+ {
+ asection *sec;
+
+ sec = bfd_section_from_elf_index (abfd, count);
+ if (sec != NULL)
+ {
+ if (sec->contents == NULL)
+ {
+ /* Force rereading from file. */
+ sec->flags &= ~SEC_IN_MEMORY;
+ if (! bfd_malloc_and_get_section (abfd, sec, & sec->contents))
+ continue;
+ }
+ if (sec->contents != NULL)
+ (*process) (sec->contents, i_shdr.sh_size, arg);
+ }
+ }
}
return TRUE;
===================================================================
RCS file: /cvs/src/src/bfd/compress.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- src/bfd/compress.c 2011/04/11 04:08:12 1.9
+++ src/bfd/compress.c 2011/12/14 11:50:13 1.10
@@ -181,7 +181,7 @@
case COMPRESS_SECTION_NONE:
if (p == NULL)
{
- p = (bfd_byte *) bfd_malloc (sz);
+ p = (bfd_byte *) bfd_zmalloc (sz);
if (p == NULL)
return FALSE;
}
@@ -221,7 +221,7 @@
if (!ret)
goto fail_compressed;
- uncompressed_buffer = (bfd_byte *) bfd_malloc (uncompressed_size);
+ uncompressed_buffer = (bfd_byte *) bfd_zmalloc (uncompressed_size);
if (uncompressed_buffer == NULL)
goto fail_compressed;

20
bso13449.diff Normal file
View File

@ -0,0 +1,20 @@
PR gas/13449
* config/tc-arm.c (create_unwind_entry): Zero allocated table
entries.
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.512
retrieving revision 1.513
diff -u -r1.512 -r1.513
--- src/gas/config/tc-arm.c 2011/12/15 10:21:49 1.512
+++ src/gas/config/tc-arm.c 2011/12/21 17:07:26 1.513
@@ -19944,6 +19944,8 @@
/* Allocate the table entry. */
ptr = frag_more ((size << 2) + 4);
+ /* PR 13449: Zero the table entries in case some of them are not used. */
+ memset (ptr, 0, (size << 2) + 4);
where = frag_now_fix () - ((size << 2) + 4);
switch (unwind.personality_index)

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-alpha-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-arm-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-hppa-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-hppa64-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-i386-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-ia64-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-mips-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-ppc-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-ppc64-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-s390-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-s390x-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-sparc-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-spu-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com
- Add patch to fix arm unwind table corruption. [bso#13449]
- Canonicalize arm targets.
- Enable gold for arm.
-------------------------------------------------------------------
Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com
- Add patch to fix build-id issues. [bso#12451]
-------------------------------------------------------------------
Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-x86_64-binutils
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -41,7 +41,7 @@ Release: 10
#
# handle test suite failures
#
%ifarch alpha armv4l hppa mips sh4 %sparc
%ifarch alpha %arm hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
@ -90,6 +90,8 @@ Patch11: use-hashtype-both-by-default.diff
Patch14: binutils-build-as-needed.diff
Patch15: fixup-testcase-perturb.diff
Patch18: gold-depend-on-opcodes.diff
Patch19: bso12451.diff
Patch20: bso13449.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -252,7 +254,7 @@ Authors:
%if "%{name}" != "binutils"
%define TARGET %(echo %{name} | sed -e "s/cross-\\(.*\\)-binutils/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/")
%endif
%ifarch %{arm} armv5l armv7l armv8l
%ifarch %arm
%define HOST %{_target_cpu}-suse-linux-gnueabi
%else
%define HOST %(echo %{_target_cpu} | sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/" -e "s/sparc64v.*/sparc64/" -e "s/sparcv.*/sparc/")-suse-linux
@ -275,6 +277,8 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch15
%patch18
%patch19 -p1
%patch20 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -313,14 +317,8 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%ifarch ppc ppc64
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch armv5l
EXTRA_TARGETS="$EXTRA_TARGETS,armv5l-suse-linux"
%endif
%ifarch armv7l
EXTRA_TARGETS="$EXTRA_TARGETS,armv7l-suse-linux"
%endif
%ifarch armv8l
EXTRA_TARGETS="$EXTRA_TARGETS,armv8l-suse-linux"
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%endif
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
@ -373,7 +371,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}