* emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'.

This commit is contained in:
Jan Kratochvil 2008-07-31 05:27:54 +00:00
parent d970b37663
commit 2f9300efcd
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-07-31 Jan Kratochvil <jan.kratochvil@redhat.com>
* emultempl/spuelf.em: Abort on the missing required `spu_ovl.o'.
2008-07-30 Alan Modra <amodra@bigpond.net.au>
* emultempl/pe.em, emultempl/pep.em: Silence gcc warnings.

View File

@ -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
};