This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
gas/configure.in: ppc-*-linux-gnu* target doesn't set "em=linux"
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 14 Oct 2003 16:13:18 -0500
- Subject: gas/configure.in: ppc-*-linux-gnu* target doesn't set "em=linux"
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) ;;