binutils/binutils-2.18.50.0.8-spu_ovl-fatal.patch
Jan Kratochvil faf2fe1f85 - Update to 2.18.50.0.8.
- Drop the .clmul -> .pclmul renaming backport.
- Add %{binutils_target} macro to support building cross-binutils. (David
    Woodhouse)
- Support `--without testsuite' to suppress the testsuite run.
- Support `--with debug' to build without optimizations.
- Refresh the patchset with fuzz 0 (for new rpmbuild).
- Enable the spu target on ppc/ppc64 (BZ 455242).
2008-07-31 07:41:11 +00:00

21 lines
639 B
Diff

2008-07-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'.
--- ld/emultempl/spuelf.em 19 Jun 2008 16:14:53 -0000 1.24
+++ ld/emultempl/spuelf.em 30 Jul 2008 18:28:25 -0000
@@ -57,7 +57,12 @@ char **my_argv;
static const char ovl_mgr[] = {
EOF
-../binutils/bin2c < ${srcdir}/emultempl/spu_ovl.o >> e${EMULATION_NAME}.c
+if ! ../binutils/bin2c < ${srcdir}/emultempl/spu_ovl.o >> e${EMULATION_NAME}.c
+then
+ echo >&2 "Missing ${srcdir}/emultempl/spu_ovl.o"
+ echo >&2 "You must build gas/as-new with --target=spu to build spu_ovl.o"
+ exit 1
+fi
fragment <<EOF
};