SHA256
3
0
forked from pool/binutils

Accepting request 264543 from devel:gcc

follow policy

OBS-URL: https://build.opensuse.org/request/show/264543
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/binutils?expand=0&rev=100
This commit is contained in:
Dominique Leuenberger 2014-12-10 22:43:51 +00:00 committed by Git OBS Bridge
commit 52566b37db
53 changed files with 3640 additions and 564 deletions

View File

@ -1,68 +0,0 @@
commit 92b1b67865c719e83d12578e584ca5e20d172eac
Author: Markus Trippelsdorf <markus@trippelsdorf.de>
Date: Thu Apr 3 11:33:17 2014 +0100
This patch allows one to place the gcc's liblto_plugin in the lib/bfd-plugins directory
and have it loaded by default (as long as the --target option isn't used).
PR binutils/14698
ar.c: Set plugin_target early if plugins are supported.
nm.c: Likewise.
diff --git a/binutils/ar.c b/binutils/ar.c
index 69f20f9..ebd9528 100644
--- a/binutils/ar.c
+++ b/binutils/ar.c
@@ -138,7 +138,11 @@ static int show_version = 0;
static int show_help = 0;
+#if BFD_SUPPORTS_PLUGINS
+static const char *plugin_target = "plugin";
+#else
static const char *plugin_target = NULL;
+#endif
static const char *target = NULL;
@@ -571,7 +575,6 @@ decode_options (int argc, char **argv)
break;
case OPTION_PLUGIN:
#if BFD_SUPPORTS_PLUGINS
- plugin_target = "plugin";
bfd_plugin_set_plugin (optarg);
#else
fprintf (stderr, _("sorry - this program has been built without plugin support\n"));
@@ -632,7 +635,6 @@ ranlib_main (int argc, char **argv)
/* PR binutils/13493: Support plugins. */
case OPTION_PLUGIN:
#if BFD_SUPPORTS_PLUGINS
- plugin_target = "plugin";
bfd_plugin_set_plugin (optarg);
#else
fprintf (stderr, _("sorry - this program has been built without plugin support\n"));
diff --git a/binutils/nm.c b/binutils/nm.c
index 15c48a3..2a44a84 100644
--- a/binutils/nm.c
+++ b/binutils/nm.c
@@ -175,7 +175,11 @@ static char other_format[] = "%02x";
static char desc_format[] = "%04x";
static char *target = NULL;
-static char *plugin_target = NULL;
+#if BFD_SUPPORTS_PLUGINS
+static const char *plugin_target = "plugin";
+#else
+static const char *plugin_target = NULL;
+#endif
/* Used to cache the line numbers for a BFD. */
static bfd *lineno_cache_bfd;
@@ -1646,7 +1650,6 @@ main (int argc, char **argv)
case OPTION_PLUGIN: /* --plugin */
#if BFD_SUPPORTS_PLUGINS
- plugin_target = "plugin";
bfd_plugin_set_plugin (optarg);
#else
fatal (_("sorry - this program has been built without plugin support\n"));

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f13b4fc6b0b2f09fc2003dafde6c21400226ed518f6ca72dac4456d1df6ee69
size 96930

View File

@ -1,150 +0,0 @@
commit 26c2ff33f8fcd57d52194a159226b639a4fee00c
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Mar 25 13:33:51 2014 -0700
Don't issue a warning for reference in LTO IR
References in LTO IR may be removed by LTO later. Instead, make a
warning symbol if needed. Warnings will be handled after LTO resolves
all references.
bfd/
PR ld/16746
* linker.c (_bfd_generic_link_add_one_symbol): Don't issue a
warning for reference in LTO IR which may be removed by LTO later.
ld/testsuite/
PR ld/16746
* ld-plugin/lto.exp: Add 4 tests for PR ld/16746.
* ld-plugin/pr16746a.c: New file.
* ld-plugin/pr16746b.c: Likewise.
* ld-plugin/pr16746c.c: Likewise.
* ld-plugin/pr16746d.c: Likewise.
Index: binutils-2.24/bfd/linker.c
===================================================================
--- binutils-2.24.orig/bfd/linker.c 2014-05-06 16:08:45.649990914 +0200
+++ binutils-2.24/bfd/linker.c 2014-05-06 16:08:49.819990627 +0200
@@ -1904,8 +1904,10 @@ _bfd_generic_link_add_one_symbol (struct
break;
case WARNC:
- /* Issue a warning and cycle. */
- if (h->u.i.warning != NULL)
+ /* Issue a warning and cycle. Don't issue a warning for
+ reference in LTO IR which may be removed by LTO later. */
+ if (h->u.i.warning != NULL
+ && (abfd->flags & BFD_PLUGIN) == 0)
{
if (! (*info->callbacks->warning) (info, h->u.i.warning,
h->root.string, abfd,
@@ -1930,6 +1932,11 @@ _bfd_generic_link_add_one_symbol (struct
break;
case WARN:
+ /* Don't issue a warning for reference in LTO IR which may be
+ removed by LTO later. Make a warning symbol instead. */
+ if ((hash_entry_bfd (h)->flags & BFD_PLUGIN) != 0)
+ goto mwarn;
+
/* Issue a warning. */
if (! (*info->callbacks->warning) (info, string, h->root.string,
hash_entry_bfd (h), NULL, 0))
@@ -1951,6 +1958,7 @@ _bfd_generic_link_add_one_symbol (struct
}
/* Fall through. */
case MWARN:
+mwarn:
/* Make a warning symbol. */
{
struct bfd_link_hash_entry *sub;
Index: binutils-2.24/ld/testsuite/ld-plugin/lto.exp
===================================================================
--- binutils-2.24.orig/ld/testsuite/ld-plugin/lto.exp 2014-05-06 16:08:45.649990914 +0200
+++ binutils-2.24/ld/testsuite/ld-plugin/lto.exp 2014-05-06 16:10:14.334984808 +0200
@@ -206,6 +206,18 @@ set lto_link_elf_tests {
{"Build libpr15146d.a"
"" "-flto -O2"
{pr15146d.c} {} "lib15146d.a"}
+ {"Build libpr16746a.a"
+ "" ""
+ {pr16746a.c pr16746b.c} {} "lib16746a.a"}
+ {"Build libpr16746b.a"
+ "" "-O2 -flto"
+ {pr16746c.c pr16746d.c} {} "lib16746b.a"}
+ {"PR ld/16746 (1)"
+ "-O2 -flto -fuse-linker-plugin tmpdir/pr16746a.o tmpdir/pr16746c.o" "-O2 -flto"
+ {dummy.c} {} "pr16746a.exe"}
+ {"PR ld/16746 (2)"
+ "-O2 -flto -fuse-linker-plugin tmpdir/pr16746c.o tmpdir/pr16746a.o" "-O2 -flto"
+ {dummy.c} {} "pr16746b.exe"}
}
# Check final symbols in executables.
@@ -309,6 +321,20 @@ if { [is_elf_format]
pass $testname
} {
fail $testname
+ }
+ set testname "PR ld/16746 (3)"
+ set exec_output [run_host_cmd "$CC" "$gcc_gas_flag $gcc_ld_flag -O2 -flto -fuse-linker-plugin tmpdir/pr16746b.o tmpdir/pr16746d.o"]
+ if { [ regexp "warning: foobar" $exec_output ] && ![ regexp "symbol from plugin" $exec_output ] } {
+ pass $testname
+ } {
+ fail $testname
+ }
+ set testname "PR ld/16746 (4)"
+ set exec_output [run_host_cmd "$CC" "$gcc_gas_flag $gcc_ld_flag -O2 -flto -fuse-linker-plugin tmpdir/pr16746d.o tmpdir/pr16746b.o"]
+ if { [ regexp "warning: foobar" $exec_output ] && ![ regexp "symbol from plugin" $exec_output ] } {
+ pass $testname
+ } {
+ fail $testname
}
}
Index: binutils-2.24/ld/testsuite/ld-plugin/pr16746a.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ binutils-2.24/ld/testsuite/ld-plugin/pr16746a.c 2014-05-06 16:08:49.819990627 +0200
@@ -0,0 +1,3 @@
+static const char __evoke_link_warning_foobar[]
+ __attribute__ ((used, section (".gnu.warning.foobar\n\t#")))
+ = "foobar";
Index: binutils-2.24/ld/testsuite/ld-plugin/pr16746b.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ binutils-2.24/ld/testsuite/ld-plugin/pr16746b.c 2014-05-06 16:08:49.820990627 +0200
@@ -0,0 +1,5 @@
+static const char __evoke_link_warning_foobar[]
+ __attribute__ ((used, section (".gnu.warning.foobar\n\t#")))
+ = "foobar";
+
+void foobar (void) {}
Index: binutils-2.24/ld/testsuite/ld-plugin/pr16746c.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ binutils-2.24/ld/testsuite/ld-plugin/pr16746c.c 2014-05-06 16:08:49.820990627 +0200
@@ -0,0 +1,8 @@
+extern void foobar (void);
+int
+main (int argc, char **argv)
+{
+ if (__builtin_constant_p (argc))
+ foobar ();
+ return 0;
+}
Index: binutils-2.24/ld/testsuite/ld-plugin/pr16746d.c
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ binutils-2.24/ld/testsuite/ld-plugin/pr16746d.c 2014-05-06 16:08:49.820990627 +0200
@@ -0,0 +1,8 @@
+extern void foobar (void);
+int
+main (int argc, char **argv)
+{
+ if (!__builtin_constant_p (argc))
+ foobar ();
+ return 0;
+}

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:84fbe69b50edc8424655cdf8537d150e21e03744f27f9f0deb2b17334921f6d7
size 24817475

View File

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

View File

@ -0,0 +1,12 @@
Index: gold/configure.tgt
===================================================================
--- gold/configure.tgt.orig 2014-12-01 16:37:19.000000000 +0100
+++ gold/configure.tgt 2014-12-01 17:00:55.000000000 +0100
@@ -146,6 +146,7 @@ arm*-*-*)
;;
aarch64*-*)
targ_obj=aarch64
+ targ_extra_obj=aarch64-reloc-property
targ_machine=EM_AARCH64
targ_size=64
targ_extra_size=32

View File

@ -1,8 +1,8 @@
Index: ld/emultempl/elf32.em
===================================================================
--- ld/emultempl/elf32.em.orig 2013-03-25 09:06:23.000000000 +0100
+++ ld/emultempl/elf32.em 2013-03-28 13:48:32.031001794 +0100
@@ -1440,8 +1440,38 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" !=
--- ld/emultempl/elf32.em.orig 2014-10-14 17:18:40.000000000 +0200
+++ ld/emultempl/elf32.em 2014-10-14 17:20:23.000000000 +0200
@@ -1357,8 +1357,38 @@ if test x"$LDEMUL_BEFORE_ALLOCATION" !=
else
ELF_INTERPRETER_SET_DEFAULT=
fi
@ -41,7 +41,7 @@ Index: ld/emultempl/elf32.em
/* used by before_allocation and handle_option. */
static void
gld${EMULATION_NAME}_append_to_separated_string (char **to, char *op_arg)
@@ -1488,7 +1518,7 @@ gld${EMULATION_NAME}_append_to_separated
@@ -1405,7 +1435,7 @@ gld${EMULATION_NAME}_append_to_separated
static void
gld${EMULATION_NAME}_before_allocation (void)
{
@ -49,8 +49,8 @@ Index: ld/emultempl/elf32.em
+ char *rpath;
asection *sinterp;
bfd *abfd;
@@ -1504,7 +1534,65 @@ gld${EMULATION_NAME}_before_allocation (
struct elf_link_hash_entry *ehdr_start = NULL;
@@ -1457,7 +1487,65 @@ gld${EMULATION_NAME}_before_allocation (
by dynamic linking. */
rpath = command_line.rpath;
if (rpath == NULL)
@ -115,5 +115,5 @@ Index: ld/emultempl/elf32.em
+ }
+ }
for (abfd = link_info.input_bfds; abfd; abfd = abfd->link_next)
for (abfd = link_info.input_bfds; abfd; abfd = abfd->link.next)
if (bfd_get_flavour (abfd) == bfd_target_elf_flavour)

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -35,7 +35,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -82,7 +82,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -96,10 +95,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -155,7 +151,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -170,10 +166,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -282,12 +275,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -357,8 +354,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,465 @@
#
# spec file for package cross-epiphany-binutils
#
# Copyright (c) 2014 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: cross-epiphany-binutils
ExcludeArch: epiphany
%define cross 1
%define TARGET epiphany
BuildRequires: bison
BuildRequires: dejagnu
BuildRequires: flex
BuildRequires: gcc-c++
# for the testsuite
%if 0%{suse_version} >= 1210
BuildRequires: glibc-devel-static
%endif
%if 0%{suse_version} > 1220
BuildRequires: makeinfo
%endif
# for some gold tests
BuildRequires: bc
%if 0%{suse_version} > 1110
BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24.90
Release: 0
#
# RUN_TESTS
%define run_tests %(test ! -f %_sourcedir/RUN_TESTS ; echo $?)
# check the vanilla binutils, with no patches applied
# TEST_VANILLA
%define test_vanilla %(test ! -f %_sourcedir/TEST_VANILLA ; echo $?)
#
# handle test suite failures
#
%ifarch alpha %arm aarch64 hppa mips sh4 %sparc
%define make_check_handling true
%else
# XXX check again
# XXX disabled because gold is seriously broken for now
%define make_check_handling true
%endif
# let make check fail anyway if RUN_TESTS was requested
%if %{run_tests}
%define make_check_handling false
%endif
# handle all binary object formats supported by SuSE (and a few more)
%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 ppc64le s390 s390x x86_64
%define build_multitarget 1
%else
%define build_multitarget 0
%endif
%define target_list aarch64 alpha armv5l armv6l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 powerpc64le s390 s390x sh4 sparc sparc64 x86_64
#
#
#
Url: http://www.gnu.org/software/binutils/
PreReq: %{install_info_prereq}
# bug437293
%ifarch ppc64
Obsoletes: binutils-64bit
%endif
#
%define binutils_version %(echo %version | sed 's/\\.[0-9]\\{8\\}$//')
Summary: GNU Binutils
License: GFDL-1.3 and GPL-3.0+
Group: Development/Tools/Building
Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
Patch6: unit-at-a-time.patch
Patch7: ld-dtags.diff
Patch8: ld-relro.diff
Patch9: testsuite.diff
Patch10: enable-targets-gold.diff
Patch11: use-hashtype-both-by-default.diff
Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: update-alternatives
%description
C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib,
size, strings, and strip. These utilities are needed whenever you want
to compile a program or kernel.
%package gold
Summary: The gold linker
License: GPL-3.0+
Group: Development/Tools/Building
Requires: binutils = %{version}-%{release}
PreReq: update-alternatives
%if 0%{suse_version} > 1100
%if 0%{!?cross:1}
%define gold_archs %ix86 %arm x86_64 ppc ppc64 ppc64le %sparc
%endif
%endif
%description gold
gold is an ELF linker. It is intended to have complete support for ELF
and to run as fast as possible on modern systems. For normal use it is
a drop-in replacement for the older GNU linker.
%package devel
Summary: GNU binutils (BFD development files)
License: GPL-3.0+
Group: Development/Libraries/C and C++
Requires: binutils = %{version}-%{release}
Requires: zlib-devel
Provides: binutils:/usr/include/bfd.h
%description devel
This package includes header files and static libraries necessary to
build programs which use the GNU BFD library, which is part of
binutils.
%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
%endif
%define DIST %(echo '%distribution' | sed 's/ (.*)//')
%prep
echo "make check will return with %{make_check_handling} in case of testsuite failures."
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
%patch5
%patch6
%patch7 -p1
%patch8
%patch9
%patch10
%patch11
%patch12
%patch14
%patch18
%patch22
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
%patch92
%patch93
%endif
#
# test_vanilla
%endif
sed -i -e '/BFD_VERSION_DATE/s/$/-%(echo %release | sed 's/\.[0-9]*$//')/' bfd/version.h
%build
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-error"
%if 0%{!?cross:1}
# Building native binutils
echo "Building native binutils."
%if %build_multitarget
EXTRA_TARGETS="%(printf ,%%s-suse-linux %target_list)"
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc-macos,powerpc-macos10,spu-elf,x86_64-pep"
%else
EXTRA_TARGETS=
%ifarch sparc
EXTRA_TARGETS="$EXTRA_TARGETS,sparc64-suse-linux"
%endif
%ifarch ppc
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc64-suse-linux"
%endif
%ifarch s390
EXTRA_TARGETS="$EXTRA_TARGETS,s390x-suse-linux"
%endif
%ifarch s390x
EXTRA_TARGETS="$EXTRA_TARGETS,s390-suse-linux"
%endif
%ifarch %ix86
EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%endif
%ifarch ppc ppc64 ppc64le
EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf"
%endif
%ifarch %arm
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%ifarch aarch64
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"} \
--enable-plugins \
%ifarch %gold_archs
--enable-gold \
--enable-threads \
%endif
--enable-shared
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# force reconfiguring (???)
rm bfd/Makefile
make %{?_smp_mflags}
%else
# building cross-TARGET-binutils
echo "Building cross binutils."
mkdir build-dir
cd build-dir
EXTRA_TARGETS=
%if "%{TARGET}" == "sparc"
EXTRA_TARGETS="$EXTRA_TARGETS,sparc64-suse-linux"
%endif
%if "%{TARGET}" == "powerpc"
EXTRA_TARGETS="$EXTRA_TARGETS,powerpc64-suse-linux"
%endif
%if "%{TARGET}" == "s390"
EXTRA_TARGETS="$EXTRA_TARGETS,s390x-suse-linux"
%endif
%if "%{TARGET}" == "s390x"
EXTRA_TARGETS="$EXTRA_TARGETS,s390-suse-linux"
%endif
%if "%{TARGET}" == "i586"
EXTRA_TARGETS="$EXTRA_TARGETS,x86_64-suse-linux"
%endif
%if "%{TARGET}" == "hppa"
EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux"
%endif
%if "%{TARGET}" == "arm"
EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
%endif
%if "%{TARGET}" == "aarch64"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
--with-pkgversion="GNU Binutils; %{DIST}" \
--disable-nls \
--build=%{HOST} --target=$TARGET_OS \
%if "%{TARGET}" == "spu"
--with-sysroot=/usr/spu \
%else
--with-sysroot=%{_prefix}/$TARGET_OS/sys-root \
%endif
${EXTRA_TARGETS:+--enable-targets="${EXTRA_TARGETS#,}"}
make %{?_smp_mflags} all-bfd TARGET-bfd=headers
# force reconfiguring
rm bfd/Makefile
make %{?_smp_mflags}
%if "%{TARGET}" == "avr"
# build an extra nesC version because nesC requires $'s in identifiers
cp -a gas gas-nesc
echo '#include "tc-%{TARGET}-nesc.h"' > gas-nesc/targ-cpu.h
make -C gas-nesc clean
make -C gas-nesc %{?_smp_mflags}
%endif
%endif
%check
unset SUSE_ASNEEDED
cd build-dir
%if 0%{?cross:1}
make -k check CFLAGS="-O2 -g" CXXFLAGS="-O2 -g" || %{make_check_handling}
%else
make -k check CFLAGS="$RPM_OPT_FLAGS -Wno-unused -Wno-unprototyped-calls" || :
%endif
%install
cd build-dir
%if 0%{!?cross:1}
# installing native binutils
%ifarch %gold_archs
make DESTDIR=$RPM_BUILD_ROOT install-gold
ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold
%endif
make DESTDIR=$RPM_BUILD_ROOT install-info install
make -C gas/doc DESTDIR=$RPM_BUILD_ROOT install-info-am install-am
make DESTDIR=$RPM_BUILD_ROOT install-bfd install-opcodes
if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then
mv "%buildroot/%_bindir"/{ld,ld.bfd};
else
rm -f "%buildroot/%_bindir/ld";
fi
mkdir -p "%buildroot/%_sysconfdir/alternatives";
ln -s "%_bindir/ld" "%buildroot/%_sysconfdir/alternatives/ld";
ln -s "%_sysconfdir/alternatives/ld" "%buildroot/%_bindir/ld";
rm -rf $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
ln -sf ../../bin/{ar,as,ld,nm,ranlib,strip} $RPM_BUILD_ROOT%{_prefix}/%{HOST}/bin
mv $RPM_BUILD_ROOT%{_prefix}/%{HOST}/lib/ldscripts $RPM_BUILD_ROOT%{_libdir}
ln -sf ../../%{_lib}/ldscripts $RPM_BUILD_ROOT%{_prefix}/%{HOST}/lib/ldscripts
# Install header files
make -C libiberty install_to_libdir target_header_dir=/usr/include DESTDIR=$RPM_BUILD_ROOT
# We want the PIC libiberty.a
install -m 644 libiberty/pic/libiberty.a $RPM_BUILD_ROOT%{_libdir}
#
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libbfd-*
chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
# No shared linking outside binutils
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang
%find_lang gas binutils.lang
%find_lang ld binutils.lang
%find_lang opcodes binutils.lang
%find_lang gprof binutils.lang
%ifarch %gold_archs
%find_lang gold binutils-gold.lang
%endif
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
install -m 644 binutils/NEWS $RPM_BUILD_ROOT%{_docdir}/%{name}/NEWS-binutils
install -m 644 gas/NEWS $RPM_BUILD_ROOT%{_docdir}/%{name}/NEWS-gas
install -m 644 ld/NEWS $RPM_BUILD_ROOT%{_docdir}/%{name}/NEWS-ld
%else
# installing cross-TARGET-binutils and TARGET-binutils
make DESTDIR=$RPM_BUILD_ROOT install
# Replace hard links by symlinks, so that rpmlint doesn't complain
T=$(basename %buildroot/usr/%{TARGET}*)
for f in %buildroot/usr/$T/bin/* ; do
ln -sf /usr/bin/$T-$(basename $f) $f
done
%if "%{TARGET}" == "avr"
install -c gas-nesc/as-new $RPM_BUILD_ROOT%{_prefix}/bin/%{TARGET}-nesc-as
ln -sf ../../bin/%{TARGET}-nesc-as $RPM_BUILD_ROOT%{_prefix}/%{TARGET}/bin/nesc-as
%endif
rm -rf $RPM_BUILD_ROOT%{_mandir}
rm -rf $RPM_BUILD_ROOT%{_infodir}
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib*
rm -rf $RPM_BUILD_ROOT%{_prefix}/include
rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt
> ../binutils.lang
%endif
%if 0%{!?cross:1}
%post
"%_sbindir/update-alternatives" --install \
"%_bindir/ld" ld "%_bindir/ld.bfd" 2
%install_info --info-dir=%{_infodir} %{_infodir}/as.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/gprof.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/ld.info.gz
%post gold
"%_sbindir/update-alternatives" --install \
"%_bindir/ld" ld "%_bindir/ld.gold" 1
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/bfd.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/binutils.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/gprof.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/ld.info.gz
%preun
if [ "$1" = 0 ]; then
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.bfd";
fi;
%preun gold
if [ "$1" = 0 ]; then
"%_sbindir/update-alternatives" --remove ld "%_bindir/ld.gold";
fi;
%endif
%files -f binutils.lang
%defattr(-,root,root)
%if 0%{!?cross:1}
%{_docdir}/%{name}
%{_prefix}/%{HOST}/bin/*
%{_prefix}/%{HOST}/lib/ldscripts
%{_libdir}/ldscripts
%{_bindir}/*
%ghost %_sysconfdir/alternatives/ld
%ifarch %gold_archs
%exclude %{_bindir}/gold
%exclude %{_bindir}/ld.gold
%endif
%doc %{_infodir}/*.gz
%{_libdir}/lib*-%{version}*.so
%doc %{_mandir}/man1/*.1.gz
%else
%{_prefix}/%{TARGET}*
%{_prefix}/bin/*
%endif
%ifarch %gold_archs
%files gold -f binutils-gold.lang
%defattr(-,root,root)
%doc gold/NEWS gold/README
%{_bindir}/gold
%{_bindir}/ld.gold
%endif
%if 0%{!?cross:1}
%files devel
%defattr(-,root,root)
%{_prefix}/include/*.h
%{_libdir}/lib*.*a
%endif
%changelog

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Dec 1 16:33:29 UTC 2014 - matz@suse.de
- Update to current 2.25 pre-release branch, at 127a4644.
- binutils-fix-gold-aarch64.diff: fixing build temporarily broken
on brach.
- Remove obsolete patches: binutils-2.24-branch.diff.gz,
pie-m68k.patch, binutils-2.24-auto-plugin.diff, ld-testsuite.patch,
binutils-2.24-bso16746.diff .
-------------------------------------------------------------------
Fri Oct 31 10:49:03 UTC 2014 - afaerber@suse.de
- Enable Adapteva Epiphany target
-------------------------------------------------------------------
Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com

View File

@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static
%else
BuildRequires: zlib-devel
%endif
Version: 2.24
Version: 2.24.90
Release: 0
#
# RUN_TESTS
@ -85,7 +85,6 @@ Source: binutils-%{binutils_version}.tar.bz2
Source1: pre_checkin.sh
Source2: README.First-for.SuSE.packagers
Source3: baselibs.conf
Patch1: binutils-2.24-branch.diff.gz
Patch3: binutils-skip-rpaths.patch
Patch4: s390-biarch.diff
Patch5: x86-64-biarch.patch
@ -99,10 +98,7 @@ Patch12: s390-pic-dso.diff
Patch14: binutils-build-as-needed.diff
Patch18: gold-depend-on-opcodes.diff
Patch22: binutils-bfd_h.patch
Patch23: pie-m68k.patch
Patch24: binutils-2.24-auto-plugin.diff
Patch25: ld-testsuite.patch
Patch26: binutils-2.24-bso16746.diff
Patch23: binutils-fix-gold-aarch64.diff
Patch90: cross-avr-nesc-as.patch
Patch92: cross-avr-omit_section_dynsym.patch
Patch93: cross-avr-size.patch
@ -158,7 +154,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%setup -q -n binutils-%{binutils_version}
# Patch1 is outside test_vanilla because it's supposed to be the
# patch bringing the tarball to the newest upstream version
%patch1 -p1
#%patch1 -p1
%if !%{test_vanilla}
%patch3
%patch4
@ -173,10 +169,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa
%patch14
%patch18
%patch22
%patch23 -p1
%patch24 -p1
%patch25 -p1
%patch26 -p1
%patch23
%if "%{TARGET}" == "avr"
cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h
%patch90
@ -285,12 +278,16 @@ EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu"
TARGET_OS=%{TARGET}
%else
%if "%{TARGET}" == "epiphany"
TARGET_OS=epiphany-elf
%else
%if "%{TARGET}" == "arm"
TARGET_OS=%{TARGET}-suse-linux-gnueabi
%else
TARGET_OS=%{TARGET}-suse-linux
%endif
%endif
%endif
../configure CFLAGS="${RPM_OPT_FLAGS}" \
--prefix=%{_prefix} \
--with-bugurl=http://bugs.opensuse.org/ \
@ -360,8 +357,8 @@ chmod a+x $RPM_BUILD_ROOT%{_libdir}/libopcodes-*
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.so
rm $RPM_BUILD_ROOT%{_libdir}/lib{bfd,opcodes}.la
# Remove unwanted files to shut up rpm
rm $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
rm -f $RPM_BUILD_ROOT%{_infodir}/configure* $RPM_BUILD_ROOT%{_infodir}/standards.info*
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/dlltool.1 $RPM_BUILD_ROOT%{_mandir}/man1/windres.1 $RPM_BUILD_ROOT%{_mandir}/man1/windmc.1
cd ..
%find_lang binutils
%find_lang bfd binutils.lang

View File

@ -1,8 +1,8 @@
Index: ld/lexsup.c
===================================================================
--- ld/lexsup.c.orig 2012-07-13 15:20:26.000000000 +0200
+++ ld/lexsup.c 2012-09-14 14:00:57.262167402 +0200
@@ -608,6 +608,9 @@ parse_args (unsigned argc, char **argv)
--- ld/lexsup.c.orig 2014-10-14 17:43:07.000000000 +0200
+++ ld/lexsup.c 2014-10-14 17:43:26.000000000 +0200
@@ -623,6 +623,9 @@ parse_args (unsigned argc, char **argv)
}
}
@ -14,9 +14,9 @@ Index: ld/lexsup.c
{
Index: ld/testsuite/config/default.exp
===================================================================
--- ld/testsuite/config/default.exp.orig 2012-03-15 02:57:57.000000000 +0100
+++ ld/testsuite/config/default.exp 2012-09-14 14:00:57.263167402 +0200
@@ -23,7 +23,7 @@
--- ld/testsuite/config/default.exp.orig 2014-10-14 17:43:07.000000000 +0200
+++ ld/testsuite/config/default.exp 2014-10-14 17:44:58.000000000 +0200
@@ -22,7 +22,7 @@
#
if ![info exists ld] then {
@ -25,16 +25,16 @@ Index: ld/testsuite/config/default.exp
}
if ![info exists as] then {
@@ -69,7 +69,7 @@ if {![file isdirectory tmpdir/ld]} then
catch "exec ln -s ../../ld-new tmpdir/ld/ld" status
@@ -60,7 +60,7 @@ if {![file isdirectory tmpdir/ld]} then
catch "exec ln -s ld tmpdir/ld/collect-ld" status
catch "exec ln -s ../../../gas/as-new tmpdir/ld/as" status
}
-set gcc_ld_flag "-B[pwd]/tmpdir/ld/"
+set gcc_ld_flag "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro"
-set gcc_B_opt "-B[pwd]/tmpdir/ld/"
+set gcc_B_opt "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro"
# load the linker path
if {[file exists tmpdir/libpath.exp]} {
@@ -279,7 +279,7 @@ if ![info exists READELFFLAGS] then {
set ld_L_opt ""
@@ -272,7 +272,7 @@ if ![info exists READELFFLAGS] then {
}
if ![info exists LD] then {
@ -45,9 +45,9 @@ Index: ld/testsuite/config/default.exp
if ![info exists LDFLAGS] then {
Index: ld/testsuite/ld-bootstrap/bootstrap.exp
===================================================================
--- ld/testsuite/ld-bootstrap/bootstrap.exp.orig 2011-12-03 18:13:01.000000000 +0100
+++ ld/testsuite/ld-bootstrap/bootstrap.exp 2012-09-14 14:00:57.263167402 +0200
@@ -71,7 +71,12 @@ foreach flags {"" "strip" "--static" "--
--- ld/testsuite/ld-bootstrap/bootstrap.exp.orig 2014-10-14 17:43:07.000000000 +0200
+++ ld/testsuite/ld-bootstrap/bootstrap.exp 2014-10-14 17:43:26.000000000 +0200
@@ -78,7 +78,12 @@ foreach flags $test_flags {
# This test can only be run if we have the ld build directory,
# since we need the object files.

View File

@ -1,33 +0,0 @@
Index: binutils-2.24/ld/testsuite/ld-plugin/lto.exp
===================================================================
--- binutils-2.24.orig/ld/testsuite/ld-plugin/lto.exp
+++ binutils-2.24/ld/testsuite/ld-plugin/lto.exp
@@ -29,8 +29,8 @@ global CFLAGS
global CXXFLAGS
set saved_CFLAGS "$CFLAGS"
set saved_CXXFLAGS "$CXXFLAGS"
-regsub -all "\\-Wp,-D_FORTIFY_SOURCE=\[0-9\]+" $CFLAGS "" CFLAGS
-regsub -all "\\-Wp,-D_FORTIFY_SOURCE=\[0-9\]+" $CXXFLAGS "" CXXFLAGS
+regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CFLAGS "" CFLAGS
+regsub -all "(\\-Wp,)?-D_FORTIFY_SOURCE=\[0-9\]+" $CXXFLAGS "" CXXFLAGS
proc restore_notify { } {
global saved_CFLAGS
@@ -70,7 +70,7 @@ set lto_link_tests {
{lto-6.c} {} "lto-6.exe" "c"}
{"Build libdummy.a 9"
"" "-O2 -finline -flto"
- {lto-9.cc} {} "libdummy.a"}
+ {lto-9.cc} {} "libdummy.a" "c++"}
{"Build libdummy.a 11a"
"" "-O -flto"
{lto-11a.c} {} "libdummy.a"}
@@ -106,7 +106,7 @@ set lto_link_tests {
{lto-15b.c} {} "liblto-15.a"}
{"PR ld/12696"
"-O2 -flto -fuse-linker-plugin -r -nostdlib" "-O2 -flto"
- {pr12696-1.cc} {} "pr12696-1r.o" "c"}
+ {pr12696-1.cc} {} "pr12696-1r.o" "c++"}
{"Build libdummy.a PR ld/12758"
"" ""
{pr12758a.s} {} "libdummy.a"}

View File

@ -1,18 +0,0 @@
2013-10-08 Andreas Schwab <schwab@suse.de>
* elf32-m68k.c (elf_m68k_size_dynamic_sections): Add DT_DEBUG also
for PIE executables.
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index a46efb9..34dc75f 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -3367,7 +3367,7 @@ elf_m68k_size_dynamic_sections (bfd *output_bfd ATTRIBUTE_UNUSED,
#define add_dynamic_entry(TAG, VAL) \
_bfd_elf_add_dynamic_entry (info, TAG, VAL)
- if (!info->shared)
+ if (info->executable)
{
if (!add_dynamic_entry (DT_DEBUG, 0))
return FALSE;

View File

@ -5,7 +5,7 @@
rm -f cross-*-binutils.spec cross-*-binutils.changes
# sh4 is stuck in the testsuite
for arch in aarch64 hppa hppa64 arm i386 x86_64 s390 s390x ppc ppc64 ppc64le ia64 sparc sparc64 spu avr mips m68k; do
for arch in aarch64 hppa hppa64 arm i386 x86_64 s390 s390x ppc ppc64 ppc64le ia64 sparc sparc64 spu avr mips m68k epiphany; do
echo -n "Building package for $arch --> cross-$arch-binutils ..."

View File

@ -1,8 +1,8 @@
Index: ld/ldmain.c
===================================================================
--- ld/ldmain.c.orig
+++ ld/ldmain.c
@@ -279,6 +279,7 @@ main (int argc, char **argv)
--- ld/ldmain.c.orig 2014-10-14 17:52:24.000000000 +0200
+++ ld/ldmain.c 2014-10-14 17:52:24.000000000 +0200
@@ -280,6 +280,7 @@ main (int argc, char **argv)
link_info.combreloc = TRUE;
link_info.strip_discarded = TRUE;
link_info.emit_hash = TRUE;
@ -12,9 +12,9 @@ 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
+++ ld/testsuite/config/default.exp
@@ -23,7 +23,7 @@
--- ld/testsuite/config/default.exp.orig 2014-10-14 17:52:24.000000000 +0200
+++ ld/testsuite/config/default.exp 2014-10-14 17:52:24.000000000 +0200
@@ -22,7 +22,7 @@
#
if ![info exists ld] then {
@ -23,16 +23,16 @@ Index: ld/testsuite/config/default.exp
}
if ![info exists as] then {
@@ -69,7 +69,7 @@ if {![file isdirectory tmpdir/ld]} then
catch "exec ln -s ../../ld-new tmpdir/ld/ld" status
@@ -60,7 +60,7 @@ if {![file isdirectory tmpdir/ld]} then
catch "exec ln -s ld tmpdir/ld/collect-ld" status
catch "exec ln -s ../../../gas/as-new tmpdir/ld/as" status
}
-set gcc_ld_flag "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro"
+set gcc_ld_flag "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro -Wl,--hash-style=sysv"
-set gcc_B_opt "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro"
+set gcc_B_opt "-B[pwd]/tmpdir/ld/ -Wl,-z,norelro -Wl,--hash-style=sysv"
# load the linker path
if {[file exists tmpdir/libpath.exp]} {
@@ -279,7 +279,7 @@ if ![info exists READELFFLAGS] then {
set ld_L_opt ""
@@ -272,7 +272,7 @@ if ![info exists READELFFLAGS] then {
}
if ![info exists LD] then {

View File

@ -1,12 +1,15 @@
Index: ld/emulparams/elf_i386.sh
===================================================================
--- ld/emulparams/elf_i386.sh.orig 2013-09-20 15:29:51.000000000 +0200
+++ ld/emulparams/elf_i386.sh 2013-09-20 15:30:48.000000000 +0200
@@ -20,6 +20,7 @@ case "$target" in
x86_64*-linux* | i[3-7]86*-linux*)
case "$EMULATION_NAME" in
*i386*) LIBPATH_SUFFIX=32 ;;
+ *64*) LIBPATH_SUFFIX=64 ;;
--- ld/emulparams/elf_i386.sh.orig 2014-10-14 17:39:02.000000000 +0200
+++ ld/emulparams/elf_i386.sh 2014-10-14 17:39:44.000000000 +0200
@@ -23,6 +23,10 @@ case "$target" in
LIBPATH_SUFFIX=32
LIBPATH_SUFFIX_SKIP=64
;;
+ *64*)
+ LIBPATH_SUFFIX=64
+ LIBPATH_SUFFIX_SKIP=32
+ ;;
esac
;;
esac