SHA256
1
0
forked from pool/binutils

Accepting request 143122 from home:adrianSuSE:aarch64

update and biarch patch. It does not help me, but it does not harm either ;)

OBS-URL: https://build.opensuse.org/request/show/143122
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=115
This commit is contained in:
Richard Biener 2012-11-27 14:23:40 +00:00 committed by Git OBS Bridge
parent 5c502ac474
commit fed834d5d6
47 changed files with 246 additions and 65 deletions

38
aarch64-biarch.patch Normal file
View File

@ -0,0 +1,38 @@
Index: binutils-2.23.1/ld/emulparams/aarch64elf.sh
===================================================================
--- binutils-2.23.1.orig/ld/emulparams/aarch64elf.sh
+++ binutils-2.23.1/ld/emulparams/aarch64elf.sh
@@ -33,3 +33,14 @@ ATTRS_SECTIONS='.ARM.attributes 0 : { KE
# This sets the stack to the top of the simulator memory (2^19 bytes).
STACK_ADDR=0x80000
+
+# For Linux modify the default library search path
+# to first include a 64-bit specific directory.
+case "$target" in
+ aarch64*-linux*)
+ case "$EMULATION_NAME" in
+ *) LIBPATH_SUFFIX=64 ;;
+ esac
+ ;;
+esac
+
Index: binutils-2.23.1/ld/emulparams/aarch64linux.sh
===================================================================
--- binutils-2.23.1.orig/ld/emulparams/aarch64linux.sh
+++ binutils-2.23.1/ld/emulparams/aarch64linux.sh
@@ -34,3 +34,14 @@ OTHER_SECTIONS='.note.gnu.arm.ident 0 :
ATTRS_SECTIONS='.ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP (*(.gnu.attributes)) }'
# Ensure each PLT entry is aligned to a cache line.
PLT=".plt ${RELOCATING-0} : ALIGN(16) { *(.plt)${IREL_IN_PLT+ *(.iplt)} }"
+
+# For Linux modify the default library search path
+# to first include a 64-bit specific directory.
+case "$target" in
+ aarch64*-linux*)
+ case "$EMULATION_NAME" in
+ *) LIBPATH_SUFFIX=64 ;;
+ esac
+ ;;
+esac
+

View File

@ -20,8 +20,8 @@ GCC, therefore I want to commit this just to the trunk.
Index: include/objalloc.h
===================================================================
--- include/objalloc.h (revision 190780)
+++ include/objalloc.h (working copy)
--- include/objalloc.h.orig
+++ include/objalloc.h
@@ -1,5 +1,5 @@
/* objalloc.h -- routines to allocate memory for objects
- Copyright 1997, 2001 Free Software Foundation, Inc.
@ -29,7 +29,7 @@ Index: include/objalloc.h
Written by Ian Lance Taylor, Cygnus Solutions.
This program is free software; you can redistribute it and/or modify it
@@ -71,38 +71,8 @@
@@ -71,38 +71,8 @@ extern struct objalloc *objalloc_create
extern void *_objalloc_alloc (struct objalloc *, unsigned long);
@ -70,8 +70,8 @@ Index: include/objalloc.h
extern void objalloc_free (struct objalloc *);
Index: libiberty/objalloc.c
===================================================================
--- libiberty/objalloc.c (revision 190780)
+++ libiberty/objalloc.c (working copy)
--- libiberty/objalloc.c.orig
+++ libiberty/objalloc.c
@@ -1,5 +1,5 @@
/* objalloc.c -- routines to allocate memory for objects
- Copyright 1997 Free Software Foundation, Inc.
@ -79,7 +79,7 @@ Index: libiberty/objalloc.c
Written by Ian Lance Taylor, Cygnus Solutions.
This program is free software; you can redistribute it and/or modify it
@@ -112,8 +112,9 @@
@@ -112,8 +112,9 @@ objalloc_create (void)
/* Allocate space from an objalloc structure. */
PTR
@ -90,7 +90,7 @@ Index: libiberty/objalloc.c
/* We avoid confusion from zero sized objects by always allocating
at least 1 byte. */
if (len == 0)
@@ -121,6 +122,11 @@
@@ -121,6 +122,11 @@ _objalloc_alloc (struct objalloc *o, uns
len = (len + OBJALLOC_ALIGN - 1) &~ (OBJALLOC_ALIGN - 1);
@ -102,4 +102,3 @@ Index: libiberty/objalloc.c
if (len <= o->current_space)
{
o->current_ptr += len;

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:77f1c8a96434f8e094ae475857bd596124bf13aa655a3898cafdfd7b2cdac2ff
size 19514452

3
binutils-2.23.1.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ab2e5b03e086d12c6295f831adad46b3e1410a3a234933a2e8fac66cb2e7a19
size 21455321

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -35,7 +35,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -96,6 +96,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -158,6 +159,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de
- update to version 2.23.1 release
- add aarch64 biarch patch
-------------------------------------------------------------------
Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.23.0
Version: 2.23.1
Release: 0
#
# RUN_TESTS
@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff
Patch21: binutils-2.22-objalloc.patch
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch101: aarch64-biarch.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch21
%patch101 -p1
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90

View File

@ -1,6 +1,8 @@
--- gold/configure.orig 2011-01-11 12:22:06.000000000 +0100
+++ gold/configure 2011-01-11 12:23:38.000000000 +0100
@@ -3389,7 +3389,8 @@
Index: gold/configure
===================================================================
--- gold/configure.orig
+++ gold/configure
@@ -3405,7 +3405,8 @@ for targ in $target $canon_targets; do
. ${srcdir}/configure.tgt
if test "$targ_obj" = "UNKNOWN"; then
@ -10,5 +12,3 @@
else
targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)"
if test "$targ_extra_obj" != ""; then

View File

@ -1,8 +1,8 @@
Index: Makefile.def
===================================================================
--- Makefile.def.orig 2011-07-26 20:48:02.000000000 +0200
+++ Makefile.def 2011-09-28 15:28:31.000000000 +0200
@@ -403,6 +403,7 @@ dependencies = { module=configure-gold;
--- Makefile.def.orig
+++ Makefile.def
@@ -404,6 +404,7 @@ dependencies = { module=configure-gold;
dependencies = { module=all-gold; on=all-libiberty; };
dependencies = { module=all-gold; on=all-intl; };
dependencies = { module=all-gold; on=all-bfd; };
@ -12,9 +12,9 @@ Index: Makefile.def
dependencies = { module=check-gold; on=all-gas; };
Index: Makefile.in
===================================================================
--- Makefile.in.orig 2011-07-26 20:48:03.000000000 +0200
+++ Makefile.in 2011-09-28 15:28:31.000000000 +0200
@@ -42856,6 +42856,14 @@ all-stage3-gold: maybe-all-stage3-bfd
--- Makefile.in.orig
+++ Makefile.in
@@ -42851,6 +42851,14 @@ all-stage3-gold: maybe-all-stage3-bfd
all-stage4-gold: maybe-all-stage4-bfd
all-stageprofile-gold: maybe-all-stageprofile-bfd
all-stagefeedback-gold: maybe-all-stagefeedback-bfd

View File

@ -1,8 +1,8 @@
Index: binutils-2.20.0/ld/ld.texinfo
Index: binutils-2.23.1/ld/ld.texinfo
===================================================================
--- binutils-2.20.0.orig/ld/ld.texinfo 2009-11-23 14:02:48.000000000 +0100
+++ binutils-2.20.0/ld/ld.texinfo 2009-11-23 14:03:08.000000000 +0100
@@ -2026,7 +2026,7 @@ This linker can create the new dynamic t
--- binutils-2.23.1.orig/ld/ld.texinfo
+++ binutils-2.23.1/ld/ld.texinfo
@@ -2089,7 +2089,7 @@ This linker can create the new dynamic t
systems may not understand them. If you specify
@option{--enable-new-dtags}, the dynamic tags will be created as needed.
If you specify @option{--disable-new-dtags}, no new dynamic tags will be
@ -11,11 +11,11 @@ Index: binutils-2.20.0/ld/ld.texinfo
those options are only available for ELF systems.
@kindex --hash-size=@var{number}
Index: binutils-2.20.0/ld/ldmain.c
Index: binutils-2.23.1/ld/ldmain.c
===================================================================
--- binutils-2.20.0.orig/ld/ldmain.c 2009-11-23 14:02:48.000000000 +0100
+++ binutils-2.20.0/ld/ldmain.c 2009-11-23 14:03:08.000000000 +0100
@@ -262,6 +262,7 @@ main (int argc, char **argv)
--- binutils-2.23.1.orig/ld/ldmain.c
+++ binutils-2.23.1/ld/ldmain.c
@@ -275,6 +275,7 @@ main (int argc, char **argv)
link_info.allow_undefined_version = TRUE;
link_info.keep_memory = TRUE;

View File

@ -1,8 +1,8 @@
Index: ld/emulparams/elf_s390.sh
===================================================================
--- ld/emulparams/elf_s390.sh.orig 2009-11-23 14:02:48.000000000 +0100
+++ ld/emulparams/elf_s390.sh 2009-11-23 14:03:08.000000000 +0100
@@ -11,3 +11,18 @@ TEMPLATE_NAME=elf32
--- ld/emulparams/elf_s390.sh.orig
+++ ld/emulparams/elf_s390.sh
@@ -12,3 +12,18 @@ GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
NO_SMALL_DATA=yes
IREL_IN_PLT=

View File

@ -1,7 +1,7 @@
Index: binutils/testsuite/binutils-all/windres/windres.exp
===================================================================
--- binutils/testsuite/binutils-all/windres/windres.exp.orig 2009-11-23 14:02:48.000000000 +0100
+++ binutils/testsuite/binutils-all/windres/windres.exp 2009-11-23 14:03:09.000000000 +0100
--- binutils/testsuite/binutils-all/windres/windres.exp.orig
+++ binutils/testsuite/binutils-all/windres/windres.exp
@@ -36,6 +36,7 @@ set wr "$WINDRES --include-dir $srcdir/$
if [file exists "$srcdir/../../winsup/w32api/include"] {
set wr "$wr --include-dir $srcdir/../../winsup/w32api/include"
@ -12,8 +12,8 @@ Index: binutils/testsuite/binutils-all/windres/windres.exp
Index: ld/testsuite/ld-srec/srec.exp
===================================================================
--- ld/testsuite/ld-srec/srec.exp.orig 2009-11-23 14:02:48.000000000 +0100
+++ ld/testsuite/ld-srec/srec.exp 2009-11-23 14:03:09.000000000 +0100
--- ld/testsuite/ld-srec/srec.exp.orig
+++ ld/testsuite/ld-srec/srec.exp
@@ -20,6 +20,9 @@
# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
# MA 02110-1301, USA.
@ -26,9 +26,9 @@ Index: ld/testsuite/ld-srec/srec.exp
proc srec_off { l } {
Index: ld/testsuite/ld-undefined/undefined.exp
===================================================================
--- ld/testsuite/ld-undefined/undefined.exp.orig 2009-11-23 14:02:48.000000000 +0100
+++ ld/testsuite/ld-undefined/undefined.exp 2009-11-23 14:03:09.000000000 +0100
@@ -136,7 +136,7 @@ setup_xfail "sh64-*-*"
--- ld/testsuite/ld-undefined/undefined.exp.orig
+++ ld/testsuite/ld-undefined/undefined.exp
@@ -134,7 +134,7 @@ setup_xfail "sh64-*-*"
# the function. Therefore the line number in the error message is 8 instead
# of 9. On 64 bit s/390 this works because of the new brasl instruction that
# doesn't need a literal pool entry.

View File

@ -1,8 +1,8 @@
Index: ld/testsuite/ld-selective/selective.exp
===================================================================
--- ld/testsuite/ld-selective/selective.exp.orig 2011-02-10 04:41:11.000000000 +0100
+++ ld/testsuite/ld-selective/selective.exp 2011-04-19 14:54:34.000000000 +0200
@@ -59,8 +59,8 @@ set seltests {
--- ld/testsuite/ld-selective/selective.exp.orig
+++ ld/testsuite/ld-selective/selective.exp
@@ -47,8 +47,8 @@ set seltests {
{A::foo() B::foo() dropme1() dropme2()} {*-*-*}}
}

View File

@ -1,7 +1,7 @@
Index: ld/ldmain.c
===================================================================
--- ld/ldmain.c.orig 2012-09-14 14:01:52.209165500 +0200
+++ ld/ldmain.c 2012-09-14 14:01:52.273165498 +0200
--- ld/ldmain.c.orig
+++ ld/ldmain.c
@@ -279,6 +279,7 @@ main (int argc, char **argv)
link_info.combreloc = TRUE;
link_info.strip_discarded = TRUE;
@ -12,8 +12,8 @@ Index: ld/ldmain.c
/* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init
Index: ld/testsuite/config/default.exp
===================================================================
--- ld/testsuite/config/default.exp.orig 2012-09-14 14:01:52.223165499 +0200
+++ ld/testsuite/config/default.exp 2012-09-14 14:01:52.273165498 +0200
--- ld/testsuite/config/default.exp.orig
+++ ld/testsuite/config/default.exp
@@ -23,7 +23,7 @@
#