]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
authorDavid Edelsohn <edelsohn@mhpcc.edu>
Tue, 17 Feb 1998 23:02:53 +0000 (23:02 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 17 Feb 1998 23:02:53 +0000 (16:02 -0700)
From-SVN: r18058

gcc/ChangeLog
gcc/config/rs6000/rs6000.h

index be83e9fa4a1df87d2259cb25b336eb8951834df8..06517bcff9a17df2ee0450fdde621a3f1eaa4f00 100644 (file)
@@ -1,5 +1,6 @@
 Tue Feb 17 23:34:29 1998 David Edelsohn  <edelsohn@mhpcc.edu>
 
+       * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
         * x-aix31 (INSTALL): Delete.
 
 Tue Feb 17 22:56:14 1998  Richard Henderson  <rth@cygnus.com>
index b16a5300012f7025dfe4e03597cf8b7a7decf72f..8960c8f312dd4362c94627f66a24238eefbf6659 100644 (file)
@@ -2051,10 +2051,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 these files in the right order to conditionally define
+   the value in the 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"