gas/configure.in: ppc-*-linux-gnu* target doesn't set "em=linux"

Peter Bergner bergner@vnet.ibm.com
Tue Oct 14 21:13:00 GMT 2003


Alan,

Is there a reason why ppc-*-linux-gnu* seems to be the only target
in gas/configure.in that doesn't set em=linux or was it just an
oversite so we want something like the patch below?

Peter


2003-10-14  Peter Bergner  <bergner@vnet.ibm.com>

	* configure.in: Set em=linux for ppc-*-linux-gnu* target.


Index: configure.in
===================================================================
RCS file: /cvs/src/src/gas/configure.in,v
retrieving revision 1.140
diff -u -r1.140 configure.in
--- configure.in        30 Sep 2003 16:17:12 -0000      1.140
+++ configure.in        14 Oct 2003 20:58:17 -0000
@@ -411,7 +411,7 @@
        ppc-*-beos*)                     fmt=coff ;;
        ppc-*-*n*bsd* | ppc-*-elf*)      fmt=elf ;;
        ppc-*-eabi* | ppc-*-sysv4*)      fmt=elf ;;
-      ppc-*-linux-gnu*)                        fmt=elf
+      ppc-*-linux-gnu*)                        fmt=elf em=linux
	    case "$endian" in
		big)  ;;
		*)    AC_MSG_ERROR(GNU/Linux must be configured big endian) ;;



More information about the Binutils mailing list