aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/a29k
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-01-27 06:46:02 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-01-27 06:46:02 -0500
commit2c440f06b8b5bb2c238c1a6ee1a92d7dd8e2eb40 (patch)
treebca71a1495be0ba79e54214e2736ed954febd2e7 /gcc/config/a29k
parentd960abef0f4b3dfd94e5feb076e8854b0c86d950 (diff)
downloadgcc-2c440f06b8b5bb2c238c1a6ee1a92d7dd8e2eb40.zip
gcc-2c440f06b8b5bb2c238c1a6ee1a92d7dd8e2eb40.tar.gz
gcc-2c440f06b8b5bb2c238c1a6ee1a92d7dd8e2eb40.tar.bz2
(MY_ISCOFF): New macro.
From-SVN: r3362
Diffstat (limited to 'gcc/config/a29k')
-rw-r--r--gcc/config/a29k/unix.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/a29k/unix.h b/gcc/config/a29k/unix.h
index 0102c75..e135b48 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. */