From: Geoffrey Keating Date: Wed, 12 Jan 2000 18:56:45 +0000 (+0000) Subject: Merge in changes from egcs for AIX cross-compilation support. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=91b2c84db09cd67af285d1866c78df1a9bc111b5;p=binutils-gdb.git Merge in changes from egcs for AIX cross-compilation support. --- diff --git a/ChangeLog b/ChangeLog index c5a19c42522..666852f075d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-01-06 Geoff Keating + + * configure.in: Use mt-aix43 to handle *_TARGET defs, + not mh-aix43. + 1999-09-04 Steve Chamberlain * config.sub: Add support for configuring for pj. diff --git a/config/ChangeLog b/config/ChangeLog index 7d6fc609368..d824a6fbd43 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,8 @@ +2000-01-06 Geoff Keating + + * mh-aix43: Delete, move to mt-aix43. + * mt-aix43: New file. + 1999-04-07 Michael Meissner * mt-d30v: New file, pass -g -Os -Wa,-C as default options. diff --git a/config/mh-aix43 b/config/mh-aix43 deleted file mode 100644 index 9eb750c2966..00000000000 --- a/config/mh-aix43 +++ /dev/null @@ -1,4 +0,0 @@ -# AIX 4.3 and above requires -X32_64 flag to all ar and nm commands -# to handle both 32-bit and 64-bit objects. -AR_FOR_TARGET=ar -X32_64 -NM_FOR_TARGET=nm -X32_64 diff --git a/config/mt-aix43 b/config/mt-aix43 new file mode 100644 index 00000000000..9eb750c2966 --- /dev/null +++ b/config/mt-aix43 @@ -0,0 +1,4 @@ +# AIX 4.3 and above requires -X32_64 flag to all ar and nm commands +# to handle both 32-bit and 64-bit objects. +AR_FOR_TARGET=ar -X32_64 +NM_FOR_TARGET=nm -X32_64 diff --git a/configure.in b/configure.in index a9221a66710..ac7ba63f317 100644 --- a/configure.in +++ b/configure.in @@ -14,7 +14,7 @@ ## For more information on these two systems, check out the documentation ## for 'Autoconf' (autoconf.texi) and 'Configure' (configure.texi). -# Copyright (C) 1992, 93, 94, 95, 96, 97, 1998, 1999 Free Software Foundation, Inc. +# Copyright (C) 1992-99, 2000 Free Software Foundation, Inc. # # This file is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by @@ -223,9 +223,6 @@ case "${host}" in *-*-lynxos*) host_makefile_frag="${host_makefile_frag} config/mh-lynxos" ;; - *-*-aix4.[3456789]* | *-*-aix[56789].*) - host_makefile_frag="${host_makefile_frag} config/mh-aix43" - ;; *-*-sysv4*) host_makefile_frag="${host_makefile_frag} config/mh-sysv4" ;; @@ -332,6 +329,9 @@ case "${target}" in *-*-linux-gnu) target_makefile_frag="${target_makefile_frag} config/mt-linux" ;; + *-*-aix4.[3456789]* | *-*-aix[56789].*) + target_makefile_frag="${target_makefile_frag} config/mt-aix43" + ;; esac # If --enable-target-optspace always use -Os instead of -O2 to build