From: David Edelsohn Date: Tue, 17 Feb 1998 23:02:53 +0000 (+0000) Subject: * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC. X-Git-Tag: prereleases/egcs-1.0.2-prerelease~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1203e2021f67ad6361e83c1fbc01fe7d8da08be1;p=thirdparty%2Fgcc.git * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC. From-SVN: r18058 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index be83e9fa4a1d..06517bcff9a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,6 @@ Tue Feb 17 23:34:29 1998 David Edelsohn + * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC. * x-aix31 (INSTALL): Delete. Tue Feb 17 22:56:14 1998 Richard Henderson diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index b16a5300012f..8960c8f312dd 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"