From 4c0af76464f238c06f78b2c83f09b2bd3a8b0f7d404c96946f0405fcfc4bd9df Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Fri, 23 Nov 2012 14:19:56 +0000 Subject: [PATCH 1/6] Accepting request 142522 from home:jengelh:branches:devel:gcc - Have pre_checkin.sh create cross-sparc64-binutils OBS-URL: https://build.opensuse.org/request/show/142522 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=113 --- binutils.changes | 5 + cross-alpha-binutils.changes | 5 + cross-arm-binutils.changes | 5 + cross-avr-binutils.changes | 5 + cross-hppa-binutils.changes | 5 + cross-hppa64-binutils.changes | 5 + cross-i386-binutils.changes | 5 + cross-ia64-binutils.changes | 5 + cross-mips-binutils.changes | 5 + cross-ppc-binutils.changes | 5 + cross-ppc64-binutils.changes | 5 + cross-s390-binutils.changes | 5 + cross-s390x-binutils.changes | 5 + cross-sparc-binutils.changes | 5 + cross-sparc64-binutils.changes | 2429 ++++++++++++++++++++++++++++++++ cross-sparc64-binutils.spec | 420 ++++++ cross-spu-binutils.changes | 5 + cross-x86_64-binutils.changes | 5 + pre_checkin.sh | 2 +- 19 files changed, 2930 insertions(+), 1 deletion(-) create mode 100644 cross-sparc64-binutils.changes create mode 100644 cross-sparc64-binutils.spec diff --git a/binutils.changes b/binutils.changes index 308aba6..6e58acd 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes new file mode 100644 index 0000000..6e58acd --- /dev/null +++ b/cross-sparc64-binutils.changes @@ -0,0 +1,2429 @@ +------------------------------------------------------------------- +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-sparc64-binutils.spec b/cross-sparc64-binutils.spec new file mode 100644 index 0000000..3373249 --- /dev/null +++ b/cross-sparc64-binutils.spec @@ -0,0 +1,420 @@ +# +# spec file for package cross-sparc64-binutils +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# 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-sparc64-binutils +ExcludeArch: sparc64 +%define cross 1 +%define TARGET sparc64 +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.23.0 +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 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 ia64 ppc ppc64 s390 s390x x86_64 +%define build_multitarget 1 +%else +%define build_multitarget 0 +%endif +%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +# +# +# +Url: http://www.gnu.org/software/binutils/ +PreReq: %{install_info_prereq} +# bug437293 +%ifarch ppc64 +Obsoletes: binutils-64bit +%endif +# +%define binutils_version %(echo %version | sed 's/\\.[0-9]\\{8\\}$//') +Summary: GNU Binutils +License: GFDL-1.3 and GPL-3.0+ +Group: Development/Tools/Building +Source: binutils-%{binutils_version}.tar.bz2 +Source1: pre_checkin.sh +Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf +Patch3: binutils-skip-rpaths.patch +Patch4: s390-biarch.diff +Patch5: x86-64-biarch.patch +Patch6: unit-at-a-time.patch +Patch7: ld-dtags.diff +Patch8: ld-relro.diff +Patch9: testsuite.diff +Patch10: enable-targets-gold.diff +Patch11: use-hashtype-both-by-default.diff +Patch14: binutils-build-as-needed.diff +Patch18: gold-depend-on-opcodes.diff +Patch21: binutils-2.22-objalloc.patch +Patch90: cross-avr-nesc-as.patch +Patch92: cross-avr-omit_section_dynsym.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%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} +%if 0%{suse_version} > 1100 +%if 0%{!?cross:1} +%define gold_archs %ix86 %arm x86_64 ppc ppc64 %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} +%if !%{test_vanilla} +%patch3 +%patch4 +%patch5 +%patch6 +%patch7 -p1 +%patch8 +%patch9 +%patch10 +%patch11 +%patch14 +%patch18 +%patch21 +%if "%{TARGET}" == "avr" +cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h +%patch90 +%patch92 +%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 +EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" +%endif +%ifarch %arm +EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" +%endif +%endif +%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}" == "avr" || "%{TARGET}" == "spu" +TARGET_OS=%{TARGET} +%else +%if "%{TARGET}" == "arm" +TARGET_OS=%{TARGET}-suse-linux-gnueabi +%else +TARGET_OS=%{TARGET}-suse-linux +%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 +# we could eventually use alternatives for /usr/bin/ld +if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then + rm $RPM_BUILD_ROOT%{_bindir}/ld + ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +fi +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 + +%clean +rm -rf $RPM_BUILD_ROOT + +%if 0%{!?cross:1} +%post +%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 + +%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 +%endif + +%files -f binutils.lang +%defattr(-,root,root) +%if 0%{!?cross:1} +%{_docdir}/%{name} +%{_prefix}/%{HOST}/bin/* +%{_prefix}/%{HOST}/lib/ldscripts +%{_libdir}/ldscripts +%{_bindir}/* +%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-spu-binutils.changes b/cross-spu-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 308aba6..6e58acd 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/pre_checkin.sh b/pre_checkin.sh index 233999b..be5dbdd 100644 --- a/pre_checkin.sh +++ b/pre_checkin.sh @@ -2,7 +2,7 @@ # the script takes binutils* and creates the cross-* packages # sh4 is stuck in the testsuite -for arch in hppa hppa64 mips arm i386 x86_64 s390 s390x ppc ppc64 ia64 sparc alpha spu avr; do +for arch in hppa hppa64 mips arm i386 x86_64 s390 s390x ppc ppc64 ia64 sparc sparc64 alpha spu avr; do echo -n "Building package for $arch --> cross-$arch-binutils ..." From 5c502ac4746e5fa6e2612830a36c74209fa6eda2ecec23161848031c094e9b8e Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Mon, 26 Nov 2012 14:43:39 +0000 Subject: [PATCH 2/6] Accepting request 142675 from home:adrianSuSE:aarch64 add aarch64 target and cross compiler OBS-URL: https://build.opensuse.org/request/show/142675 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=114 --- binutils.changes | 5 + binutils.spec | 12 +- cross-aarch64-binutils.changes | 2434 ++++++++++++++++++++++++++++++++ cross-aarch64-binutils.spec | 426 ++++++ cross-alpha-binutils.changes | 5 + cross-alpha-binutils.spec | 12 +- cross-arm-binutils.changes | 5 + cross-arm-binutils.spec | 12 +- cross-avr-binutils.changes | 5 + cross-avr-binutils.spec | 12 +- cross-hppa-binutils.changes | 5 + cross-hppa-binutils.spec | 12 +- cross-hppa64-binutils.changes | 5 + cross-hppa64-binutils.spec | 12 +- cross-i386-binutils.changes | 5 + cross-i386-binutils.spec | 12 +- cross-ia64-binutils.changes | 5 + cross-ia64-binutils.spec | 12 +- cross-mips-binutils.changes | 5 + cross-mips-binutils.spec | 12 +- cross-ppc-binutils.changes | 5 + cross-ppc-binutils.spec | 12 +- cross-ppc64-binutils.changes | 5 + cross-ppc64-binutils.spec | 12 +- cross-s390-binutils.changes | 5 + cross-s390-binutils.spec | 12 +- cross-s390x-binutils.changes | 5 + cross-s390x-binutils.spec | 12 +- cross-sparc-binutils.changes | 5 + cross-sparc-binutils.spec | 12 +- cross-sparc64-binutils.changes | 5 + cross-sparc64-binutils.spec | 12 +- cross-spu-binutils.changes | 5 + cross-spu-binutils.spec | 12 +- cross-x86_64-binutils.changes | 5 + cross-x86_64-binutils.spec | 12 +- pre_checkin.sh | 2 +- 37 files changed, 3099 insertions(+), 52 deletions(-) create mode 100644 cross-aarch64-binutils.changes create mode 100644 cross-aarch64-binutils.spec diff --git a/binutils.changes b/binutils.changes index 6e58acd..b9f0785 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/binutils.spec b/binutils.spec index 03e4ce2..b8db3be 100644 --- a/binutils.spec +++ b/binutils.spec @@ -46,7 +46,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -58,12 +58,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -199,6 +199,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -249,6 +252,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes new file mode 100644 index 0000000..b9f0785 --- /dev/null +++ b/cross-aarch64-binutils.changes @@ -0,0 +1,2434 @@ +------------------------------------------------------------------- +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-aarch64-binutils.spec b/cross-aarch64-binutils.spec new file mode 100644 index 0000000..c2d825a --- /dev/null +++ b/cross-aarch64-binutils.spec @@ -0,0 +1,426 @@ +# +# spec file for package cross-aarch64-binutils +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# 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-aarch64-binutils +ExcludeArch: aarch64 +%define cross 1 +%define TARGET aarch64 +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.23.0 +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 s390 s390x x86_64 +%define build_multitarget 1 +%else +%define build_multitarget 0 +%endif +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +# +# +# +Url: http://www.gnu.org/software/binutils/ +PreReq: %{install_info_prereq} +# bug437293 +%ifarch ppc64 +Obsoletes: binutils-64bit +%endif +# +%define binutils_version %(echo %version | sed 's/\\.[0-9]\\{8\\}$//') +Summary: GNU Binutils +License: GFDL-1.3 and GPL-3.0+ +Group: Development/Tools/Building +Source: binutils-%{binutils_version}.tar.bz2 +Source1: pre_checkin.sh +Source2: README.First-for.SuSE.packagers +Source3: baselibs.conf +Patch3: binutils-skip-rpaths.patch +Patch4: s390-biarch.diff +Patch5: x86-64-biarch.patch +Patch6: unit-at-a-time.patch +Patch7: ld-dtags.diff +Patch8: ld-relro.diff +Patch9: testsuite.diff +Patch10: enable-targets-gold.diff +Patch11: use-hashtype-both-by-default.diff +Patch14: binutils-build-as-needed.diff +Patch18: gold-depend-on-opcodes.diff +Patch21: binutils-2.22-objalloc.patch +Patch90: cross-avr-nesc-as.patch +Patch92: cross-avr-omit_section_dynsym.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%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} +%if 0%{suse_version} > 1100 +%if 0%{!?cross:1} +%define gold_archs %ix86 %arm x86_64 ppc ppc64 %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} +%if !%{test_vanilla} +%patch3 +%patch4 +%patch5 +%patch6 +%patch7 -p1 +%patch8 +%patch9 +%patch10 +%patch11 +%patch14 +%patch18 +%patch21 +%if "%{TARGET}" == "avr" +cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h +%patch90 +%patch92 +%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 +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-gnueabi" +%endif +%endif +%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-gnueabi" +%endif +%if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" +TARGET_OS=%{TARGET} +%else +%if "%{TARGET}" == "arm" +TARGET_OS=%{TARGET}-suse-linux-gnueabi +%else +TARGET_OS=%{TARGET}-suse-linux +%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 +# we could eventually use alternatives for /usr/bin/ld +if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then + rm $RPM_BUILD_ROOT%{_bindir}/ld + ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +fi +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 + +%clean +rm -rf $RPM_BUILD_ROOT + +%if 0%{!?cross:1} +%post +%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 + +%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 +%endif + +%files -f binutils.lang +%defattr(-,root,root) +%if 0%{!?cross:1} +%{_docdir}/%{name} +%{_prefix}/%{HOST}/bin/* +%{_prefix}/%{HOST}/lib/ldscripts +%{_libdir}/ldscripts +%{_bindir}/* +%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-alpha-binutils.changes b/cross-alpha-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index c927c31..d9088e0 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 4b0669f..f863337 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 781ff2f..0ff7e0a 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 7c7a7d0..98e6422 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 876c639..c1148f4 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index eae7007..eecd9aa 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 395eb7d..b3c895e 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index b099997..790b1c9 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index a6ac8a8..126230f 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 9d26881..3123e5a 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index d226bcc..f8d4d5e 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 2eeba05..6d49d80 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 40c0c15..b3aad4a 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 3373249..14668ad 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 1c4cdf6..c1db4f8 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 6e58acd..b9f0785 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index cec390f..c381d2e 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -49,7 +49,7 @@ Release: 0 # # handle test suite failures # -%ifarch alpha %arm hppa mips sh4 %sparc +%ifarch alpha %arm aarch64 hppa mips sh4 %sparc %define make_check_handling true %else # XXX check again @@ -61,12 +61,12 @@ Release: 0 %define make_check_handling false %endif # handle all binary object formats supported by SuSE (and a few more) -%ifarch %ix86 %arm ia64 ppc ppc64 s390 s390x x86_64 +%ifarch %ix86 %arm aarch64 ia64 ppc ppc64 s390 s390x x86_64 %define build_multitarget 1 %else %define build_multitarget 0 %endif -%define target_list alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 +%define target_list aarch64 alpha armv5l armv7l armv8l hppa hppa64 i686 ia64 m68k mips powerpc powerpc64 s390 s390x sh4 sparc sparc64 x86_64 # # # @@ -202,6 +202,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" %ifarch %arm EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%ifarch aarch64 +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ --prefix=%{_prefix} --libdir=%{_libdir} \\\ @@ -252,6 +255,9 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" %if "%{TARGET}" == "arm" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif +%if "%{TARGET}" == "aarch64" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +%endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} %else diff --git a/pre_checkin.sh b/pre_checkin.sh index be5dbdd..6bbbceb 100644 --- a/pre_checkin.sh +++ b/pre_checkin.sh @@ -2,7 +2,7 @@ # the script takes binutils* and creates the cross-* packages # sh4 is stuck in the testsuite -for arch in hppa hppa64 mips arm i386 x86_64 s390 s390x ppc ppc64 ia64 sparc sparc64 alpha spu avr; do +for arch in aarch64 hppa hppa64 mips arm i386 x86_64 s390 s390x ppc ppc64 ia64 sparc sparc64 alpha spu avr; do echo -n "Building package for $arch --> cross-$arch-binutils ..." From fed834d5d6d735fdc5f8399d312567116ef263b2498496cfe1a598ef322d5a45 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 27 Nov 2012 14:23:40 +0000 Subject: [PATCH 3/6] Accepting request 143122 from home:adrianSuSE:aarch64 update and biarch patch. It does not help me, but it does not harm either ;) OBS-URL: https://build.opensuse.org/request/show/143122 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=115 --- aarch64-biarch.patch | 38 +++++++++++++++++++++++++++++++ binutils-2.22-objalloc.patch | 15 ++++++------ binutils-2.23.0.tar.bz2 | 3 --- binutils-2.23.1.tar.bz2 | 3 +++ binutils.changes | 6 +++++ binutils.spec | 4 +++- cross-aarch64-binutils.changes | 6 +++++ cross-aarch64-binutils.spec | 4 +++- cross-alpha-binutils.changes | 6 +++++ cross-alpha-binutils.spec | 4 +++- cross-arm-binutils.changes | 6 +++++ cross-arm-binutils.spec | 4 +++- cross-avr-binutils.changes | 6 +++++ cross-avr-binutils.spec | 4 +++- cross-hppa-binutils.changes | 6 +++++ cross-hppa-binutils.spec | 4 +++- cross-hppa64-binutils.changes | 6 +++++ cross-hppa64-binutils.spec | 4 +++- cross-i386-binutils.changes | 6 +++++ cross-i386-binutils.spec | 4 +++- cross-ia64-binutils.changes | 6 +++++ cross-ia64-binutils.spec | 4 +++- cross-mips-binutils.changes | 6 +++++ cross-mips-binutils.spec | 4 +++- cross-ppc-binutils.changes | 6 +++++ cross-ppc-binutils.spec | 4 +++- cross-ppc64-binutils.changes | 6 +++++ cross-ppc64-binutils.spec | 4 +++- cross-s390-binutils.changes | 6 +++++ cross-s390-binutils.spec | 4 +++- cross-s390x-binutils.changes | 6 +++++ cross-s390x-binutils.spec | 4 +++- cross-sparc-binutils.changes | 6 +++++ cross-sparc-binutils.spec | 4 +++- cross-sparc64-binutils.changes | 6 +++++ cross-sparc64-binutils.spec | 4 +++- cross-spu-binutils.changes | 6 +++++ cross-spu-binutils.spec | 4 +++- cross-x86_64-binutils.changes | 6 +++++ cross-x86_64-binutils.spec | 4 +++- enable-targets-gold.diff | 10 ++++---- gold-depend-on-opcodes.diff | 12 +++++----- ld-dtags.diff | 16 ++++++------- s390-biarch.diff | 6 ++--- testsuite.diff | 14 ++++++------ unit-at-a-time.patch | 6 ++--- use-hashtype-both-by-default.diff | 8 +++---- 47 files changed, 246 insertions(+), 65 deletions(-) create mode 100644 aarch64-biarch.patch delete mode 100644 binutils-2.23.0.tar.bz2 create mode 100644 binutils-2.23.1.tar.bz2 diff --git a/aarch64-biarch.patch b/aarch64-biarch.patch new file mode 100644 index 0000000..fcb10d2 --- /dev/null +++ b/aarch64-biarch.patch @@ -0,0 +1,38 @@ +Index: binutils-2.23.1/ld/emulparams/aarch64elf.sh +=================================================================== +--- binutils-2.23.1.orig/ld/emulparams/aarch64elf.sh ++++ binutils-2.23.1/ld/emulparams/aarch64elf.sh +@@ -33,3 +33,14 @@ ATTRS_SECTIONS='.ARM.attributes 0 : { KE + + # This sets the stack to the top of the simulator memory (2^19 bytes). + STACK_ADDR=0x80000 ++ ++# For Linux modify the default library search path ++# to first include a 64-bit specific directory. ++case "$target" in ++ aarch64*-linux*) ++ case "$EMULATION_NAME" in ++ *) LIBPATH_SUFFIX=64 ;; ++ esac ++ ;; ++esac ++ +Index: binutils-2.23.1/ld/emulparams/aarch64linux.sh +=================================================================== +--- binutils-2.23.1.orig/ld/emulparams/aarch64linux.sh ++++ binutils-2.23.1/ld/emulparams/aarch64linux.sh +@@ -34,3 +34,14 @@ OTHER_SECTIONS='.note.gnu.arm.ident 0 : + ATTRS_SECTIONS='.ARM.attributes 0 : { KEEP (*(.ARM.attributes)) KEEP (*(.gnu.attributes)) }' + # Ensure each PLT entry is aligned to a cache line. + PLT=".plt ${RELOCATING-0} : ALIGN(16) { *(.plt)${IREL_IN_PLT+ *(.iplt)} }" ++ ++# For Linux modify the default library search path ++# to first include a 64-bit specific directory. ++case "$target" in ++ aarch64*-linux*) ++ case "$EMULATION_NAME" in ++ *) LIBPATH_SUFFIX=64 ;; ++ esac ++ ;; ++esac ++ diff --git a/binutils-2.22-objalloc.patch b/binutils-2.22-objalloc.patch index 8bed438..e10bb31 100644 --- a/binutils-2.22-objalloc.patch +++ b/binutils-2.22-objalloc.patch @@ -20,8 +20,8 @@ GCC, therefore I want to commit this just to the trunk. Index: include/objalloc.h =================================================================== ---- include/objalloc.h (revision 190780) -+++ include/objalloc.h (working copy) +--- include/objalloc.h.orig ++++ include/objalloc.h @@ -1,5 +1,5 @@ /* objalloc.h -- routines to allocate memory for objects - Copyright 1997, 2001 Free Software Foundation, Inc. @@ -29,7 +29,7 @@ Index: include/objalloc.h Written by Ian Lance Taylor, Cygnus Solutions. This program is free software; you can redistribute it and/or modify it -@@ -71,38 +71,8 @@ +@@ -71,38 +71,8 @@ extern struct objalloc *objalloc_create extern void *_objalloc_alloc (struct objalloc *, unsigned long); @@ -70,8 +70,8 @@ Index: include/objalloc.h extern void objalloc_free (struct objalloc *); Index: libiberty/objalloc.c =================================================================== ---- libiberty/objalloc.c (revision 190780) -+++ libiberty/objalloc.c (working copy) +--- libiberty/objalloc.c.orig ++++ libiberty/objalloc.c @@ -1,5 +1,5 @@ /* objalloc.c -- routines to allocate memory for objects - Copyright 1997 Free Software Foundation, Inc. @@ -79,7 +79,7 @@ Index: libiberty/objalloc.c Written by Ian Lance Taylor, Cygnus Solutions. This program is free software; you can redistribute it and/or modify it -@@ -112,8 +112,9 @@ +@@ -112,8 +112,9 @@ objalloc_create (void) /* Allocate space from an objalloc structure. */ PTR @@ -90,7 +90,7 @@ Index: libiberty/objalloc.c /* We avoid confusion from zero sized objects by always allocating at least 1 byte. */ if (len == 0) -@@ -121,6 +122,11 @@ +@@ -121,6 +122,11 @@ _objalloc_alloc (struct objalloc *o, uns len = (len + OBJALLOC_ALIGN - 1) &~ (OBJALLOC_ALIGN - 1); @@ -102,4 +102,3 @@ Index: libiberty/objalloc.c if (len <= o->current_space) { o->current_ptr += len; - diff --git a/binutils-2.23.0.tar.bz2 b/binutils-2.23.0.tar.bz2 deleted file mode 100644 index f153681..0000000 --- a/binutils-2.23.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:77f1c8a96434f8e094ae475857bd596124bf13aa655a3898cafdfd7b2cdac2ff -size 19514452 diff --git a/binutils-2.23.1.tar.bz2 b/binutils-2.23.1.tar.bz2 new file mode 100644 index 0000000..6a187ca --- /dev/null +++ b/binutils-2.23.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2ab2e5b03e086d12c6295f831adad46b3e1410a3a234933a2e8fac66cb2e7a19 +size 21455321 diff --git a/binutils.changes b/binutils.changes index b9f0785..3c76568 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/binutils.spec b/binutils.spec index b8db3be..7490cf0 100644 --- a/binutils.spec +++ b/binutils.spec @@ -35,7 +35,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -96,6 +96,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -158,6 +159,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index b9f0785..3c76568 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index c2d825a..c5e1bfe 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index b9f0785..3c76568 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index d9088e0..ece222f 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index b9f0785..3c76568 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index f863337..893f245 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index b9f0785..3c76568 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 0ff7e0a..9233f10 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index b9f0785..3c76568 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 98e6422..9d32893 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index b9f0785..3c76568 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index c1148f4..0404762 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index b9f0785..3c76568 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index eecd9aa..2500dc6 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index b9f0785..3c76568 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index b3c895e..de31c98 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index b9f0785..3c76568 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 790b1c9..1709633 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index b9f0785..3c76568 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 126230f..23a86d9 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index b9f0785..3c76568 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 3123e5a..51470bd 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index b9f0785..3c76568 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index f8d4d5e..5b54eaa 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index b9f0785..3c76568 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 6d49d80..adeea98 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index b9f0785..3c76568 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index b3aad4a..4b07f37 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index b9f0785..3c76568 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 14668ad..b1ad074 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index b9f0785..3c76568 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index c1db4f8..1ea359c 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index b9f0785..3c76568 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 27 12:44:19 UTC 2012 - adrian@suse.de + +- update to version 2.23.1 release +- add aarch64 biarch patch + ------------------------------------------------------------------- Sat Nov 24 02:05:34 UTC 2012 - adrian@suse.de diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index c381d2e..83cc319 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -38,7 +38,7 @@ BuildRequires: zlib-devel-static %else BuildRequires: zlib-devel %endif -Version: 2.23.0 +Version: 2.23.1 Release: 0 # # RUN_TESTS @@ -99,6 +99,7 @@ Patch18: gold-depend-on-opcodes.diff Patch21: binutils-2.22-objalloc.patch Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch +Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -161,6 +162,7 @@ echo "make check will return with %{make_check_handling} in case of testsuite fa %patch14 %patch18 %patch21 +%patch101 -p1 %if "%{TARGET}" == "avr" cp gas/config/tc-avr.h gas/config/tc-avr-nesc.h %patch90 diff --git a/enable-targets-gold.diff b/enable-targets-gold.diff index 6aa8f49..84a7d3a 100644 --- a/enable-targets-gold.diff +++ b/enable-targets-gold.diff @@ -1,6 +1,8 @@ ---- gold/configure.orig 2011-01-11 12:22:06.000000000 +0100 -+++ gold/configure 2011-01-11 12:23:38.000000000 +0100 -@@ -3389,7 +3389,8 @@ +Index: gold/configure +=================================================================== +--- gold/configure.orig ++++ gold/configure +@@ -3405,7 +3405,8 @@ for targ in $target $canon_targets; do . ${srcdir}/configure.tgt if test "$targ_obj" = "UNKNOWN"; then @@ -10,5 +12,3 @@ else targetobjs="$targetobjs ${targ_obj}.\$(OBJEXT)" if test "$targ_extra_obj" != ""; then - - diff --git a/gold-depend-on-opcodes.diff b/gold-depend-on-opcodes.diff index 4248de1..ac06934 100644 --- a/gold-depend-on-opcodes.diff +++ b/gold-depend-on-opcodes.diff @@ -1,8 +1,8 @@ Index: Makefile.def =================================================================== ---- Makefile.def.orig 2011-07-26 20:48:02.000000000 +0200 -+++ Makefile.def 2011-09-28 15:28:31.000000000 +0200 -@@ -403,6 +403,7 @@ dependencies = { module=configure-gold; +--- Makefile.def.orig ++++ Makefile.def +@@ -404,6 +404,7 @@ dependencies = { module=configure-gold; dependencies = { module=all-gold; on=all-libiberty; }; dependencies = { module=all-gold; on=all-intl; }; dependencies = { module=all-gold; on=all-bfd; }; @@ -12,9 +12,9 @@ Index: Makefile.def dependencies = { module=check-gold; on=all-gas; }; Index: Makefile.in =================================================================== ---- Makefile.in.orig 2011-07-26 20:48:03.000000000 +0200 -+++ Makefile.in 2011-09-28 15:28:31.000000000 +0200 -@@ -42856,6 +42856,14 @@ all-stage3-gold: maybe-all-stage3-bfd +--- Makefile.in.orig ++++ Makefile.in +@@ -42851,6 +42851,14 @@ all-stage3-gold: maybe-all-stage3-bfd all-stage4-gold: maybe-all-stage4-bfd all-stageprofile-gold: maybe-all-stageprofile-bfd all-stagefeedback-gold: maybe-all-stagefeedback-bfd diff --git a/ld-dtags.diff b/ld-dtags.diff index 8cbdf33..69b561e 100644 --- a/ld-dtags.diff +++ b/ld-dtags.diff @@ -1,8 +1,8 @@ -Index: binutils-2.20.0/ld/ld.texinfo +Index: binutils-2.23.1/ld/ld.texinfo =================================================================== ---- binutils-2.20.0.orig/ld/ld.texinfo 2009-11-23 14:02:48.000000000 +0100 -+++ binutils-2.20.0/ld/ld.texinfo 2009-11-23 14:03:08.000000000 +0100 -@@ -2026,7 +2026,7 @@ This linker can create the new dynamic t +--- binutils-2.23.1.orig/ld/ld.texinfo ++++ binutils-2.23.1/ld/ld.texinfo +@@ -2089,7 +2089,7 @@ This linker can create the new dynamic t systems may not understand them. If you specify @option{--enable-new-dtags}, the dynamic tags will be created as needed. If you specify @option{--disable-new-dtags}, no new dynamic tags will be @@ -11,11 +11,11 @@ Index: binutils-2.20.0/ld/ld.texinfo those options are only available for ELF systems. @kindex --hash-size=@var{number} -Index: binutils-2.20.0/ld/ldmain.c +Index: binutils-2.23.1/ld/ldmain.c =================================================================== ---- binutils-2.20.0.orig/ld/ldmain.c 2009-11-23 14:02:48.000000000 +0100 -+++ binutils-2.20.0/ld/ldmain.c 2009-11-23 14:03:08.000000000 +0100 -@@ -262,6 +262,7 @@ main (int argc, char **argv) +--- binutils-2.23.1.orig/ld/ldmain.c ++++ binutils-2.23.1/ld/ldmain.c +@@ -275,6 +275,7 @@ main (int argc, char **argv) link_info.allow_undefined_version = TRUE; link_info.keep_memory = TRUE; diff --git a/s390-biarch.diff b/s390-biarch.diff index d893885..b28183a 100644 --- a/s390-biarch.diff +++ b/s390-biarch.diff @@ -1,8 +1,8 @@ Index: ld/emulparams/elf_s390.sh =================================================================== ---- ld/emulparams/elf_s390.sh.orig 2009-11-23 14:02:48.000000000 +0100 -+++ ld/emulparams/elf_s390.sh 2009-11-23 14:03:08.000000000 +0100 -@@ -11,3 +11,18 @@ TEMPLATE_NAME=elf32 +--- ld/emulparams/elf_s390.sh.orig ++++ ld/emulparams/elf_s390.sh +@@ -12,3 +12,18 @@ GENERATE_SHLIB_SCRIPT=yes GENERATE_PIE_SCRIPT=yes NO_SMALL_DATA=yes IREL_IN_PLT= diff --git a/testsuite.diff b/testsuite.diff index 988cd31..cf2e861 100644 --- a/testsuite.diff +++ b/testsuite.diff @@ -1,7 +1,7 @@ Index: binutils/testsuite/binutils-all/windres/windres.exp =================================================================== ---- binutils/testsuite/binutils-all/windres/windres.exp.orig 2009-11-23 14:02:48.000000000 +0100 -+++ binutils/testsuite/binutils-all/windres/windres.exp 2009-11-23 14:03:09.000000000 +0100 +--- binutils/testsuite/binutils-all/windres/windres.exp.orig ++++ binutils/testsuite/binutils-all/windres/windres.exp @@ -36,6 +36,7 @@ set wr "$WINDRES --include-dir $srcdir/$ if [file exists "$srcdir/../../winsup/w32api/include"] { set wr "$wr --include-dir $srcdir/../../winsup/w32api/include" @@ -12,8 +12,8 @@ Index: binutils/testsuite/binutils-all/windres/windres.exp Index: ld/testsuite/ld-srec/srec.exp =================================================================== ---- ld/testsuite/ld-srec/srec.exp.orig 2009-11-23 14:02:48.000000000 +0100 -+++ ld/testsuite/ld-srec/srec.exp 2009-11-23 14:03:09.000000000 +0100 +--- ld/testsuite/ld-srec/srec.exp.orig ++++ ld/testsuite/ld-srec/srec.exp @@ -20,6 +20,9 @@ # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, # MA 02110-1301, USA. @@ -26,9 +26,9 @@ Index: ld/testsuite/ld-srec/srec.exp proc srec_off { l } { Index: ld/testsuite/ld-undefined/undefined.exp =================================================================== ---- ld/testsuite/ld-undefined/undefined.exp.orig 2009-11-23 14:02:48.000000000 +0100 -+++ ld/testsuite/ld-undefined/undefined.exp 2009-11-23 14:03:09.000000000 +0100 -@@ -136,7 +136,7 @@ setup_xfail "sh64-*-*" +--- ld/testsuite/ld-undefined/undefined.exp.orig ++++ ld/testsuite/ld-undefined/undefined.exp +@@ -134,7 +134,7 @@ setup_xfail "sh64-*-*" # the function. Therefore the line number in the error message is 8 instead # of 9. On 64 bit s/390 this works because of the new brasl instruction that # doesn't need a literal pool entry. diff --git a/unit-at-a-time.patch b/unit-at-a-time.patch index 9850fdc..b1bfafd 100644 --- a/unit-at-a-time.patch +++ b/unit-at-a-time.patch @@ -1,8 +1,8 @@ Index: ld/testsuite/ld-selective/selective.exp =================================================================== ---- ld/testsuite/ld-selective/selective.exp.orig 2011-02-10 04:41:11.000000000 +0100 -+++ ld/testsuite/ld-selective/selective.exp 2011-04-19 14:54:34.000000000 +0200 -@@ -59,8 +59,8 @@ set seltests { +--- ld/testsuite/ld-selective/selective.exp.orig ++++ ld/testsuite/ld-selective/selective.exp +@@ -47,8 +47,8 @@ set seltests { {A::foo() B::foo() dropme1() dropme2()} {*-*-*}} } diff --git a/use-hashtype-both-by-default.diff b/use-hashtype-both-by-default.diff index aab39a6..efd165b 100644 --- a/use-hashtype-both-by-default.diff +++ b/use-hashtype-both-by-default.diff @@ -1,7 +1,7 @@ Index: ld/ldmain.c =================================================================== ---- ld/ldmain.c.orig 2012-09-14 14:01:52.209165500 +0200 -+++ ld/ldmain.c 2012-09-14 14:01:52.273165498 +0200 +--- ld/ldmain.c.orig ++++ ld/ldmain.c @@ -279,6 +279,7 @@ main (int argc, char **argv) link_info.combreloc = TRUE; link_info.strip_discarded = TRUE; @@ -12,8 +12,8 @@ Index: ld/ldmain.c /* SVR4 linkers seem to set DT_INIT and DT_FINI based on magic _init Index: ld/testsuite/config/default.exp =================================================================== ---- ld/testsuite/config/default.exp.orig 2012-09-14 14:01:52.223165499 +0200 -+++ ld/testsuite/config/default.exp 2012-09-14 14:01:52.273165498 +0200 +--- ld/testsuite/config/default.exp.orig ++++ ld/testsuite/config/default.exp @@ -23,7 +23,7 @@ # From abf4a23f3dd8f41054e5bd2c98a0992a433fc9c261b5163e9bbb596a4428dcc7 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 28 Nov 2012 10:59:15 +0000 Subject: [PATCH 4/6] Accepting request 143264 from home:jengelh:branches:devel:gcc - Implement update-alternatives service for gold OBS-URL: https://build.opensuse.org/request/show/143264 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=116 --- binutils.changes | 5 +++++ binutils.spec | 34 +++++++++++++++++++++++++++------- cross-aarch64-binutils.changes | 5 +++++ cross-aarch64-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-alpha-binutils.changes | 5 +++++ cross-alpha-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-arm-binutils.changes | 5 +++++ cross-arm-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-avr-binutils.changes | 5 +++++ cross-avr-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-hppa-binutils.changes | 5 +++++ cross-hppa-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-hppa64-binutils.changes | 5 +++++ cross-hppa64-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-i386-binutils.changes | 5 +++++ cross-i386-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-ia64-binutils.changes | 5 +++++ cross-ia64-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-mips-binutils.changes | 5 +++++ cross-mips-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-ppc-binutils.changes | 5 +++++ cross-ppc-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-ppc64-binutils.changes | 5 +++++ cross-ppc64-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-s390-binutils.changes | 5 +++++ cross-s390-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-s390x-binutils.changes | 5 +++++ cross-s390x-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-sparc-binutils.changes | 5 +++++ cross-sparc-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-sparc64-binutils.changes | 5 +++++ cross-sparc64-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-spu-binutils.changes | 5 +++++ cross-spu-binutils.spec | 34 +++++++++++++++++++++++++++------- cross-x86_64-binutils.changes | 5 +++++ cross-x86_64-binutils.spec | 34 +++++++++++++++++++++++++++------- 36 files changed, 576 insertions(+), 126 deletions(-) diff --git a/binutils.changes b/binutils.changes index 3c76568..57e63b6 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/binutils.spec b/binutils.spec index 7490cf0..c2538f6 100644 --- a/binutils.spec +++ b/binutils.spec @@ -98,6 +98,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -110,6 +111,7 @@ 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 %sparc @@ -121,7 +123,6 @@ 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+ @@ -312,10 +313,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -368,23 +373,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -395,6 +414,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index c5e1bfe..e472553 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index ece222f..5b866f4 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 893f245..8d2786d 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 9233f10..b237e08 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 9d32893..7cbdc49 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 0404762..10d7488 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 2500dc6..5580bae 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index de31c98..397936a 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 1709633..cba6dc4 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 23a86d9..63914f4 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index 51470bd..f64e1e3 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 5b54eaa..6d532b9 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index adeea98..7bf37c1 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 4b07f37..e526b73 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index b1ad074..32995cc 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 1ea359c..7be1739 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 3c76568..57e63b6 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index 83cc319..a2bea6a 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -101,6 +101,7 @@ Patch90: cross-avr-nesc-as.patch Patch92: cross-avr-omit_section_dynsym.patch Patch101: aarch64-biarch.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: update-alternatives %description C compiler utilities: ar, as, gprof, ld, nm, objcopy, objdump, ranlib, @@ -113,6 +114,7 @@ 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 %sparc @@ -124,7 +126,6 @@ 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+ @@ -315,10 +316,14 @@ 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 # we could eventually use alternatives for /usr/bin/ld -if test -f $RPM_BUILD_ROOT%{_bindir}/ld.bfd; then - rm $RPM_BUILD_ROOT%{_bindir}/ld - ln -sf ld.bfd $RPM_BUILD_ROOT%{_bindir}/ld; +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 @@ -371,23 +376,37 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt > ../binutils.lang %endif -%clean -rm -rf $RPM_BUILD_ROOT - %if 0%{!?cross:1} %post +"%_sbindir/update-alternatives" --install \ + "%_bindir/ld" ld "%_bindir/ld.bfd" 1 %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" 2 + %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 @@ -398,6 +417,7 @@ rm -rf $RPM_BUILD_ROOT %{_prefix}/%{HOST}/lib/ldscripts %{_libdir}/ldscripts %{_bindir}/* +%ghost %_sysconfdir/alternatives/ld %ifarch %gold_archs %exclude %{_bindir}/gold %exclude %{_bindir}/ld.gold From 5dc6298db3381c03ee78ac63cd6cfc65adf3ef6887ed49436b388c4fa06d7acc Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 28 Nov 2012 11:00:47 +0000 Subject: [PATCH 5/6] - Change update-alternative priorities to always prefer GNU ld OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=117 --- binutils.changes | 5 +++++ binutils.spec | 5 ++--- cross-aarch64-binutils.changes | 5 +++++ cross-aarch64-binutils.spec | 5 ++--- cross-alpha-binutils.changes | 5 +++++ cross-alpha-binutils.spec | 5 ++--- cross-arm-binutils.changes | 5 +++++ cross-arm-binutils.spec | 5 ++--- cross-avr-binutils.changes | 5 +++++ cross-avr-binutils.spec | 5 ++--- cross-hppa-binutils.changes | 5 +++++ cross-hppa-binutils.spec | 5 ++--- cross-hppa64-binutils.changes | 5 +++++ cross-hppa64-binutils.spec | 5 ++--- cross-i386-binutils.changes | 5 +++++ cross-i386-binutils.spec | 5 ++--- cross-ia64-binutils.changes | 5 +++++ cross-ia64-binutils.spec | 5 ++--- cross-mips-binutils.changes | 5 +++++ cross-mips-binutils.spec | 5 ++--- cross-ppc-binutils.changes | 5 +++++ cross-ppc-binutils.spec | 5 ++--- cross-ppc64-binutils.changes | 5 +++++ cross-ppc64-binutils.spec | 5 ++--- cross-s390-binutils.changes | 5 +++++ cross-s390-binutils.spec | 5 ++--- cross-s390x-binutils.changes | 5 +++++ cross-s390x-binutils.spec | 5 ++--- cross-sparc-binutils.changes | 5 +++++ cross-sparc-binutils.spec | 5 ++--- cross-sparc64-binutils.changes | 5 +++++ cross-sparc64-binutils.spec | 5 ++--- cross-spu-binutils.changes | 5 +++++ cross-spu-binutils.spec | 5 ++--- cross-x86_64-binutils.changes | 5 +++++ cross-x86_64-binutils.spec | 5 ++--- 36 files changed, 126 insertions(+), 54 deletions(-) diff --git a/binutils.changes b/binutils.changes index 57e63b6..df61c64 100644 --- a/binutils.changes +++ b/binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/binutils.spec b/binutils.spec index c2538f6..bd45ebe 100644 --- a/binutils.spec +++ b/binutils.spec @@ -312,7 +312,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -376,7 +375,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -385,7 +384,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-aarch64-binutils.changes b/cross-aarch64-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-aarch64-binutils.changes +++ b/cross-aarch64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index e472553..84fae7a 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-alpha-binutils.changes b/cross-alpha-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-alpha-binutils.changes +++ b/cross-alpha-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index 5b866f4..245675c 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-arm-binutils.changes b/cross-arm-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-arm-binutils.changes +++ b/cross-arm-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index 8d2786d..ea25a01 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-avr-binutils.changes b/cross-avr-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-avr-binutils.changes +++ b/cross-avr-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index b237e08..2a97eec 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-hppa-binutils.changes b/cross-hppa-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-hppa-binutils.changes +++ b/cross-hppa-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 7cbdc49..53c3d79 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-hppa64-binutils.changes b/cross-hppa64-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-hppa64-binutils.changes +++ b/cross-hppa64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index 10d7488..fa992ba 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-i386-binutils.changes b/cross-i386-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-i386-binutils.changes +++ b/cross-i386-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index 5580bae..a8f5e88 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-ia64-binutils.changes b/cross-ia64-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-ia64-binutils.changes +++ b/cross-ia64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 397936a..7a9b163 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-mips-binutils.changes b/cross-mips-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-mips-binutils.changes +++ b/cross-mips-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index cba6dc4..152dfc5 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-ppc-binutils.changes b/cross-ppc-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-ppc-binutils.changes +++ b/cross-ppc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 63914f4..16baa6e 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-ppc64-binutils.changes b/cross-ppc64-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-ppc64-binutils.changes +++ b/cross-ppc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index f64e1e3..f5930eb 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-s390-binutils.changes b/cross-s390-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-s390-binutils.changes +++ b/cross-s390-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 6d532b9..44572a0 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-s390x-binutils.changes b/cross-s390x-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-s390x-binutils.changes +++ b/cross-s390x-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 7bf37c1..87ed86b 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-sparc-binutils.changes b/cross-sparc-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-sparc-binutils.changes +++ b/cross-sparc-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index e526b73..2cbbeca 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-sparc64-binutils.changes b/cross-sparc64-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-sparc64-binutils.changes +++ b/cross-sparc64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 32995cc..8361894 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-spu-binutils.changes b/cross-spu-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-spu-binutils.changes +++ b/cross-spu-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 7be1739..91ab53b 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz diff --git a/cross-x86_64-binutils.changes b/cross-x86_64-binutils.changes index 57e63b6..df61c64 100644 --- a/cross-x86_64-binutils.changes +++ b/cross-x86_64-binutils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +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 diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index a2bea6a..da34e78 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -315,7 +315,6 @@ ln -sf ld.gold $RPM_BUILD_ROOT%{_bindir}/gold 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 -# we could eventually use alternatives for /usr/bin/ld if [ ! -f "%buildroot/%_bindir/ld.bfd" ]; then mv "%buildroot/%_bindir"/{ld,ld.bfd}; else @@ -379,7 +378,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %if 0%{!?cross:1} %post "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.bfd" 1 + "%_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 @@ -388,7 +387,7 @@ rm -f $RPM_BUILD_ROOT%{_prefix}/bin/*-c++filt %post gold "%_sbindir/update-alternatives" --install \ - "%_bindir/ld" ld "%_bindir/ld.gold" 2 + "%_bindir/ld" ld "%_bindir/ld.gold" 1 %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/as.info.gz From 1577ba8f9c97693e83b117aae0f05ecb386cffe8403f7c9ca4a4443c290cfebf Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Wed, 28 Nov 2012 11:01:22 +0000 Subject: [PATCH 6/6] Accepting request 143261 from home:adrianSuSE:aarch64 ups, I used wrong triple name :/ copy and paste error ... OBS-URL: https://build.opensuse.org/request/show/143261 OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=118 --- binutils.spec | 4 ++-- cross-aarch64-binutils.spec | 4 ++-- cross-alpha-binutils.spec | 4 ++-- cross-arm-binutils.spec | 4 ++-- cross-avr-binutils.spec | 4 ++-- cross-hppa-binutils.spec | 4 ++-- cross-hppa64-binutils.spec | 4 ++-- cross-i386-binutils.spec | 4 ++-- cross-ia64-binutils.spec | 4 ++-- cross-mips-binutils.spec | 4 ++-- cross-ppc-binutils.spec | 4 ++-- cross-ppc64-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 ++-- 18 files changed, 36 insertions(+), 36 deletions(-) diff --git a/binutils.spec b/binutils.spec index bd45ebe..7673be7 100644 --- a/binutils.spec +++ b/binutils.spec @@ -203,7 +203,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -256,7 +256,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-aarch64-binutils.spec b/cross-aarch64-binutils.spec index 84fae7a..50a10d5 100644 --- a/cross-aarch64-binutils.spec +++ b/cross-aarch64-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-alpha-binutils.spec b/cross-alpha-binutils.spec index 245675c..9e70368 100644 --- a/cross-alpha-binutils.spec +++ b/cross-alpha-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-arm-binutils.spec b/cross-arm-binutils.spec index ea25a01..7f7361e 100644 --- a/cross-arm-binutils.spec +++ b/cross-arm-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-avr-binutils.spec b/cross-avr-binutils.spec index 2a97eec..c112473 100644 --- a/cross-avr-binutils.spec +++ b/cross-avr-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-hppa-binutils.spec b/cross-hppa-binutils.spec index 53c3d79..d41dd34 100644 --- a/cross-hppa-binutils.spec +++ b/cross-hppa-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-hppa64-binutils.spec b/cross-hppa64-binutils.spec index fa992ba..ed1774c 100644 --- a/cross-hppa64-binutils.spec +++ b/cross-hppa64-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-i386-binutils.spec b/cross-i386-binutils.spec index a8f5e88..6abff98 100644 --- a/cross-i386-binutils.spec +++ b/cross-i386-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-ia64-binutils.spec b/cross-ia64-binutils.spec index 7a9b163..4480a4e 100644 --- a/cross-ia64-binutils.spec +++ b/cross-ia64-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-mips-binutils.spec b/cross-mips-binutils.spec index 152dfc5..e9ba992 100644 --- a/cross-mips-binutils.spec +++ b/cross-mips-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-ppc-binutils.spec b/cross-ppc-binutils.spec index 16baa6e..4dfee97 100644 --- a/cross-ppc-binutils.spec +++ b/cross-ppc-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-ppc64-binutils.spec b/cross-ppc64-binutils.spec index f5930eb..be91b63 100644 --- a/cross-ppc64-binutils.spec +++ b/cross-ppc64-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-s390-binutils.spec b/cross-s390-binutils.spec index 44572a0..b1baa62 100644 --- a/cross-s390-binutils.spec +++ b/cross-s390-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-s390x-binutils.spec b/cross-s390x-binutils.spec index 87ed86b..c708e95 100644 --- a/cross-s390x-binutils.spec +++ b/cross-s390x-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-sparc-binutils.spec b/cross-sparc-binutils.spec index 2cbbeca..db88a3d 100644 --- a/cross-sparc-binutils.spec +++ b/cross-sparc-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-sparc64-binutils.spec b/cross-sparc64-binutils.spec index 8361894..d7eb3bf 100644 --- a/cross-sparc64-binutils.spec +++ b/cross-sparc64-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-spu-binutils.spec b/cross-spu-binutils.spec index 91ab53b..406e32e 100644 --- a/cross-spu-binutils.spec +++ b/cross-spu-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET} diff --git a/cross-x86_64-binutils.spec b/cross-x86_64-binutils.spec index da34e78..7fbc16e 100644 --- a/cross-x86_64-binutils.spec +++ b/cross-x86_64-binutils.spec @@ -206,7 +206,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,spu-elf" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %ifarch aarch64 -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %endif %define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\ @@ -259,7 +259,7 @@ EXTRA_TARGETS="$EXTRA_TARGETS,hppa64-suse-linux" EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi" %endif %if "%{TARGET}" == "aarch64" -EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux-gnueabi" +EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux" %endif %if "%{TARGET}" == "avr" || "%{TARGET}" == "spu" TARGET_OS=%{TARGET}