This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: New port to Cell SPU
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Cc: gcc-patches at gcc dot gnu dot org, gdb-patches at sourceware dot org
- Date: Wed, 25 Oct 2006 16:49:03 +0930
- Subject: Re: New port to Cell SPU
- References: <20061025064645.GI26170@bubble.grove.modra.org>
On Wed, Oct 25, 2006 at 04:16:45PM +0930, Alan Modra wrote:
> This implements binutils support for the Sony/Toshiba/IBM Synergistic
> Processor Unit. One feature of this port is a built-in linker overlay
[snip]
This fixes a make -j problem with this port. The newly built
assembler is used to assemble the overlay manager code, so we need
to ensure that the assembler is in fact built before attempting to
use it. OK to apply to gcc and src repositories?
* configure.in (serialization_dependencies): Make all-ld depend
on all-gas for spu target in maintainer mode.
* configure: Regenerate.
Index: configure.in
===================================================================
RCS file: /cvs/src/src/configure.in,v
retrieving revision 1.318
diff -u -p -r1.318 configure.in
--- configure.in 27 Sep 2006 16:20:49 -0000 1.318
+++ configure.in 25 Oct 2006 01:14:11 -0000
@@ -1957,6 +1957,11 @@ for item in ${target_configdirs} ; do
esac
olditem=${item}
done
+# spu ld makefile invokes as-new in maintainer mode.
+test "x${enable_maintainer_mode}" = xyes &&
+case ${target} in
+ spu*) echo "all-ld: all-gas" >> serdep.tmp ;;
+esac
serialization_dependencies=serdep.tmp
AC_SUBST_FILE(serialization_dependencies)
--
Alan Modra
IBM OzLabs - Linux Technology Centre