New port to Cell SPU

Alan Modra amodra@bigpond.net.au
Wed Oct 25 18:37:00 GMT 2006


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



More information about the Binutils mailing list