diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-01-27 11:46:02 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1993-01-27 11:46:02 +0000 |
commit | 7cab51618d07b9577cd4189bef726f0536ecc466 (patch) | |
tree | bca71a1495be0ba79e54214e2736ed954febd2e7 /gcc/config | |
parent | c2a189657e5fc7bc15d905fb35d8e1154626f03f (diff) | |
download | gcc-7cab51618d07b9577cd4189bef726f0536ecc466.tar.gz |
(MY_ISCOFF): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3362 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/a29k/unix.h | 4 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/config/a29k/unix.h b/gcc/config/a29k/unix.h index 0102c751563..e135b48554b 100644 --- a/gcc/config/a29k/unix.h +++ b/gcc/config/a29k/unix.h @@ -40,6 +40,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #undef LINK_SPEC #define LINK_SPEC "-T default.gld%s" +/* Define the magic numbers that we recognize as COFF. */ + +#define MY_ISCOFF(magic) ((magic) == SIPFBOMAGIC || (magic) == SIPRBOMAGIC) + /* For some systems, it is best if double-word objects are aligned on a doubleword boundary. We want to maintain compatibility with MetaWare in a29k.h, but do not feel constrained to do so here. */ diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h index e0f7fddb64a..3e76e3609b5 100644 --- a/gcc/config/rs6000/rs6000.h +++ b/gcc/config/rs6000/rs6000.h @@ -1198,6 +1198,11 @@ struct rs6000_args {int words, fregno, nargs_prototype; }; /* 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 MY_ISCOFF(magic) \ + ((magic) == U802WRMAGIC || (magic) == U802ROMAGIC || (magic) == U802TOCMAGIC) + /* This is the only version of nm that collect2 can work with. */ #define REAL_NM_FILE_NAME "/usr/ucb/nm" |