rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
authorDavid Edelsohn <edelsohn@mhpcc.edu>
Mon, 16 Feb 1998 13:17:50 +0000 (13:17 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Mon, 16 Feb 1998 13:17:50 +0000 (08:17 -0500)
        * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
        * x-aix31 (INSTALL): Delete.

From-SVN: r18027

gcc/ChangeLog
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/x-aix31

index 89c544c..8421481 100644 (file)
@@ -1,3 +1,8 @@
+Mon Feb 16 16:13:43 1998  David Edelsohn  <edelsohn@mhpcc.edu>
+
+       * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
+       * x-aix31 (INSTALL): Delete.
+
 Mon Feb 16 09:24:32 1998  Gavin Koch  <gavin@cygnus.com>
 
        * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if 
index 9a5b281..c3806a3 100644 (file)
@@ -2052,10 +2052,14 @@ typedef struct rs6000_args
 /* Define if the object format being used is COFF or a superset.  */
 #define OBJECT_FORMAT_COFF
 
-/* Define the magic numbers that we recognize as COFF.  */
+/* Define the magic numbers that we recognize as COFF.
+   AIX 4.3 adds U803XTOCMAGIC (0757) for 64-bit executables, but collect2.c
+   does not include files in the correct order to conditionally define
+   the symbolic name in this macro.  */
 
 #define MY_ISCOFF(magic) \
-  ((magic) == U802WRMAGIC || (magic) == U802ROMAGIC || (magic) == U802TOCMAGIC)
+  ((magic) == U802WRMAGIC || (magic) == U802ROMAGIC \
+   || (magic) == U802TOCMAGIC || (magic) == 0757)
 
 /* This is the only version of nm that collect2 can work with.  */
 #define REAL_NM_FILE_NAME "/usr/ucb/nm"
index 635167c..e5bbc19 100644 (file)
@@ -1,5 +1,4 @@
 # configuration for IBM rs6000 running aix
-INSTALL=/usr/ucb/install -c
 
 # Show we need to use the C version of ALLOCA
 ALLOCA=alloca.o