SHA256
1
0
forked from pool/binutils
binutils/pre_checkin.sh
Michael Matz f1ad85c7c3 Accepting request 727474 from home:dirkmueller:branches:devel:gcc
- enable xtensa architecture (Tensilica lc6 and related)
- Fix SUSE typo in README package name


- Use -ffat-lto-objects in order to provide assembly for static libs
  (boo#1141913).

- Add binutils-pr24486.patch: fix for PR24486 (boo#1133131 boo#1133232).

- Add rx-gas-padding-pr24464.patch: fix for PR24464.

- riscv-abi-check.patch: Don't check ABI flags if no code section

- Add binutils.keyring and verify signature.

- Add disk and RAM (for ppc, ppc64 and ppc64le) constraint with _constraints.

- Update to binutils 2.32:
    * The binutils now support for the C-SKY processor series.
    * The x86 assembler now supports a -mvexwig=[0|1] option to control
      encoding of VEX.W-ignored (WIG) VEX instructions.
      It also has a new -mx86-used-note=[yes|no] option to generate (or
      not) x86 GNU property notes.  
    * The MIPS assembler now supports the Loongson EXTensions R2 (EXT2),
      the Loongson EXTensions (EXT) instructions, the Loongson Content
      Address Memory (CAM) ASE and the Loongson MultiMedia extensions
      Instructions (MMI) ASE.
    * The addr2line, c++filt, nm and objdump tools now have a default
      limit on the maximum amount of recursion that is allowed whilst
      demangling strings.  This limit can be disabled if necessary.

OBS-URL: https://build.opensuse.org/request/show/727474
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=308
2019-09-02 14:56:36 +00:00

23 lines
846 B
Bash

#!/bin/bash
# the script takes binutils* and creates the cross-* packages
rm -f cross-*-binutils.spec cross-*-binutils.changes
# sh4 is stuck in the testsuite
for arch in aarch64 hppa hppa64 arm i386 x86_64 s390 s390x ppc ppc64 ppc64le ia64 sparc sparc64 spu avr mips m68k epiphany rx riscv64 xtensa; do
echo -n "Building package for $arch --> cross-$arch-binutils ..."
ln -f binutils.changes cross-$arch-binutils.changes
targetarch=`echo $arch | sed -e "s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/"`
exclarch=`echo $arch | sed -e 's/parisc/hppa/;s/i.86/%ix86/;s/arm/%arm/'`
sed -e "s/^Name:.*binutils\$/Name: cross-$arch-binutils\nExcludeArch: $exclarch\n%define cross 1\n%define TARGET $targetarch/;" \
< binutils.spec > cross-$arch-binutils.spec
echo " done."
done
osc service localrun format_spec_file