diff options
author | David Edelsohn <edelsohn@mhpcc.edu> | 1998-02-17 23:02:53 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1998-02-17 16:02:53 -0700 |
commit | 1203e2021f67ad6361e83c1fbc01fe7d8da08be1 (patch) | |
tree | cab09d40674103c7e5e35b1f34242b23d443b019 | |
parent | c0723b338a8755ec250b0223dfbf1b0cbc0fcc1a (diff) | |
download | gcc-1203e2021f67ad6361e83c1fbc01fe7d8da08be1.tar.gz |
* rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
From-SVN: r18058
-rw-r--r-- | gcc/ChangeLog | 1 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 8 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index be83e9fa4a1..06517bcff9a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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> diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index b16a5300012..8960c8f312d 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -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" |