From 097f2bfdebe5dce058dd48c66daa41fe655cec330cb18d7164c28ed0f8275474 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Tue, 4 Nov 2014 16:19:26 +0000 Subject: [PATCH] Accepting request 259148 from home:a_faerber:epiphany Enable the Epiphany target (epiphany-elf), which is needed for the Parallella board. OBS-URL: https://build.opensuse.org/request/show/259148 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=168 --- binutils.changes | 5 + binutils.spec | 4 + cross-aarch64-binutils.spec | 4 + cross-arm-binutils.spec | 4 + cross-avr-binutils.spec | 4 + cross-epiphany-binutils.changes | 2625 +++++++++++++++++++++++++++++++ cross-epiphany-binutils.spec | 472 ++++++ cross-hppa-binutils.spec | 4 + cross-hppa64-binutils.spec | 4 + cross-i386-binutils.spec | 4 + cross-ia64-binutils.spec | 4 + cross-m68k-binutils.spec | 4 + cross-mips-binutils.spec | 4 + cross-ppc-binutils.spec | 4 + cross-ppc64-binutils.spec | 4 + cross-ppc64le-binutils.spec | 4 + cross-s390-binutils.spec | 4 + cross-s390x-binutils.spec | 4 + cross-sparc-binutils.spec | 4 + cross-sparc64-binutils.spec | 4 + cross-spu-binutils.spec | 4 + cross-x86_64-binutils.spec | 4 + pre_checkin.sh | 2 +- 23 files changed, 3179 insertions(+), 1 deletion(-) create mode 100644 cross-epiphany-binutils.changes create mode 100644 cross-epiphany-binutils.spec diff --git a/binutils.changes b/binutils.changes index b46973c..71256fb 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/binutils.spec b/binutils.spec index ba103bd..b48d637 100644 --- a/binutils.spec +++ b/binutils.spec @@ -282,12 +282,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/ \ diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 1479eb8..1ef60ac 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 6be0ea6..384eac2 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 8757de6..226b7c5 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-epiphany-binutils.changes b/cross-epiphany-binutils.changes new file mode 100644 index 0000000..b46973c --- /dev/null +++ b/cross-epiphany-binutils.changes @@ -0,0 +1,2625 @@ +------------------------------------------------------------------- +Tue May 6 14:02:26 UTC 2014 - rguenther@suse.com + +- binutils-2.24-bso16746.diff: Fix bso#16746, spurious warnings + for warn annotated symbols with LTO. + +------------------------------------------------------------------- +Sun Apr 6 18:48:22 UTC 2014 - schwab@linux-m68k.org + +- ld-dtags.diff: update testsuite for --enable-new-dtags default +- ld-testsuite.patch: fix spurious failures in ld-plugin/lto.exp + +------------------------------------------------------------------- +Thu Apr 3 10:56:19 UTC 2014 - rguenther@suse.com + +- binutils-2.24-auto-plugin.diff: Update from git commit that went + to trunk. + +------------------------------------------------------------------- +Wed Mar 26 15:29:34 UTC 2014 - matz@suse.de + +- Update to current 2.24 branch at 25f1c421: + AVX512 fixes, new x86 instructions clflushopt, xsaves, xsavec, xrstors. + aarch64: linker fixes for PLT stubs, correct float const 0.0 parsing, + support ifunc in static links. + Fix ld/16643 (problem with GCed sections). + powerpc64le: fix ld segfault with --emit-relocs. + Fix buffer underrun in x86 disassembler. + Fix merging of skipped weak symbols. [bnc #863764] + +------------------------------------------------------------------- +Mon Mar 24 13:58:29 UTC 2014 - rguenther@suse.com + +- Add binutils-2.24-auto-plugin.diff to make plugin auto-load work + for GCC LTO objects. [bso#14698] + +------------------------------------------------------------------- +Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de + +- Disable --enable-deterministic-archives again, as it breaks + valid Makefiles. + +------------------------------------------------------------------- +Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com + +- cross-avr-size.patch: AVR-style output in avr-size utility + +------------------------------------------------------------------- +Mon Jan 27 05:43:48 UTC 2014 - crrodriguez@opensuse.org + +- build with --enable-deterministic-archives so ar and ranlib + cooperate in the creation of reproducible builds. + +------------------------------------------------------------------- +Mon Dec 9 15:10:27 UTC 2013 - matz@suse.de + +- Update to 2.24 release and to branch at 9177510e: + * Add support for the Texas Instruments MSP430X processor. + * Add support for Altera Nios II. + * Add support for the V850E3V5 architecture. + * Add support for the Imagination Technologies Meta processor. + * --enable-new-dtags no longer generates old dtags in addition to new dtags. + * Remove assembler and linker support for MIPS ECOFF targets. + * Remove assembler support for MIPS ECOFF targets. + * Add ALIGN_WITH_INPUT to the linker script language to force the + alignment of an output section to use the maximum alignment of + all its input sections. + * Add -gdwarf-sections command line option to enable per-code-section + generation of DWARF .debug_line sections. + * Objcopy now supports wildcard characters in command line options that take + section names. + +------------------------------------------------------------------- +Fri Nov 29 14:59:52 UTC 2013 - matz@suse.de + +- Update to 2.23.92 prerelease, mostly for ppc64le support. +- Add cross-ppc64le-binutils. + +------------------------------------------------------------------- +Mon Oct 28 15:53:03 UTC 2013 - schwab@suse.de + +- Add cross-m68k-binutils + +------------------------------------------------------------------- +Wed Oct 9 08:55:16 UTC 2013 - schwab@suse.de + +- pie-m68k.patch: Emit DT_DEBUG also for PIE + +------------------------------------------------------------------- +Fri Sep 20 15:53:55 UTC 2013 - matz@suse.de + +- Update to 2.23.90 prerelease, remove patches that + are upstream ( aarch64-biarch.patch, aarch64-dynamic-placement.patch, + aarch64-execstack.patch, aarch64-gc-section-support.patch, + aarch64-support-1796bf893c4729d5c523502318d72cae78495d6c.diff, + aarch64-support-f426901e1be0f58fe4e9386cada50ca57d0a4f36.diff, + binutils-2.22-objalloc.patch, + binutils-2.23.52.0.1-64-bit-thin-archives.patch, + s390-machinemode.patch, warning-symbol-sections.patch). + +------------------------------------------------------------------- +Sat Aug 31 13:11:36 UTC 2013 - idonmez@suse.com + +- Add binutils-2.23.52.0.1-64-bit-thin-archives.patch to fix thin + archive creation on 64bit systems. This is rh#915411 and should + also fix webkitgtk on s390x. + +------------------------------------------------------------------- +Mon Jul 29 18:13:43 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: correct test in last change + +------------------------------------------------------------------- +Mon Jul 22 07:18:33 UTC 2013 - schwab@suse.de + +- warning-symbol-sections.patch: don't clobber warning sections from + shared libraries + +------------------------------------------------------------------- +Mon Jul 1 08:18:22 UTC 2013 - schwab@suse.de + +- aarch64-dynamic-placement.patch: Correct placement of &_DYNAMIC + +------------------------------------------------------------------- +Wed Jun 26 22:32:43 UTC 2013 - dmueller@suse.com + +- add armv6l to target list + +------------------------------------------------------------------- +Tue Jun 11 14:36:31 UTC 2013 - dmueller@suse.com + +- add aarch64-support-1796bf893c4729d5c523502318d72cae78495d6c.diff +- add aarch64-support-f426901e1be0f58fe4e9386cada50ca57d0a4f36.diff + +------------------------------------------------------------------- +Wed May 15 11:25:50 UTC 2013 - rguenther@suse.com + +- Drop cross-alpha-binutils. Adjust pre-checkin.sh to remove + all cross packages before re-generating them. + +------------------------------------------------------------------- +Tue May 14 15:31:59 UTC 2013 - schwab@suse.de + +- Tell bfd ELF backend that aarch64 defaults to non-exec stack + +------------------------------------------------------------------- +Wed Apr 3 13:08:47 UTC 2013 - rguenther@suse.com + +- Re-instantiate patch to warn about non-PIC code in shared objects + on s390x. + +------------------------------------------------------------------- +Thu Mar 28 12:46:09 UTC 2013 - rguenther@suse.com + +- Update to binutils 2.23.2. + * various bugfixes +- Refresh no longer applying patch. + +------------------------------------------------------------------- +Tue Mar 5 20:05:50 UTC 2013 - schwab@suse.de + +- Add aarch64 support for --gc-sections + (from http://sourceware.org/ml/binutils/2013-02/msg00285.html) + +------------------------------------------------------------------- +Wed Dec 19 10:52:46 UTC 2012 - schwab@suse.de + +- Backport s390 .machinemode pseudo insn + +------------------------------------------------------------------- +Fri Nov 30 12:46:35 UTC 2012 - rguenther@suse.com + +- Revert upstream change to error on bfd.h usage without first + including some config.h + +------------------------------------------------------------------- +Wed Nov 28 10:56:12 UTC 2012 - rguenther@suse.com + +- Change update-alternative priorities to always prefer GNU ld + +------------------------------------------------------------------- +Tue Nov 27 15:30:41 UTC 2012 - jengelh@inai.de + +- Implement update-alternatives service for gold + +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + +------------------------------------------------------------------- +Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de + +- add cross-aarch64-binutils + +------------------------------------------------------------------- +Thu Nov 22 19:38:33 UTC 2012 - jengelh@inai.de + +- Have pre_checkin.sh create cross-sparc64-binutils + +------------------------------------------------------------------- +Wed Oct 24 11:03:16 UTC 2012 - rguenther@suse.com + +- Update to binutils 2.23 branch head. + * Includes binutils 2.23 release. + +------------------------------------------------------------------- +Mon Sep 17 13:57:11 UTC 2012 - rguenther@suse.com + +- Update to binutils 2.23 release candidate. +- Remove no longer applying AVR patch. + +------------------------------------------------------------------- +Fri Sep 7 12:42:18 UTC 2012 - coolo@suse.com + +- add makeinfo as explicit buildrequire + +------------------------------------------------------------------- +Mon Sep 3 09:59:53 UTC 2012 - idonmez@suse.com + +- Enable threaded linking in gold. + +------------------------------------------------------------------- +Mon Sep 3 09:03:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix libiberty integer overflow. [bnc#776968] + +------------------------------------------------------------------- +Thu Jun 21 08:43:29 UTC 2012 - adrian@suse.de + +- fix default elf format for arm cross tools + +------------------------------------------------------------------- +Tue Jun 19 05:09:40 UTC 2012 - factory-maintainer@kulow.org + +- fix stupid typo + +------------------------------------------------------------------- +Mon Jun 18 11:06:01 UTC 2012 - coolo@suse.com + +- the previous fix was not good enough, another iteration of the same + +------------------------------------------------------------------- +Thu Jun 14 11:53:56 UTC 2012 - coolo@suse.com + +- exclude our target arch for cross compiling - this is just not cross + +------------------------------------------------------------------- +Thu Apr 19 11:28:41 UTC 2012 - rguenther@suse.com + +- Consistently use $target-suse-linux triplets. + +------------------------------------------------------------------- +Wed Feb 15 11:32:14 UTC 2012 - rguenther@suse.com + +- Drop the new spec files again, instead move the cross-$arch-binutils + contents to /usr, away from /opt. + +------------------------------------------------------------------- +Tue Feb 14 17:53:08 UTC 2012 - max@suse.com + +- Add spec files that build variants for arm and avr that install + under /usr rather than /opt/cross. +- Add avr-binutils-relocs.patch to fix a crash in avr-ld. + http://sourceware.org/bugzilla/show_bug.cgi?id=12161 + +------------------------------------------------------------------- +Thu Jan 26 10:36:33 UTC 2012 - rguenther@suse.com + +- Fix package licenses to follow SPDX format, adjust to reality. + +------------------------------------------------------------------- +Wed Jan 25 14:12:40 UTC 2012 - rguenther@suse.com + +- Amend patch to fix arm unwind table corruption. [bso#13449] + +------------------------------------------------------------------- +Wed Jan 4 12:31:02 UTC 2012 - rguenther@suse.com + +- Add patch to fix arm unwind table corruption. [bso#13449] +- Canonicalize arm targets. +- Enable gold for arm. + +------------------------------------------------------------------- +Tue Jan 3 14:42:59 UTC 2012 - rguenther@suse.com + +- Add patch to fix build-id issues. [bso#12451] + +------------------------------------------------------------------- +Tue Dec 6 10:48:16 UTC 2011 - rguenther@suse.com + +- Update to final binutils 2.22 release. + +------------------------------------------------------------------- +Wed Nov 2 09:27:38 UTC 2011 - rguenther@suse.com + +- Update to binutils-2_22-branch head. + * Adds support for LDPT_GET_SYMBOLS_V2. + * Drop patches that have been applied upstream. + +------------------------------------------------------------------- +Fri Sep 30 11:25:38 UTC 2011 - tserong@suse.com + +- Fix --gc-sections failure with symbol versioning [bso#13195] + +------------------------------------------------------------------- +Wed Sep 28 13:08:07 UTC 2011 - rguenther@suse.com + +- Update to binutils-2_22-branch head. + * Drop patches that have been applied upstream. + * Drop patches that no longer apply. + +------------------------------------------------------------------- +Thu Sep 22 09:59:07 UTC 2011 - adrian@suse.de + +- use -gnueabi extension to switch to new abi for arm + +------------------------------------------------------------------- +Thu Sep 22 06:54:34 CEST 2011 - dmueller@suse.de + +- Add support for arm-*-gnueabihf targets (PR ld/12643) + +------------------------------------------------------------------- +Wed Sep 21 21:44:12 UTC 2011 - adrian@suse.de + +- add arm targets + +------------------------------------------------------------------- +Tue Aug 23 11:39:25 UTC 2011 - rguenther@novell.com + +- Fix XLC object linker complaints. [bnc#713504] + +------------------------------------------------------------------- +Sun Aug 21 14:14:41 UTC 2011 - aj@suse.de + +- Make --no-copy-dt-needed-entries the default for ld. + +------------------------------------------------------------------- +Tue Jul 12 08:54:56 UTC 2011 - rguenther@novell.com + +- Add patch for bogus executable stack setting with -flto. [bso#12982] + +------------------------------------------------------------------- +Mon Jul 11 08:42:13 UTC 2011 - rguenther@novell.com + +- BuildRequire glibc-devel-static to fix static linking tests. + +------------------------------------------------------------------- +Tue Jul 5 12:42:10 UTC 2011 - saschpe@suse.de + +- Add patch to fix a readelf endless loop bug. [bso#12855] + +------------------------------------------------------------------- +Tue Jun 28 08:12:12 UTC 2011 - rguenther@novell.com + +- Update to binutils 2.21.1 release. + * Add --interleave-width option to objcopy to allowing copying a range + of bytes from the input to the output with the --interleave option. + * Add support for the TMS320C6000 (TI C6X) processor family. + * Readelf can now display ARM unwind tables (.ARM.exidx / .ARM.extab) + using the -u / --unwind option. + * Add --dyn-syms to readelf to dump dynamic symbol table. + * A new tool - elfedit - has been added to directly manipulate ELF + format binaries. + * Add to dlltool .def file feature of aliasing PE internal symbol name + by '== ' option. + * Add a new command line option -a / --addresses to addr2line to display + the address before function name or source filename. + * Add a new command line option -p / --pretty-print to addr2line to have + a more human readable output. + * The hppa/som targets can now be compiled on any host. +- Add dependency to opcodes from gold. + +------------------------------------------------------------------- +Fri Jun 17 15:23:21 CEST 2011 - matz@suse.de + +- Add support for x86_64-pep target [needed for Xen fate #311376] + +------------------------------------------------------------------- +Thu Jun 9 14:20:07 UTC 2011 - matz@novell.com + +- Add patch to support AMD Bulldozer v2 [fate #312149] + +------------------------------------------------------------------- +Tue Jun 7 11:03:12 UTC 2011 - rguenther@novell.com + +- Update to binutils-2_21-branch head. [bnc#698346] + +------------------------------------------------------------------- +Fri May 27 13:46:53 UTC 2011 - rguenther@novell.com + +- Disable cross-sh4-binutils. + +------------------------------------------------------------------- +Wed May 4 08:47:15 UTC 2011 - rguenther@novell.com + +- Update to binutils-2_21-branch head. [bnc#691290] + +------------------------------------------------------------------- +Tue Apr 19 12:43:11 UTC 2011 - rguenther@novell.com + +- Update to binutils-2_21-branch head. [fate#311554] [fate#311972] + +------------------------------------------------------------------- +Mon Jan 10 16:51:10 UTC 2011 - rguenther@novell.com + +- Update to binutils 2.21. + * linker plugin support + * AMD Bulldozer enablement +- Disable package fail when testsuite failures occur for now + because of gold (testsuite) issues. + +------------------------------------------------------------------- +Tue Jul 27 11:43:24 UTC 2010 - rguenther@novell.com + +- drop cross-avr-binutils + +------------------------------------------------------------------- +Tue Jul 27 11:23:20 UTC 2010 - coolo@novell.com + +- split the gold build into 2 make steps to avoid random + build failures (ugly work around in fact) + +------------------------------------------------------------------- +Thu Jul 8 05:28:53 UTC 2010 - jengelh@medozas.de + +- Default to creating ELF64 objects under sparc64 + +------------------------------------------------------------------- +Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de + +- use %_smp_mflags + +------------------------------------------------------------------- +Mon Apr 12 13:34:27 CEST 2010 - matz@suse.de + +- Initialize memory for MALLOC_PERTURB on ppc. [PR gas/11486] + + Rewrite history by including this: + Wed Mar 24 17:23:32 CET 2010 - matz@suse.de + + - Fix testcase breaking with MALLOC_PERTURB. [bnc #590820] + + Sat Feb 13 17:52:11 CET 2010 - rguenther@suse.de + + - Drop build counter from the libbfd and libopcode SONAMEs. + + Fri Jan 22 15:31:06 CET 2010 - matz@suse.de + + - Update to current binutils-2_20-branch. [bnc #561142, #573019] + + Wed Jan 13 15:16:44 CET 2010 - matz@novell.com + + - Fix removal of unwanted files (man,info,libiberty) on the + cross binutils. + + Sat Dec 12 19:09:40 CET 2009 - jengelh@medozas.de + + - add baselibs.conf as a source + + Mon Dec 7 16:14:27 CET 2009 - jengelh@medozas.de + + - SPARC build support for binutils + + Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + + - Copy from SLE11 SP1. Compared to that add --as-needed by default + patch again. + + Mon Oct 19 11:15:51 CEST 2009 - rguenther@suse.de + + - Update to binutils 2.20 snapshot. + * disable patches that no longer apply + * disable make check handling everywhere + +------------------------------------------------------------------- +Fri Apr 9 14:42:48 CEST 2010 - matz@suse.de + +- Fix encoding of LWP instructions, and get rid of 16bit forms. + +------------------------------------------------------------------- +Fri Feb 12 16:46:42 CET 2010 - matz@suse.de + +- Add more aliases for VPCOM* instructions, xsave64, xrstor64, + and vpermil2p (XOP support). + +------------------------------------------------------------------- +Tue Feb 9 13:46:35 CET 2010 - matz@suse.de + +- Add support for AMD XOP instructions. [bnc #578249] + +------------------------------------------------------------------- +Fri Jan 22 15:40:21 CET 2010 - matz@suse.de + +- Update to current binutils-2_20-branch. [bnc #561142, #573019] + +------------------------------------------------------------------- +Wed Nov 4 15:44:30 CET 2009 - matz@suse.de + +- Update to binutils 2.20 branch, remove patches that went upstream. + Don't activate --as-needed by default for SLE11 SP1. + [fate #306880, #307034] + [bnc #546106, #483978] + +------------------------------------------------------------------- +Mon Oct 12 15:11:44 CEST 2009 - rguenther@suse.de + +- enable gold plugins, fix build on older distros. + +------------------------------------------------------------------- +Wed Oct 7 13:09:04 UTC 2009 - coolo@novell.com + +- obsolete binutils-32bit, it can't be left around + +------------------------------------------------------------------- +Mon Aug 24 16:53:13 CEST 2009 - rguenther@suse.de + +- disable gold build before openSUSE 11.0. + +------------------------------------------------------------------- +Thu Aug 20 11:20:43 CEST 2009 - rguenther@suse.de + +- add patch to drop .gnu.lto_* sections + +------------------------------------------------------------------- +Fri Jun 12 18:18:21 CEST 2009 - coolo@novell.com + +- follow only SUSE_ASNEEDED + +------------------------------------------------------------------- +Tue Jun 9 14:48:40 CEST 2009 - matz@suse.de + +- Use --as-needed by default in the build system. + +------------------------------------------------------------------- +Wed May 27 17:12:55 CEST 2009 - rguenther@suse.de + +- Update to head of trunk. +- Add patch to fix gold build with glibc 2.10, gcc 4.4. + +------------------------------------------------------------------- +Fri Mar 27 14:39:32 CET 2009 - rguenther@suse.de + +- Update to head of trunk. +- Add zlib-devel-static BuildRequires to fix testsuite. +- Package gold locales. + +------------------------------------------------------------------- +Mon Feb 16 11:50:04 CET 2009 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Mon Feb 16 11:33:53 CET 2009 - rguenther@suse.de + +- Update to 2.19.51 snapshot. Fixes build with GCC 4.4. + +------------------------------------------------------------------- +Tue Jan 27 17:51:43 CET 2009 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Thu Jan 22 14:20:16 CET 2009 - schwab@suse.de + +- Adjust list of extra targets. + +------------------------------------------------------------------- +Mon Jan 19 18:19:30 CET 2009 - schwab@suse.de + +- Update to head of trunk. +- Add gold. + +------------------------------------------------------------------- +Thu Jan 15 16:42:33 CET 2009 - schwab@suse.de + +- Use consistent label names. + +------------------------------------------------------------------- +Thu Jan 15 08:01:02 CET 2009 - olh@suse.de + +- remove Requires: binutils-XXbit in binutils-devel-XXbit package + +------------------------------------------------------------------- +Fri Jan 9 14:42:24 CET 2009 - schwab@suse.de + +- Fix last change. + +------------------------------------------------------------------- +Fri Jan 9 12:44:44 CET 2009 - olh@suse.de + +- build binutils and binutils-devel -XXbit packages (bnc#445037) + +------------------------------------------------------------------- +Wed Dec 10 12:34:56 CET 2008 - olh@suse.de + +- use Obsoletes: -XXbit only for ppc64 to help solver during distupgrade + (bnc#437293) + +------------------------------------------------------------------- +Thu Dec 4 17:34:07 CET 2008 - schwab@suse.de + +- Update symbol visibility checks during linking on s390. + +------------------------------------------------------------------- +Wed Dec 3 13:13:25 CET 2008 - schwab@suse.de + +- Fix corner case during link relaxing. + +------------------------------------------------------------------- +Thu Nov 27 16:55:54 CET 2008 - schwab@suse.de + +- Fix disassembler bug. +- Help some devel users. + +------------------------------------------------------------------- +Fri Nov 21 15:03:27 CET 2008 - schwab@suse.de + +- Import bugfixes from 2.19 branch. + +------------------------------------------------------------------- +Wed Nov 19 17:50:52 CET 2008 - schwab@suse.de + +- Fix handling of DW_CFA_advance_loc* in the assembler. + +------------------------------------------------------------------- +Mon Nov 10 15:29:56 CET 2008 - schwab@suse.de + +- Update last change. + +------------------------------------------------------------------- +Fri Nov 7 11:41:37 CET 2008 - schwab@suse.de + +- Fix crash in strip. + +------------------------------------------------------------------- +Thu Nov 6 11:16:14 CET 2008 - rguenther@suse.de + +- build cross-spu-binutils with a /usr/spu sysroot + +------------------------------------------------------------------- +Thu Oct 30 12:34:56 CET 2008 - olh@suse.de + +- obsolete old -XXbit packages (bnc#437293) + +------------------------------------------------------------------- +Mon Oct 20 13:21:04 CEST 2008 - schwab@suse.de + +- Update to binutils 2.19. + * Added -wL switch to dump decoded contents of .debug_line. + * Added support for "thin" archives which contain pathnames pointing to + object files rather than the files themselves and which contain a + flattened symbol index for all objects, and archives, which have been + added to the archive. + * Added -F switch to objdump to include file offsets in the disassembly. + * Added -c switch to readelf to allow string dumps of archive symbol index. + * Support for SSE5 has been added to the i386 port. + * Added -p switch to readelf to allow string dumps of sections. + * New pseudo op .cfi_val_encoded_addr, to record constant addresses in unwind + tables without runtime relocation. + * New command line option, -h-tick-hex, for sh, m32c, and h8/300 targets, which + adds compatibility with H'00 style hex constants. + * New command line option, -msse-check=[none|error|warning], for x86 + targets. + * New sub-option added to the assembler's -a command line switch to + generate a listing output. The 'g' sub-option will insert into the listing + various information about the assembly, such as assembler version, the + command line options used, and a time stamp. + * New command line option -msse2avx for x86 target to encode SSE + instructions with VEX prefix. + * Add Intel XSAVE, EPT, MOVBE, AES, PCLMUL, AVX/FMA support for x86 target. + * New command line options, -march=CPU[,+EXTENSION...], -mtune=CPU, + -mmnemonic=[att|intel], -msyntax=[att|intel], -mindex-reg, + -mnaked-reg and -mold-gcc, for x86 targets. + * Support for generating wide character strings has been added via the new + pseudo ops: .string16, .string32 and .string64. + * Support for SSE5 has been added to the i386 port. + * Linker scripts support a new INSERT command that makes it easier to + augment the default script. + * Linker script input section filespecs may now specify a file within an + archive by writing "archive:file". + * The --sort-common switch now has an optional argument which specifies the + direction of sorting. + * The M68K linker now supports multiple GOT generation schemes controlled via + the --got= command line option. + * The ARM EABI linker will now generate stubs for function calls to symbols + that are too far away. The placement of the stubs is controlled by a new + linker command line option: --stub-group-size=N. + +------------------------------------------------------------------- +Thu Oct 9 11:18:47 CEST 2008 - schwab@suse.de + +- Bug fixes. + +------------------------------------------------------------------- +Tue Oct 7 17:35:29 CEST 2008 - jblunck@suse.de + +- bfd-assign_file_positions_for_load_sections-STRIP_NONDEBUG-fix.diff: + Do not only look at the first section in a segment to decide if it has + contents or not. This fixes the "section ... can't be allocated in segment" + errors when using objcopy --only-keep-debug to create the *.debug files. + +------------------------------------------------------------------- +Wed Sep 17 13:22:44 CEST 2008 - schwab@suse.de + +- Update to binutils 2.18.91 snapshot. + +------------------------------------------------------------------- +Fri Sep 12 12:00:03 CEST 2008 - schwab@suse.de + +- Update to head of 2.19 branch. + +------------------------------------------------------------------- +Thu Sep 4 11:00:48 CEST 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Fri Aug 8 11:09:38 CEST 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Fri Jul 18 15:08:23 CEST 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Sun Jul 13 16:57:36 CEST 2008 - olh@suse.de + +- enable targets i386-macos10, powerpc-macos, powerpc-macos10, + spu-elf unconditionally in binutils + +------------------------------------------------------------------- +Fri Jul 11 12:02:45 CEST 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Wed Jun 18 16:07:36 CEST 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Wed Apr 9 16:24:43 CEST 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Tue Mar 25 10:12:29 CET 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Fri Mar 7 11:25:29 CET 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Mon Feb 25 14:21:11 CET 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Fri Feb 15 13:58:17 CET 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Sun Feb 10 09:46:31 CET 2008 - schwab@suse.de + +- Allow R_S390_PC32DBL against protected function symbols. + +------------------------------------------------------------------- +Fri Feb 1 13:14:45 CET 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Fri Jan 25 15:52:43 CET 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Thu Jan 17 16:31:57 CET 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Thu Jan 10 11:01:46 CET 2008 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Mon Nov 12 16:21:08 CET 2007 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Tue Oct 2 12:55:06 CEST 2007 - schwab@suse.de + +- Update to head of trunk. +- Add hppa64 target. + +------------------------------------------------------------------- +Mon Sep 3 15:51:39 CEST 2007 - schwab@suse.de + +- Add fix for PR4888. + +------------------------------------------------------------------- +Thu Jul 26 12:24:59 CEST 2007 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Fri Jul 13 11:28:31 CEST 2007 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Fri Jun 29 14:34:18 CEST 2007 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Fri Jun 22 11:48:38 CEST 2007 - schwab@suse.de + +- Update to head of trunk. +- Drop Bdirect patches. + +------------------------------------------------------------------- +Mon Jun 11 15:57:58 CEST 2007 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Sat Jun 2 21:35:09 CEST 2007 - schwab@suse.de + +- Allow only static linking of lib{bfd,opcodes} outside binutils. + +------------------------------------------------------------------- +Tue May 15 12:42:02 CEST 2007 - schwab@suse.de + +- Update to head of trunk. + +------------------------------------------------------------------- +Fri May 4 11:27:27 CEST 2007 - schwab@suse.de + +- Update to binutils CVS HEAD. +- Remove obsolete obsoletes. + +------------------------------------------------------------------- +Mon Apr 23 14:55:49 CEST 2007 - olh@suse.de + +- Fix POWER6 floating point disassembling [#266874] + +------------------------------------------------------------------- +Thu Apr 12 22:08:48 CEST 2007 - schwab@suse.de + +- Build cross tools with sysroot. + +------------------------------------------------------------------- +Thu Apr 5 10:45:44 CEST 2007 - schwab@suse.de + +- Update to binutils CVS HEAD. +- Add spu to the list of cross targets. + +------------------------------------------------------------------- +Mon Mar 26 15:45:04 CEST 2007 - rguenther@suse.de + +- Add bison and flex BuildRequires. + +------------------------------------------------------------------- +Wed Mar 21 11:37:06 CET 2007 - schwab@suse.de + +- Update to binutils CVS HEAD. + +------------------------------------------------------------------- +Fri Mar 16 19:36:12 CET 2007 - schwab@suse.de + +- Update to binutils CVS HEAD. + +------------------------------------------------------------------- +Sun Feb 25 10:37:56 CET 2007 - schwab@suse.de + +- Add mips to the list of extra targets. + +------------------------------------------------------------------- +Tue Feb 20 16:37:22 CET 2007 - schwab@suse.de + +- Avoid build failure with interface change. + +------------------------------------------------------------------- +Mon Feb 19 16:30:51 CET 2007 - schwab@suse.de + +- Update to binutils CVS HEAD. + +------------------------------------------------------------------- +Tue Feb 6 16:42:43 CET 2007 - rguenther@suse.de + +- Add sh4 to the list of cross targets. + +------------------------------------------------------------------- +Fri Feb 2 22:09:16 CET 2007 - schwab@suse.de + +- Switch to hashtype=both by default. + +------------------------------------------------------------------- +Mon Jan 29 20:50:48 CET 2007 - schwab@suse.de + +- Update to binutils CVS HEAD. + +------------------------------------------------------------------- +Wed Jan 24 19:39:20 CET 2007 - jw@suse.de + +- fixed memory corruption in ld -m avr2 --oformat ihex a + sourceware bugzilla#3874 + +------------------------------------------------------------------- +Tue Jan 23 11:46:28 CET 2007 - schwab@suse.de + +- Update to binutils CVS HEAD. + +------------------------------------------------------------------- +Mon Jan 15 23:36:27 CET 2007 - jw@suse.de + +- bin/avr-nesc-as symlinked as avr/bin/nesc-as + +------------------------------------------------------------------- +Fri Jan 12 01:11:51 CET 2007 - jw@suse.de + +- Added avr-nesc-as support (rschiele@gmail.com) + +------------------------------------------------------------------- +Mon Jan 8 14:53:45 CET 2007 - schwab@suse.de + +- Update to binutils 2.17.50.0.9. + 1. Update from binutils 2007 0103. + 2. Fix --wrap linker bug. + 3. Improve handling ELF binaries generated by foreign ELF linkers. + 4. Various ELF M68K bug fixes. + 5. Score bug fixes. + 6. Don't read past end of archive elements. PR 3704. + 7. Improve .eh_frame_hdr section handling. + 8. Fix symbol visibility with comdat/linkonce sections in ELF linker. + PR 3666. + 9. Fix 4 operand instruction handling in x86 assembler. + 10. Properly check the 4th operand in x86 assembler. PR 3712. + 11. Fix .cfi_endproc handling in assembler. PR 3607. + 12. Various ARM bug fixes. + 13. Various PE linker fixes. + 14. Improve x86 dissassembler for cmpxchg8b. +- Split off binutils-devel. + +------------------------------------------------------------------- +Mon Dec 4 14:09:23 CET 2006 - schwab@suse.de + +- Update to binutils 2.17.50.0.8. + 1. Update from binutils 2006 1201. + 2. Fix "objcopy --only-keep-debug" crash. PR 3609. + 3. Fix various ARM ELF bugs. + 4. Fix various xtensa bugs. + 5. Update x86 disassembler. + +------------------------------------------------------------------- +Mon Oct 16 19:24:08 CEST 2006 - schwab@suse.de + +- Fix overflow in addend_compare [#209807]. + +------------------------------------------------------------------- +Fri Oct 13 13:46:42 CEST 2006 - schwab@suse.de + +- Update last change. + +------------------------------------------------------------------- +Tue Oct 10 13:36:32 CEST 2006 - schwab@suse.de + +- Fix invalid debug info. + +------------------------------------------------------------------- +Fri Oct 6 18:50:43 CEST 2006 - aj@suse.de + +- Improve last patch. + +------------------------------------------------------------------- +Fri Oct 6 15:52:28 CEST 2006 - aj@suse.de + +- Fix PR210331 (wrong size of empty loadable sections). + +------------------------------------------------------------------- +Thu Sep 28 10:56:02 CEST 2006 - schwab@suse.de + +- Update to binutils 2.17.50.0.5. + 1. Update from binutils 2006 0927. + 2. Fix linker regressions of section address and section relative symbol + with empty output section. PR 3223/3267. + 3. Fix "strings -T". PR 3257. + 4. Fix "objcopy --only-keep-debug". PR 3262. + 5. Add Intell iwmmxt2 support. + 6. Fix an x86 disassembler bug. PR 3100. + +------------------------------------------------------------------- +Wed Sep 27 16:19:16 CEST 2006 - schwab@suse.de + +- Fix uninitialized memory. + +------------------------------------------------------------------- +Mon Sep 25 11:35:32 CEST 2006 - schwab@suse.de + +- Update to binutils 2.17.50.0.4. + 1. Update from binutils 2006 0924. + 2. Speed up linker on .o files with debug info on linkonce sections. + PR 3111. + 3. Added x86-64 PE support. + 4. Fix objcopy/strip on .o files with section groups. PR 3181. + 5. Fix "ld --hash-style=gnu" crash with gcc 3.4.6. PR 3197. + 6. Fix "strip --strip-debug" on .o files generated with + "gcc -feliminate-dwarf2-dups". PR 3186. + 7. Fix "ld -r" on .o files generated with "gcc -feliminate-dwarf2-dups". + PR 3249. + 8. Add --dynamic-list to linker to make global symbols dynamic. + 9. Fix magic number for EFI ia64. PR 3171. + 10. Remove PT_NULL segment for "ld -z relro". PR 3015. + 11. Make objcopy to perserve the file formats in archive elements. + PR 3110. + 12. Optimize x86-64 assembler and fix disassembler for + "add32 mov xx,$eax". PR 3235. + 13. Improve linker diagnostics. PR 3107. + 14. Fix "ld --sort-section name". PR 3009. + 15. Updated an x86 disassembler bug. PR 3000. + 16. Various updates for PPC, ARM, MIPS, SH, Xtensa. + 17. Added Score support. + +------------------------------------------------------------------- +Thu Sep 21 12:43:26 CEST 2006 - schwab@suse.de + +- Add support for --dynamic-list. + +------------------------------------------------------------------- +Wed Aug 9 13:05:01 CEST 2006 - schwab@suse.de + +- Enable -zrelro by default. + +------------------------------------------------------------------- +Wed Jul 26 17:53:23 CEST 2006 - schwab@suse.de + +- Fix bad gp value [#190362]. + +------------------------------------------------------------------- +Mon Jul 17 10:48:04 CEST 2006 - schwab@suse.de + +- Update to binutils 2.17.50.0.3. + 1. Update from binutils 2006 0715. + 2. Add --hash-style to ELF linker with DT_GNU_HASH and SHT_GNU_HASH. + 3. Fix a visibility bug in ELF linker (PR 2884). + 4. Properly fix the i386 TLS linker bug (PR 2513). + 5. Add assembler and dissassembler support for Pentium Pro nops. + 6. Optimize x86 nops for Pentium Pro and above. + 7. Add -march=/-mtune= to x86 assembler. + 8. Fix an ELF linker with TLS common symbols. + 9. Improve program header allocation in ELF linker. + 10. Improve MIPS, M68K and ARM support. + 11. Fix an ELF linker crash when reporting alignment change (PR 2735). + 12. Remove unused ELF section symbols (PR 2723). + 13. Add --localize-hidden to objcopy. + 14. Add AMD SSE4a and ABM new instruction support. + 15. Properly handle illegal x86 instructions in group 11 (PR 2829). + 16. Add "-z max-page-size=" and "-z common-page-size=" to ELF linker. + 17. Fix objcopy for .tbss sections. + +------------------------------------------------------------------- +Tue Jun 13 17:14:41 CEST 2006 - schwab@suse.de + +- Handle hash resizing during as-needed processing. + +------------------------------------------------------------------- +Fri Jun 9 15:27:49 CEST 2006 - schwab@suse.de + +- Disable hash resizing. + +------------------------------------------------------------------- +Sat Jun 3 09:49:27 CEST 2006 - schwab@suse.de + +- Fix DT_NEEDED search with --as-needed libraries. +- Fix bfd_hash_lookup. + +------------------------------------------------------------------- +Fri May 26 21:38:06 CEST 2006 - schwab@suse.de + +- Update to binutils 2.17.50.0.2. + +------------------------------------------------------------------- +Mon May 15 13:20:56 CEST 2006 - schwab@suse.de + +- Update to binutils 2.17.50.0.1. + +------------------------------------------------------------------- +Mon May 8 15:21:55 CEST 2006 - hare@suse.de + +- Fix invalid exeception on S/390 when calling res_init() + [#172700 - LTC23600] + +------------------------------------------------------------------- +Fri May 5 16:32:26 CEST 2006 - schwab@suse.de + +- Fix huge link times [#167593]. + +------------------------------------------------------------------- +Tue Apr 11 11:44:13 CEST 2006 - schwab@suse.de + +- PR ld/2442: fix quadratic behaviour with many relocations [#157119]. +- PR ld/2513: fix invalid TLS reloc merging [#162901]. + +------------------------------------------------------------------- +Mon Apr 3 13:07:29 CEST 2006 - schwab@suse.de + +- Add various bug fix backports collected by Alan Modra. Fixes the + following binutils bugs: + * PR ld/2443 + * PR ld/2462 + * PR ld/2267 + * incompatibilities between REL{32,24,14} + * ld -r on ppc64 + * -msecure-plt vs TLS + +------------------------------------------------------------------- +Fri Mar 31 16:10:44 CEST 2006 - schwab@suse.de + +- Fix build race. + +------------------------------------------------------------------- +Fri Mar 31 15:49:12 CEST 2006 - matz@suse.de + +- Also disallow linking non-PIC .o files into shared libraries on + s390x. + +------------------------------------------------------------------- +Fri Mar 31 15:33:39 CEST 2006 - schwab@suse.de + +- Fix bfd_find_nearest_line so that gcc -frepo works again. + +------------------------------------------------------------------- +Wed Feb 15 17:06:44 CET 2006 - matz@suse.de + +- Update -Bdirect and -zdynsort patches. + +------------------------------------------------------------------- +Mon Feb 6 19:19:23 CET 2006 - matz@suse.de + +- Adjust testsuite for s390 -march=z900 default. +- Disallow linking non-PIC .o files into shared libraries on s390. + +------------------------------------------------------------------- +Wed Jan 25 21:30:00 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Jan 18 18:26:59 CET 2006 - matz@suse.de + +- Add large model patch. + +------------------------------------------------------------------- +Tue Jan 17 01:33:51 CET 2006 - schwab@suse.de + +- Add patch to fix --gc-sections on ppc64. +- Fix side effect of --enable-targets=arm. + +------------------------------------------------------------------- +Wed Jan 11 12:12:30 CET 2006 - schwab@suse.de + +- Update to binutils 2.16.91.0.5. + +------------------------------------------------------------------- +Tue Jan 10 11:06:32 CET 2006 - rguenther@suse.de + +- Don't error out for testsuite failures on hppa. + +------------------------------------------------------------------- +Tue Jan 3 10:04:06 CET 2006 - dmueller@suse.de + +- Don't create empty rpath components when stripping + +------------------------------------------------------------------- +Wed Dec 7 18:35:28 CET 2005 - schwab@suse.de + +- Fix handling of SHF_LINK_ORDER links for objcopy. + +------------------------------------------------------------------- +Wed Dec 7 15:46:47 CET 2005 - coolo@suse.de + +- New -Bdirect patch. + +------------------------------------------------------------------- +Fri Dec 2 15:52:28 CET 2005 - schwab@suse.de + +- Add experimental -Bdirect patch. + +------------------------------------------------------------------- +Thu Nov 24 11:48:11 CET 2005 - schwab@suse.de + +- Fix aliasing warning. + +------------------------------------------------------------------- +Sun Nov 13 20:27:57 CET 2005 - schwab@suse.de + +- Update to binutils 2.16.91.0.4. + +------------------------------------------------------------------- +Wed Nov 9 14:48:41 CET 2005 - schwab@suse.de + +- Fixes from CVS: + * Don't strip local absolute symbols from linker output. + * Allow equating local symbols to undefined symbols. + +------------------------------------------------------------------- +Fri Nov 4 17:16:58 CET 2005 - schwab@suse.de + +- Fix more warnings. + +------------------------------------------------------------------- +Wed Nov 2 13:26:25 CET 2005 - schwab@suse.de + +- Fix warnings. + +------------------------------------------------------------------- +Thu Oct 27 13:12:06 CEST 2005 - aj@suse.de + +- Spell fix. + +------------------------------------------------------------------- +Wed Sep 28 17:13:27 CEST 2005 - schwab@suse.de + +- Add target i386-pe on ix86 and x86_64. + +------------------------------------------------------------------- +Fri Sep 16 17:10:52 CEST 2005 - schwab@suse.de + +- Update to binutils 2.16.91.0.3. + +------------------------------------------------------------------- +Thu Sep 1 14:05:00 CEST 2005 - schwab@suse.de + +- Fix objdump -adjust-vma on non-relocatable object [#114666]. + +------------------------------------------------------------------- +Wed Aug 10 13:37:20 CEST 2005 - schwab@suse.de + +- Replace last change by a simpler fix. + +------------------------------------------------------------------- +Sat Aug 6 15:00:51 CEST 2005 - schwab@suse.de + +- Add hook for resetting GP after each relaxing pass. + +------------------------------------------------------------------- +Fri Aug 5 10:51:30 CEST 2005 - matz@suse.de + +- Fix alpha again. + +------------------------------------------------------------------- +Wed Aug 3 16:00:40 CEST 2005 - schwab@suse.de + +- Don't warn on overflow in the assembler if emitting a reloc on ppc + [#100189]. +- Fix handling of discarded linkonce sections [#84608]. + +------------------------------------------------------------------- +Tue Aug 2 15:27:47 CEST 2005 - schwab@suse.de + +- Avoid generating R_IA64_NONE. + +------------------------------------------------------------------- +Tue Aug 2 12:58:30 CEST 2005 - uli@suse.de + +- disabled make check on ARM (one test fills up the hard disk; + not a QEMU problem, happens on real hardware, too) + +------------------------------------------------------------------- +Mon Jul 25 14:29:41 CEST 2005 - schwab@suse.de + +- Fix syntax error in libtool library files [#98185]. + +------------------------------------------------------------------- +Thu Jul 21 22:35:11 CEST 2005 - schwab@suse.de + +- Update to binutils 2.16.91.0.2. + +------------------------------------------------------------------- +Thu Jun 23 13:26:37 CEST 2005 - schwab@suse.de + +- Update to binutils 2.16.91.0.1. + +------------------------------------------------------------------- +Wed Jun 22 10:05:27 CEST 2005 - schwab@suse.de + +- Add patch to properly handle indirect symbols. + +------------------------------------------------------------------- +Fri May 20 11:48:01 CEST 2005 - schwab@suse.de + +- Fix ld testsuite. + +------------------------------------------------------------------- +Tue May 17 22:12:33 CEST 2005 - schwab@suse.de + +- Fix overflows in BFD library [#81821]. + +------------------------------------------------------------------- +Wed May 11 10:47:00 CEST 2005 - schwab@suse.de + +- Update to binutils 2.16.90.0.3. +- Build with -Wno-error in beta. + +------------------------------------------------------------------- +Sat May 7 23:34:32 CEST 2005 - schwab@suse.de + +- Add patch to properly put unwind sections into section groups. +- Fix avr assembler. + +------------------------------------------------------------------- +Sat May 7 20:37:24 CEST 2005 - matz@suse.de + +- added alpha cross target. + +------------------------------------------------------------------- +Tue May 3 21:08:16 CEST 2005 - jw@suse.de + +- added target avr. + +------------------------------------------------------------------- +Sun May 1 12:29:44 CEST 2005 - schwab@suse.de + +- Update to binutils 2.16.90.0.2. + +------------------------------------------------------------------- +Thu Apr 28 13:51:22 CEST 2005 - schwab@suse.de + +- Update patch for last change. + +------------------------------------------------------------------- +Mon Apr 25 10:01:33 CEST 2005 - matz@suse.de + +- Fix breakage on alpha + +------------------------------------------------------------------- +Wed Apr 20 13:01:06 CEST 2005 - bg@suse.de + +- remove additional target hppa64 +- remove obsolete hppa patch +- enable tests + +------------------------------------------------------------------- +Sun Apr 17 23:45:12 CEST 2005 - schwab@suse.de + +- Accept empty symbol names. +- Fix bugs related to section groups. + +------------------------------------------------------------------- +Wed Apr 13 16:38:52 CEST 2005 - schwab@suse.de + +- Fix mips assembler. + +------------------------------------------------------------------- +Mon Apr 11 20:41:38 CEST 2005 - schwab@suse.de + +- Add patch to fix AS_NEEDED. + +------------------------------------------------------------------- +Sun Apr 10 22:02:45 CEST 2005 - schwab@suse.de + +- Update to binutils 2.16.90.0.1. + +------------------------------------------------------------------- +Wed Apr 6 18:15:54 CEST 2005 - schwab@suse.de + +- Cleanup neededforbuild. +- Fix compilation with gcc4. + +------------------------------------------------------------------- +Wed Apr 6 06:52:20 CEST 2005 - meissner@suse.de + +- Added gettext-devel to neededforbuild. + +------------------------------------------------------------------- +Wed Apr 6 00:12:43 CEST 2005 - schwab@suse.de + +- Revert last change (don't disable parallel build). + +------------------------------------------------------------------- +Tue Apr 5 23:03:47 CEST 2005 - meissner@suse.de + +- Added gettext-devel to neededforbuild. + +------------------------------------------------------------------- +Wed Mar 30 13:50:59 CEST 2005 - schwab@suse.de + +- Support AS_NEEDED in linker script. + +------------------------------------------------------------------- +Fri Feb 18 11:30:31 CET 2005 - schwab@suse.de + +- Update to binutils 2.15.94.0.2.2. + +------------------------------------------------------------------- +Thu Feb 3 18:41:14 CET 2005 - schwab@suse.de + +- Fix ld testsuite for gcc4. + +------------------------------------------------------------------- +Mon Jan 31 00:56:51 CET 2005 - schwab@suse.de + +- Add patch to properly handle protected functions for ia32 and x86_64. + +------------------------------------------------------------------- +Thu Jan 20 02:11:31 CET 2005 - schwab@suse.de + +- Fix last change. + +------------------------------------------------------------------- +Wed Jan 19 20:52:29 CET 2005 - schwab@suse.de + +- Handle biarch targets also for cross binutils. + +------------------------------------------------------------------- +Sat Jan 8 21:42:54 CET 2005 - schwab@suse.de + +- Update to binutils 2.15.94.0.2. +- Enable more targets. + +------------------------------------------------------------------- +Tue Nov 23 13:27:34 CET 2004 - schwab@suse.de + +- Update to binutils 2.15.94.0.1. + +------------------------------------------------------------------- +Thu Oct 14 02:59:16 CEST 2004 - schwab@suse.de + +- Remove broken check. + +------------------------------------------------------------------- +Wed Oct 13 14:08:46 CEST 2004 - schwab@suse.de + +- Fix ppc asm operand parsing. + +------------------------------------------------------------------- +Fri Oct 8 15:25:40 CEST 2004 - schwab@suse.de + +- Update to binutils 2.15.92.0.2. + +------------------------------------------------------------------- +Thu Sep 9 22:22:46 CEST 2004 - schwab@suse.de + +- Fix last change. + +------------------------------------------------------------------- +Thu Sep 2 17:36:46 CEST 2004 - schwab@suse.de + +- Fix relro alignment. + +------------------------------------------------------------------- +Sat Aug 21 19:47:27 CEST 2004 - coolo@suse.de + +- also build cross binutils for ppc64 + +------------------------------------------------------------------- +Fri Aug 6 16:17:54 CEST 2004 - schwab@suse.de + +- Fix crash in ld [#43550]. + +------------------------------------------------------------------- +Wed Aug 4 17:17:40 CEST 2004 - schwab@suse.de + +- Add patch for PR binutils/290. + +------------------------------------------------------------------- +Sun Aug 1 14:39:04 CEST 2004 - schwab@suse.de + +- Make error about relocs against discarded sections non-fatal for now. + +------------------------------------------------------------------- +Wed Jul 28 22:04:22 CEST 2004 - schwab@suse.de + +- Update to binutils 2.15.91.0.2. + +------------------------------------------------------------------- +Sat Jun 5 01:26:59 CEST 2004 - schwab@suse.de + +- Update to binutils 2.15.91.0.1. + +------------------------------------------------------------------- +Tue May 4 09:50:23 CEST 2004 - coolo@suse.de + +- created cross-*-binutils in the same directory reusing create-cross.sh + as pre_checkin.sh + +------------------------------------------------------------------- +Fri Apr 16 08:09:43 CEST 2004 - aj@suse.de + +- Fix some offset expressions. + +------------------------------------------------------------------- +Thu Apr 15 20:07:08 CEST 2004 - aj@suse.de + +- Update to binutils 2.15.90.0.3. + +------------------------------------------------------------------- +Wed Apr 14 09:23:08 CEST 2004 - aj@suse.de + +- Update to binutils 2.15.90.0.2. + +------------------------------------------------------------------- +Fri Mar 26 12:25:38 CET 2004 - meissner@suse.de + +- Added ppc64 patch to drop excess symbols in shared libraries. + +------------------------------------------------------------------- +Tue Mar 23 13:43:53 CET 2004 - schwab@suse.de + +- Fix --wrap on PPC64 [#34903]. + +------------------------------------------------------------------- +Tue Mar 16 16:17:36 CET 2004 - mludvig@suse.cz + +- Added support for VIA PadLock. +- Merged obsolete fix-clflush.patch into opcode-i386.diff + +------------------------------------------------------------------- +Fri Mar 12 10:20:18 CET 2004 - aj@suse.de + +- Fix sysenter. +- Fix x86 clflush disassembly. + +------------------------------------------------------------------- +Wed Mar 10 13:16:57 CET 2004 - schwab@suse.de + +- Fix a possible race in the PLT. + +------------------------------------------------------------------- +Mon Mar 8 19:55:36 CET 2004 - aj@suse.de + +- Fix cfi testsuite on s390x. + +------------------------------------------------------------------- +Mon Mar 8 16:19:38 CET 2004 - hare@suse.de + +- Enable s390 biarch backend. +- Fix Invalid .insn from gas on s390. + +------------------------------------------------------------------- +Mon Mar 8 10:11:11 CET 2004 - aj@suse.de + +- Fix fde alignment. + +------------------------------------------------------------------- +Sat Mar 6 07:42:23 CET 2004 - aj@suse.de + +- Update to binutils-2.15.90.0.1.1 which incorporates the last two + changes. + +------------------------------------------------------------------- +Fri Mar 5 11:56:08 CET 2004 - schwab@suse.de + +- Fix align handling. + +------------------------------------------------------------------- +Thu Mar 4 18:48:23 CET 2004 - aj@suse.de + +- Install as manpage. + +------------------------------------------------------------------- +Thu Mar 4 06:35:51 CET 2004 - aj@suse.de + +- Update to binutils-2.15.90.0.1. + +------------------------------------------------------------------- +Fri Feb 27 13:42:36 CET 2004 - schwab@suse.de + +- Support POSIX-compatible argument parsing in ar [#33775]. +- Fix textrel patch. + +------------------------------------------------------------------- +Thu Feb 26 15:37:22 CET 2004 - schwab@suse.de + +- Fix spurious DT_TEXTREL. + +------------------------------------------------------------------- +Wed Feb 25 09:11:33 CET 2004 - matz@suse.de + +- Enable new dtags by default. + +------------------------------------------------------------------- +Fri Feb 13 12:40:15 CET 2004 - hare@suse.de + +- Fix memcmp bug in gas/dwarf2dbg.c + +------------------------------------------------------------------- +Thu Feb 12 08:14:30 CET 2004 - bg@suse.de + +- Workaround for ICE in elf32_hppa_relocate_section. + +------------------------------------------------------------------- +Thu Jan 15 14:02:08 CET 2004 - aj@suse.de + +- Fix common page size on ppc. +- Update to binutils 2.14.90.0.8. + +------------------------------------------------------------------- +Mon Jan 12 08:14:24 CET 2004 - aj@suse.de + +- Fix PPC64 TLS bug. + +------------------------------------------------------------------- +Fri Dec 12 23:17:58 CET 2003 - schwab@suse.de + +- Fix file list. + +------------------------------------------------------------------- +Tue Dec 2 16:34:40 CET 2003 - schwab@suse.de + +- Fix last change for ia64. + +------------------------------------------------------------------- +Mon Nov 24 18:13:54 CET 2003 - aj@suse.de + +- Fix handling of '/' in gas on x86 platforms. + +------------------------------------------------------------------- +Thu Oct 30 06:23:28 CET 2003 - aj@suse.de + +- Update to binutils 2.14.90.0.7: + 1. Update from binutils 2003 1029. + 2. Allow type changes for undefined symbols. + 3. Fix EH frame optimization. + 4. Fix the check for undefined versioned symbol with wildcard. + 5. Support generating code for Itanium. + 6. Detect and warn bad symbol index. + 7. Update IPF assemebler DV check. + +------------------------------------------------------------------- +Fri Oct 17 22:48:27 CEST 2003 - schwab@suse.de + +- Update dv warning patch once more. +- Disable -Wunused during testsuite. + +------------------------------------------------------------------- +Fri Oct 17 12:15:22 CEST 2003 - schwab@suse.de + +- Update dv warning patch. + +------------------------------------------------------------------- +Wed Oct 15 15:38:54 CEST 2003 - aj@suse.de + +- Build as non-root user. + +------------------------------------------------------------------- +Fri Oct 3 13:18:19 CEST 2003 - kukuk@suse.de + +- Remove tetex from neededforbuild + +------------------------------------------------------------------- +Wed Oct 1 15:44:01 CEST 2003 - schwab@suse.de + +- Fix spurious dv conflict warning. +- Don't ignore testsuite failures on ia64. + +------------------------------------------------------------------- +Fri Sep 26 15:56:12 CEST 2003 - aj@suse.de + +- Update to binutils-2.14.90.0.6. + +------------------------------------------------------------------- +Fri Aug 29 11:41:46 CEST 2003 - aj@suse.de + +- Add patch to speed up linker. + +------------------------------------------------------------------- +Tue Aug 19 10:31:43 CEST 2003 - aj@suse.de + +- disable unit-at-a-time for some tests so that they pass (otherwise + some sections are reordered). + +------------------------------------------------------------------- +Fri Aug 8 19:52:50 CEST 2003 - schwab@suse.de + +- Fix generation of efi-app binaries. + +------------------------------------------------------------------- +Tue Jul 29 13:22:40 CEST 2003 - meissner@suse.de + +- Fix ppc64 bitmask detection (from current CVS). + +------------------------------------------------------------------- +Fri Jul 25 17:07:18 CEST 2003 - schwab@suse.de + +- Readd workaround for missing DESTDIR support. + +------------------------------------------------------------------- +Thu Jul 24 12:05:59 CEST 2003 - aj@suse.de + +- Update to binutils 2.14.90.0.5. + +------------------------------------------------------------------- +Wed Jul 16 15:01:59 CEST 2003 - mludvig@suse.cz + +- Reverted Alan Modra's patch for .debug_line generation. + http://sources.redhat.com/ml/binutils/2003-07/msg00294.html + +------------------------------------------------------------------- +Fri Jul 4 07:17:27 CEST 2003 - olh@suse.de + +- update to binutils-2.14.90.0.4-cvs20030704.diff.bz2 + +------------------------------------------------------------------- +Wed Jul 2 12:59:30 CEST 2003 - olh@suse.de + +- add binutils-ppc64-mminimal-toc.patch + --disable-nls in cross-binutils, remove man and info to + avoid file conflicts with multiple cross-binutils packages + +------------------------------------------------------------------- +Wed Jul 2 08:45:19 CEST 2003 - aj@suse.de + +- Support z990 instructions. + +------------------------------------------------------------------- +Mon Jun 30 07:30:02 CEST 2003 - olh@suse.de + +- add binutils_x86_64_bfd_c90.patch + +------------------------------------------------------------------- +Fri Jun 27 17:04:18 CEST 2003 - olh@suse.de + +- update to binutils-2.14.90.0.4-cvs20030627.diff.bz2 + use DESTDIR + +------------------------------------------------------------------- +Tue Jun 24 07:54:01 CEST 2003 - coolo@suse.de + +- ignore rpaths only for > 8.2 + +------------------------------------------------------------------- +Mon Jun 23 12:42:43 CEST 2003 - coolo@suse.de + +- removed %ifarch mips + +------------------------------------------------------------------- +Wed Jun 18 21:06:52 CEST 2003 - aj@suse.de + +- Fix CFI alignment bugs. + +------------------------------------------------------------------- +Wed Jun 18 09:01:07 CEST 2003 - olh@suse.de + +- update to binutils-2.14.90.0.4-cvs20030618.diff.bz2 +- provide an option to test a vanilla binutils release, + provide an option to not apply patches that break the testsuite + +------------------------------------------------------------------- +Tue Jun 17 09:18:43 CEST 2003 - coolo@suse.de + +- apply the cvs diff on all architectures and sort out the other + patches +- use %find_lang +- apply objcopy.c patch to add --only-keep-debug option to strip + and objcopy + +------------------------------------------------------------------- +Fri Jun 13 08:10:01 CEST 2003 - olh@suse.de + +- use binutils-2.14.90.0.4-cvs20030613.diff.bz2 on ppc/ppc64 + to remove the -mminimal-toc requirement on ppc64 + +------------------------------------------------------------------- +Thu Jun 12 14:03:50 CEST 2003 - aj@suse.de + +- Fix directory file list. + +------------------------------------------------------------------- +Thu Jun 5 11:04:04 CEST 2003 - ro@suse.de + +- fix dangling ldscripts symlink for lib64 platforms + +------------------------------------------------------------------- +Thu Jun 5 09:56:58 CEST 2003 - aj@suse.de + +- Fix typo in CFI calculation. +- Make .eh_frame section read-only. +- Add more CFI directives. + +------------------------------------------------------------------- +Thu Jun 5 08:30:12 CEST 2003 - coolo@suse.de + +- integrating patch to ignore rpaths listed in a file specified + by $SUSE_IGNORED_RPATHS (supposed to be set to /etc/ld.so.conf) + +------------------------------------------------------------------- +Mon Jun 2 16:13:36 CEST 2003 - aj@suse.de + +- Fix addend relocation with CFI. + +------------------------------------------------------------------- +Sat May 31 21:49:33 CEST 2003 - aj@suse.de + +- Handle GOT with more than 8191 entries corect on PowerPC. +- Fix dwarf2 CFI bugs. + +------------------------------------------------------------------- +Fri May 30 13:19:13 CEST 2003 - aj@suse.de + +- Update to binutils 2.14.90.0.4. +- Improve cfi support. + +------------------------------------------------------------------- +Wed May 21 09:45:36 CEST 2003 - aj@suse.de + +- Fix cfi build problems on ia64 and add latest revision of patch. + +------------------------------------------------------------------- +Tue May 20 15:10:19 CEST 2003 - aj@suse.de + +- Fix elf visibility problem. +- Add cfi directives. + +------------------------------------------------------------------- +Sat May 17 11:52:31 CEST 2003 - aj@suse.de + +- Update to binutils 2.14.90.0.2. + +------------------------------------------------------------------- +Thu May 15 13:44:59 CEST 2003 - aj@suse.de + +- Allow testsuite to fail on sparc. + +------------------------------------------------------------------- +Wed May 14 22:43:19 CEST 2003 - schwab@suse.de + +- Workaround lack of DESTDIR support. +- Make sure libbfd is installed before libopcodes. + +------------------------------------------------------------------- +Wed May 14 16:13:43 CEST 2003 - aj@suse.de + +- Link libopcodes against libbfd. +- Fix package list. + +------------------------------------------------------------------- +Mon May 12 17:29:55 CEST 2003 - aj@suse.de + +- Fix bugs and testsuite on s390. + +------------------------------------------------------------------- +Wed May 7 09:28:28 CEST 2003 - aj@suse.de + +- Fix bugs in creation of large files. + +------------------------------------------------------------------- +Tue May 6 08:26:21 CEST 2003 - aj@suse.de + +- Update to version 2.14.90.0.1. + +------------------------------------------------------------------- +Mon Apr 28 23:05:08 CEST 2003 - schwab@suse.de + +- Update ia64 relaxation bug fix. + +------------------------------------------------------------------- +Fri Apr 25 17:16:57 CEST 2003 - aj@suse.de + +- Fix ia64 relaxation bugs. + +------------------------------------------------------------------- +Thu Apr 24 19:11:20 CEST 2003 - olh@suse.de + +- add binutils-2.13-ppc32-ld-symbol-version.patch + add binutils-2.13-ppc32-fPIC.patch + fail to link shared libs compiled without -fPIC + run make check with -k after this change + +------------------------------------------------------------------- +Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de + +- fix install_info --delete call and move from preun to postun + +------------------------------------------------------------------- +Tue Apr 8 10:06:59 CEST 2003 - adrian@suse.de + +- fix build for mips + +------------------------------------------------------------------- +Sat Mar 22 15:38:36 CET 2003 - aj@suse.de + +- Update to 2.13.0.90.20. + +------------------------------------------------------------------- +Wed Mar 19 10:22:19 CET 2003 - aj@suse.de + +- Do not depend on binutils installation. + +------------------------------------------------------------------- +Wed Mar 19 08:48:02 CET 2003 - aj@suse.de + +- Fix crash in ld with overly long command lines (#23743). + +------------------------------------------------------------------- +Thu Feb 27 14:37:15 CET 2003 - aj@suse.de + +- Package all libiberty include files. + +------------------------------------------------------------------- +Wed Feb 19 17:00:07 CET 2003 - stepan@suse.de + +- add create-cross.sh to easily create cross-binutils packages. + +------------------------------------------------------------------- +Tue Feb 18 12:23:41 CET 2003 - aj@suse.de + +- Run testsuite. + +------------------------------------------------------------------- +Fri Feb 14 07:34:52 CET 2003 - aj@suse.de + +- Fix symbol relocations with versioning. + +------------------------------------------------------------------- +Mon Feb 10 09:10:12 CET 2003 - aj@suse.de + +- Fix real.plt on s390. + +------------------------------------------------------------------- +Fri Feb 7 10:03:11 CET 2003 - aj@suse.de + +- Fix dwarf2 filenames. + +------------------------------------------------------------------- +Thu Feb 6 17:13:05 CET 2003 - aj@suse.de + +- Fix frame header sign extension bug (#23318) +- Fix library path for 64-bit platforms +- Fix x86-64 disassembler. + +------------------------------------------------------------------- +Thu Feb 6 14:25:21 CET 2003 - stepan@suse.de + +- Add alpha TLS patch + +------------------------------------------------------------------- +Sat Feb 1 12:36:50 CET 2003 - aj@suse.de + +- Add sparc TLS patch. + +------------------------------------------------------------------- +Sat Jan 25 21:45:26 CET 2003 - aj@suse.de + +- Update to binutils 2.13.90.0.18 which includes: + * Fix some ia64 gas bugs. + * Fix TLS bugs. + * Fix ELF/ppc bugs. + +------------------------------------------------------------------- +Tue Jan 14 18:28:58 CET 2003 - bg@suse.de + +- add hppa relocation patch from "John David Anglin" + + +------------------------------------------------------------------- +Sat Dec 14 13:28:40 CET 2002 - adrian@suse.de + +- add additional mips64 target on mips +- use mips patches which came with the tar ball on mips +- disable "make check" on mips for now + +------------------------------------------------------------------- +Fri Dec 6 17:19:03 CET 2002 - schwab@suse.de + +- Update to binutils 2.13.90.0.16. + +------------------------------------------------------------------- +Wed Dec 4 12:26:40 CET 2002 - olh@suse.de + +- add ppc64-binutils-ld-makecheck.diff, enable make check on ppc64 + +------------------------------------------------------------------- +Sat Nov 23 14:10:57 CET 2002 - olh@suse.de + +- add ppc64-binutils-ld-no256mbsegments.diff + revert the binutils change that moved text and data into separate + 256M address ranges, at least until the glibc dynamic loader + can handle such binaries gracefully. + +------------------------------------------------------------------- +Tue Nov 5 15:10:21 CET 2002 - bg@suse.de + +- Enable hppa build +- Add support for hppa64 + +------------------------------------------------------------------- +Thu Oct 24 08:21:16 CEST 2002 - aj@suse.de + +- Fix allocation of orphaned sections to aviod problems with strip. +- Fix another problem on alpha with orphaned sections. + +------------------------------------------------------------------- +Tue Oct 15 16:34:44 CEST 2002 - aj@suse.de + +- Install libiberty.h [Fixes #20941]. + +------------------------------------------------------------------- +Mon Oct 14 10:51:17 CEST 2002 - aj@suse.de + +- Update to binutils-2.13.90.0.10. + +------------------------------------------------------------------- +Tue Oct 1 09:17:02 CEST 2002 - aj@suse.de + +- Update to binutils-2.13.90.0.5. +- Add tls support for x86-64. +- Fix tls support for i386. + +------------------------------------------------------------------- +Mon Sep 16 16:52:08 CEST 2002 - schwab@suse.de + +- Enable use of brl for out of range branch fixup. + +------------------------------------------------------------------- +Sun Sep 1 10:58:27 CEST 2002 - aj@suse.de + +- Fix LIB_PATH for x86_64. + +------------------------------------------------------------------- +Fri Aug 30 21:04:01 CEST 2002 - bk@suse.de + +- enable s390 as additional target on s390x +- fix LIB_PATH for elf_s390 emulation to not use lib64 paths +- fix LIB_PATH for elf64_s390 to include /usr/local/lib64 and /lib64 +- delete -fsigned-char for binutils on s390/s390x + +------------------------------------------------------------------- +Tue Aug 27 14:46:14 CEST 2002 - aj@suse.de + +- Fix x86-64 gotpcrel generation. +- Add fix for bugs in gas on i386 where GOT references where + miscompiled and fix problem with absolute section. +- Fix reference counting on various platforms. +- Fix counting of definitions in shared objects + +------------------------------------------------------------------- +Fri Jul 19 12:57:07 CEST 2002 - schwab@suse.de + +- Update to binutils 2.12.90.0.15. + +------------------------------------------------------------------- +Sat Jul 13 18:51:24 CEST 2002 - schwab@suse.de + +- Add fix for ia64 indirect call encoding bug. + +------------------------------------------------------------------- +Thu Jul 11 10:24:41 CEST 2002 - aj@suse.de + +- Fix generation of nops for x86-64. + +------------------------------------------------------------------- +Wed Jul 10 09:02:57 CEST 2002 - aj@suse.de + +- Fix -ffunction sections. + +------------------------------------------------------------------- +Tue Jul 9 19:08:51 CEST 2002 - olh@suse.de + +- add patches for gas biarch support on ppc + binutils-2.12.90.0.14-cvs.diff 20020709 + binutils_ppc_biarch_gas.diff + binutils_ppc_biarch_gas_weaksym.diff + +------------------------------------------------------------------- +Fri Jul 5 11:04:48 CEST 2002 - kukuk@suse.de + +- Use %ix86 macro + +------------------------------------------------------------------- +Wed Jul 3 20:21:22 CEST 2002 - aj@suse.de + +- Update to binutils 2.12.90.0.14. +- Remove patches that have been integrated. + +------------------------------------------------------------------- +Tue Jul 2 19:28:43 CEST 2002 - bk@suse.de + +- add fixes for s390(x) - should make this version work for s390. + +------------------------------------------------------------------- +Wed Jun 26 09:10:38 CEST 2002 - aj@suse.de + +- Do not discard empty sections (otherwise the kernel build will + break). + +------------------------------------------------------------------- +Thu Jun 20 21:57:05 CEST 2002 - adrian@suse.de + +- Update to binutils 2.12.90.0.12. + * Update from binutils 2002 0618. + * Fix an mips assembler bug. +- remove s390-testsuite.patch, it is inside 2.12.90.0.12 now + +------------------------------------------------------------------- +Mon Jun 17 16:26:14 CEST 2002 - aj@suse.de + +- Abort with error message if shared libs are build without -fPIC + on x86-64 (in cases where this can be detected). +- Remove ld -Y patch. + +------------------------------------------------------------------- +Fri Jun 14 22:50:11 CEST 2002 - olh@suse.de + +- use _target_cpu in diff packagelist + +------------------------------------------------------------------- +Wed Jun 12 08:50:16 CEST 2002 - aj@suse.de + +- Update to binutils 2.12.90.0.11. +- Better handle ld -Y with multilibs. +- Do not link 32-bit and 64-bit objects togethers when searching libs + via ld.so.conf. +- Add x86-64 as target for i386. + +------------------------------------------------------------------- +Fri May 31 10:38:01 CEST 2002 - olh@suse.de + +- update cvs patch to 20020531, obsolets ppc64_binutils.diff + disable make check on ppc64 + +------------------------------------------------------------------- +Thu May 30 20:06:10 CEST 2002 - olh@suse.de + +- add binutils_x86_64_testsuite.diff, selective[1245] xfail on x86-64 + +------------------------------------------------------------------- +Wed May 29 10:40:31 CEST 2002 - olh@suse.de + +- add ppc64_binutils.diff, for libtool + nm -B output, use D instead of ? for function descriptors + +------------------------------------------------------------------- +Mon May 27 10:55:20 CEST 2002 - olh@suse.de + +- update cvs patch to 20020527 + +------------------------------------------------------------------- +Thu May 23 10:28:30 CEST 2002 - olh@suse.de + +- add cvs 20020523 diff for ppc/ppc64 + put readelf manpage in filelist + +------------------------------------------------------------------- +Sun May 19 13:21:38 CEST 2002 - olh@suse.de + +- handle elf64 (powerpc64-suse-linux) on ppc32 + +------------------------------------------------------------------- +Fri May 17 21:22:21 CEST 2002 - adrian@suse.de + +- fix build for s390x and mips + (added pic config file) +- do not ignore return value of "make check" on mips anymore + +------------------------------------------------------------------- +Fri May 17 18:20:08 CEST 2002 - schwab@suse.de + +- Add gprof docs. +- Add message catalogues. + +------------------------------------------------------------------- +Fri May 17 11:50:36 CEST 2002 - uli@suse.de + +- added gprof to file list + +------------------------------------------------------------------- +Mon May 13 18:59:34 CEST 2002 - schwab@suse.de + +- Add PIC configuration for x86-64. + +------------------------------------------------------------------- +Mon May 13 09:22:41 CEST 2002 - olh@suse.de + +- update to 2.12.90.0.7 + +------------------------------------------------------------------- +Sun May 12 19:48:50 CEST 2002 - schwab@suse.de + +- Install the PIC libiberty.a. + +------------------------------------------------------------------- +Fri May 10 11:53:33 CEST 2002 - meissner@suse.de + +- x86-64 relocation conversion should not just convert to + 64bit relocations since we sometimes do have 32bit ones. + (Patch from Andreas Schwab.) + +------------------------------------------------------------------- +Tue Apr 23 10:38:38 CEST 2002 - aj@suse.de + +- Fix a bug with --eh-frame-hdr that occured on sparc. + +------------------------------------------------------------------- +Mon Apr 22 10:16:30 CEST 2002 - aj@suse.de + +- Fix testsuite for alpha and s390. +- Fix --eh-frame-hdr. +- Update x86-64 assembler patch. + +------------------------------------------------------------------- +Sat Apr 20 22:34:23 CEST 2002 - schwab@suse.de + +- Fix pcrel handling in x86-64 assembler. + +------------------------------------------------------------------- +Wed Apr 17 13:06:40 CEST 2002 - aj@suse.de + +- Fix merging of s390 sections. + +------------------------------------------------------------------- +Mon Apr 15 11:37:32 CEST 2002 - aj@suse.de + +- Fix PPC linker bug. + +------------------------------------------------------------------- +Fri Apr 12 12:52:35 CEST 2002 - aj@suse.de + +- Update to binutils-2.12.90.0.4: + * Contains x86-64 fix + * Fixes S390 ld failure + * Fixes for sparc + +------------------------------------------------------------------- +Mon Apr 8 12:02:29 CEST 2002 - aj@suse.de + +- Add fix for pcrel relocations for x86-64. + +------------------------------------------------------------------- +Tue Apr 2 10:57:07 CEST 2002 - aj@suse.de + +- Change platforms where testsuite is run. + +------------------------------------------------------------------- +Mon Mar 25 11:01:58 CET 2002 - schwab@suse.de + +- Update to binutils-2.12.90.0.3. + +------------------------------------------------------------------- +Sun Mar 10 18:10:07 CET 2002 - schwab@suse.de + +- Update to binutils-2.12.90.0.1. +- gprof now supported on MIPS. + +------------------------------------------------------------------- +Thu Feb 28 14:24:42 CET 2002 - stepan@suse.de + +- add data segment alignment patches. + +------------------------------------------------------------------- +Mon Feb 25 15:59:10 CET 2002 - schwab@suse.de + +- Add fix for elf64-ia64 linker scripts. + +------------------------------------------------------------------- +Mon Feb 18 20:12:11 CET 2002 - schwab@suse.de + +- Fix broken patch. + +------------------------------------------------------------------- +Mon Feb 18 16:35:20 CET 2002 - aj@suse.de + +- Update to binutils-2.11.93.0.2. + +------------------------------------------------------------------- +Thu Feb 14 11:21:28 CET 2002 - aj@suse.de + +- Fix bug in handling of version maps by ld. This is needed for + GCC 3.1. + +------------------------------------------------------------------- +Mon Nov 26 08:37:33 CET 2001 - aj@suse.de + +- gprof is not supported on MIPS, don't try to package it. + +------------------------------------------------------------------- +Thu Nov 15 14:08:39 CET 2001 - adrian@suse.de + +- ignore known problem on mips in testsuite +- disable combreloc patch for mips + +------------------------------------------------------------------- +Wed Nov 14 12:33:14 CET 2001 - ro@suse.de + +- added include file symcat.h to filelist + +------------------------------------------------------------------- +Mon Nov 12 13:25:10 CET 2001 - aj@suse.de + +- Update to binutils-2.11.92.0.10. + +------------------------------------------------------------------- +Sun Sep 30 19:58:17 CEST 2001 - schwab@suse.de + +- Update to binutils 2.11.90.0.31. +- Add support for @iplt and .data16 on ia64. + +------------------------------------------------------------------- +Mon Sep 3 09:45:11 CEST 2001 - aj@suse.de + +- Fix relative relocations on Alpha. + +------------------------------------------------------------------- +Thu Aug 30 09:38:44 CEST 2001 - aj@suse.de + +- Update to binutils 2.11.90.0.29. It includes support for 64-bit + PowerPC. + +------------------------------------------------------------------- +Mon Aug 27 13:45:25 MEST 2001 - aj@suse.de + +- Update to current CVS version and include patch to always enable + sorting of relocations. Together with the new glibc this reduces + relocation processing at program startup significantly. + +------------------------------------------------------------------- +Wed Aug 22 14:13:14 MEST 2001 - aj@suse.de + +- Use AltiVec/PPC patch. +- Revert objdump patch that causes sparc kernel build failure. +- Add missing s390 jump instructions. +- Fix bug with unaligned accesses in the sparc assembler. + +------------------------------------------------------------------- +Fri Aug 17 19:52:32 MEST 2001 - egger@suse.de + +- Added patch for missing AltiVec/PPC opcodes. + +------------------------------------------------------------------- +Mon Aug 16 09:40:05 MEST 2001 - aj@suse.de + +- Update to 2.11.90.0.27, fix s390 relocation generation. + +------------------------------------------------------------------- +Tue Jul 17 13:16:25 CEST 2001 - aj@suse.de + +- Update to binutils 2.11.90.0.24. + +------------------------------------------------------------------- +Wed Jul 11 10:10:59 CEST 2001 - aj@suse.de + +- Update to binutils 2.11.90.0.23. + +------------------------------------------------------------------- +Wed Jun 13 10:49:07 MEST 2001 - aj@suse.de + +- Run testsuite on s390. + +------------------------------------------------------------------- +Tue Jun 12 09:57:59 CEST 2001 - aj@suse.de + +- Update to binutils 2.11.90.0.15. + +------------------------------------------------------------------- +Mon May 14 09:43:37 CEST 2001 - aj@suse.de + +- Update to binutils 2.11.90.0.8. + +------------------------------------------------------------------- +Mon May 7 14:54:33 CEST 2001 - aj@suse.de + +- Update to latest version. + +------------------------------------------------------------------- +Thu Mar 29 08:33:46 CEST 2001 - aj@suse.de + +- Fix a relaxation bug on ia32 that occurs while building GCC. + +------------------------------------------------------------------- +Tue Mar 27 11:54:09 CEST 2001 - aj@suse.de + +- Test for alpha instead of axp. + +------------------------------------------------------------------- +Mon Mar 26 18:27:12 CEST 2001 - aj@suse.de + +- Add patch for S390 to fix relocs. + +------------------------------------------------------------------- +Mon Mar 26 09:58:15 CEST 2001 - aj@suse.de + +- The testsuite is broken on axp, disable it. + +------------------------------------------------------------------- +Thu Mar 8 11:17:22 CET 2001 - aj@suse.de + +- Use separate build directory, don't run testsuite on sparc. + +------------------------------------------------------------------- +Mon Mar 5 11:59:42 CET 2001 - aj@suse.de + +- Update to 2.10.91.0.4. + +------------------------------------------------------------------- +Thu Feb 22 14:32:36 CET 2001 - aj@suse.de + +- Run the testsuite on some platforms. + +------------------------------------------------------------------- +Tue Feb 20 09:48:19 CET 2001 - aj@suse.de + +- Add sparc fix for weak symbols. + +------------------------------------------------------------------- +Mon Feb 19 15:25:26 CET 2001 - aj@suse.de + +- Update to 2.10.91.0.2. + +------------------------------------------------------------------- +Thu Nov 16 12:02:19 CET 2000 - aj@suse.de + +- Added an alpha patch to fix glibc problems. + +------------------------------------------------------------------- +Mon Oct 23 11:16:02 CEST 2000 - aj@suse.de + +- Update to 2.10.0.33. +- Remove PPC patch since it's solved better in .33. + +------------------------------------------------------------------- +Sun Oct 15 14:56:09 CEST 2000 - kukuk@suse.de + +- Update to binutils 2.10.0.31 +- Port s390 patches +- Add PPC patch to fix glibc 2.2 problems + +------------------------------------------------------------------- +Thu Sep 14 11:56:12 CEST 2000 - kukuk@suse.de + +- Use macros in spec file + +------------------------------------------------------------------- +Tue Aug 29 12:30:48 CEST 2000 - aj@suse.de + +- New version 2.10.0.24 with additional s390 patches. + +------------------------------------------------------------------- +Mon Apr 17 01:20:20 CEST 2000 - ro@suse.de + +- added alpha3.dif to fix another problem with compaq compilers + +------------------------------------------------------------------- +Sat Mar 18 12:35:56 CET 2000 - aj@suse.de + +- Fix problems with Compaq compiler, see: + http://sourceware.cygnus.com/ml/binutils/2000-03/msg00226.html + http://sourceware.cygnus.com/ml/binutils/2000-03/msg00160.html + +------------------------------------------------------------------- +Mon Mar 13 22:44:35 CET 2000 - aj@suse.de + +- Added readelf to file list. + +------------------------------------------------------------------- +Mon Feb 28 17:31:41 CET 2000 - ro@suse.de + +- fix HOST macro +- added alpha fix from Andrea + +------------------------------------------------------------------- +Thu Jan 20 10:55:37 CET 2000 - aj@suse.de + +- New version 2.9.5.0.24. + +------------------------------------------------------------------- +Thu Dec 9 18:10:28 CET 1999 - ro@suse.de + +- leave targets for now + +------------------------------------------------------------------- +Wed Dec 8 19:49:15 CET 1999 - kasal@suse.de + +- added buildroot + (it required a patch to target ld/Makefile.am, target install-data-local) + +------------------------------------------------------------------- +Tue Nov 23 15:30:52 CET 1999 - kasal@suse.de + +- backported sparc patch from cvs version of binutils +- added note that geo@suse.cz can make NLMs + +------------------------------------------------------------------- +Tue Nov 16 10:41:15 MET 1999 - kukuk@suse.de + +- Remove broken Sparc as patch, add bfd patch for sparc32 + +------------------------------------------------------------------- +Wed Nov 10 11:27:03 MET 1999 - kukuk@suse.de + +- spec file cleanup, add support for Sparc +- Remove dependency for bin86, not longer necessary + +------------------------------------------------------------------- +Tue Nov 9 15:44:57 CET 1999 - uli@suse.de + +- added PPC-specific files to %files section + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Tue Aug 24 15:30:01 MEST 1999 - uli@suse.de + +- fixed Makefile.Linux for PPC + +------------------------------------------------------------------- +Fri May 28 17:41:32 MEST 1999 - ro@suse.de + +- update to .25 + +------------------------------------------------------------------- +Thu Apr 8 22:49:56 MEST 1999 - ro@suse.de + +- update to .23 + +------------------------------------------------------------------- +Mon Mar 29 12:33:59 MEST 1999 - ro@suse.de + +- remove hacks and install libiberty.a in /usr/lib + +------------------------------------------------------------------- +Sun Mar 14 20:12:39 MET 1999 - ro@suse.de + +- libtool tries to be smart dropping the link -liberty + try to be smarter: changed "-liberty" to "../libiberty/libiberty.a" + +------------------------------------------------------------------- +Fri Mar 5 01:06:36 MET 1999 - ro@suse.de + +- update to 2.9.1.0.22b FOR NOW AXP ONLY +- libnaming changed + +------------------------------------------------------------------- +Fri Feb 19 16:18:40 MET 1999 - ro@suse.de + +- update to 2.9.1.0.20 + +------------------------------------------------------------------- +Tue Jan 11 18:23:52 MET 1999 - ro@suse.de + +- adapted specfile to build on alpha, too +- added ansidecl.h to filelist for glibc + +------------------------------------------------------------------- +Mon Nov 2 15:18:48 MET 1998 - ro@suse.de + +- update to 2.9.1.0.15 + +------------------------------------------------------------------- +Fri Sep 11 15:29:04 MEST 1998 - ro@suse.de + +- switch detection of GLIBC to automake + +------------------------------------------------------------------- +Tue Jul 7 18:16:31 MEST 1998 - ro@suse.de + +- pack files depending on used libc / compile a.out for libc5 + +------------------------------------------------------------------- +Wed May 20 23:16:18 MEST 1998 - bs@suse.de + +- took c++filt off from file list (is included in egcs) + +---------------------------------------------------------------------------- +Wed May 6 14:21:33 MEST 1998 - florian@suse.de + + +- update to binutils 2.9.1.0.4 + + +---------------------------------------------------------------------------- +Tue Jul 29 10:59:13 MEST 1997 - florian@suse.de + + +- the a.out-assembler was not installed correctly by "make install" + + +---------------------------------------------------------------------------- +Wed Jun 25 11:28:39 MEST 1997 - florian@suse.de + + +- add bug-fixes from gnu.utils.bugs + + + +---------------------------------------------------------------------------- +Sun Jun 8 17:32:03 MEST 1997 - florian@suse.de + + +- always remove /usr/bin/encaps + + +---------------------------------------------------------------------------- +Sun Jun 8 17:32:03 MEST 1997 - florian@suse.de + + +- update to version 2.8.1 with fixes by H.J. Lu + +---------------------------------------------------------------------------- +Wed Oct 16 17:46:33 MET DST 1996 - florian@suse.de + + +- Update auf Version 2.7.0.3. Sollte jetzt als normales binutils-Paket + installiert sein. 2.6.* hoechstens unter unsorted... + + diff --git a/cross-epiphany-binutils.spec b/cross-epiphany-binutils.spec new file mode 100644 index 0000000..2796fdb --- /dev/null +++ b/cross-epiphany-binutils.spec @@ -0,0 +1,472 @@ +# +# 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 +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 +Patch1: binutils-2.24-branch.diff.gz +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: pie-m68k.patch +Patch24: binutils-2.24-auto-plugin.diff +Patch25: ld-testsuite.patch +Patch26: binutils-2.24-bso16746.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 -p1 +%patch24 -p1 +%patch25 -p1 +%patch26 -p1 +%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 $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 +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 diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 73847b1..2bec2b7 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 30bab9f..a689f07 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 3f77da0..41e4696 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 8bf8e43..797a776 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-m68k-binutils.spec b/cross-m68k-binutils.spec index 2d265c4..780f98e 100644 --- a/cross-m68k-binutils.spec +++ b/cross-m68k-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 6f6711c..32813c9 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index dcbc12f..0a3fe91 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 355474c..bb9e47d 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-ppc64le-binutils.spec b/cross-ppc64le-binutils.spec index c9b8567..d26611e 100644 --- a/cross-ppc64le-binutils.spec +++ b/cross-ppc64le-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index acdc090..41d8057 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 0f4f9b8..022ae0c 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 54b22cb..c3e6c6d 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index f3c3da0..e891124 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 33be966..9acd5d6 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -285,12 +285,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/ \ diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index abb8ff9..0b45a26 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -285,12 +285,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/ \ diff --git a/pre_checkin.sh b/pre_checkin.sh index 52fade1..ca94d90 100644 --- a/pre_checkin.sh +++ b/pre_checkin.sh @@ -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 ..."