Accepting request 158538 from home:Andreas_Schwab:Factory

- Add aarch64 support for --gc-sections
  (from http://sourceware.org/ml/binutils/2013-02/msg00285.html)

OBS-URL: https://build.opensuse.org/request/show/158538
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=123
This commit is contained in:
2013-03-11 13:31:52 +00:00
committed by Git OBS Bridge
parent dc97cafffe
commit 332ccb2acb
37 changed files with 328 additions and 18 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package cross-mips-binutils
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 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
@@ -101,6 +101,7 @@ Patch22: binutils-bfd_h.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
Patch102: aarch64-gc-section-support.patch
Patch201: s390-machinemode.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
@@ -167,6 +168,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch21
%patch22
%patch101 -p1
%patch102 -p1
%patch201 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h