* Re: BFD configuration for AIX
[not found] <200108290203.WAA23020@makai.watson.ibm.com>
@ 2001-08-28 20:39 ` Alan Modra
0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2001-08-28 20:39 UTC (permalink / raw)
To: David Edelsohn; +Cc: Tom Rix, binutils
On Tue, Aug 28, 2001 at 10:03:26PM -0400, David Edelsohn wrote:
> BeOS does not have a 64-bit mode, so it never should accept
> coff64. AIX prior to 4.3 does not have a 64-bit mode.
>
> config.bfd should test for
>
> rs6000-ibm-aix4.[3456789]* | powerpc-ibm-aix4.[3456789]*)
>
> and
>
> rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
>
> as is done for GCC in config.gcc.
OK, I'm committing the following
bfd/ChangeLog
* targmatch.sed: Delete case statements.
* config.bfd <powerpc-*-aix* entry>: Select 64 bit xcoff for
aix4.3 and above.
--
Alan Modra
Index: config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.64
diff -u -p -r1.64 config.bfd
--- config.bfd 2001/08/29 01:33:51 1.64
+++ config.bfd 2001/08/29 03:32:39
@@ -733,6 +733,10 @@ case "${targ}" in
powerpc-*-aix* | powerpc-*-beos* | rs6000-*-*)
targ_defvec=rs6000coff_vec
targ64_selvecs="rs6000coff64_vec"
+ case "${targ}" in
+ *-*-aix4.[3456789]* | *-*-aix[56789]*)
+ want64=true;;
+ esac
;;
#ifdef BFD64
powerpc64-*-aix*)
Index: targmatch.sed
===================================================================
RCS file: /cvs/src/src/bfd/targmatch.sed,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 targmatch.sed
--- targmatch.sed 1999/05/03 07:28:58 1.1.1.1
+++ targmatch.sed 2001/08/29 03:32:39
@@ -1,5 +1,6 @@
1,/START OF targmatch.h/ d
/END OF targmatch.h/,$ d
+/^[ ]*case/,/^[ ]*esac/ d
s/^#if/KEEP #if/
s/^#endif/KEEP #endif/
s/^[ ]*#.*$//
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-28 20:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <200108290203.WAA23020@makai.watson.ibm.com>
2001-08-28 20:39 ` BFD configuration for AIX Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).