aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1993-01-27 06:46:40 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1993-01-27 06:46:40 -0500
commit7243ba7d92da0beb3d33ce8fe2f8451c02f3d36a (patch)
treefb715b0f37aab265639ba34d802b8268581d888d /gcc
parent2c440f06b8b5bb2c238c1a6ee1a92d7dd8e2eb40 (diff)
downloadgcc-7243ba7d92da0beb3d33ce8fe2f8451c02f3d36a.zip
gcc-7243ba7d92da0beb3d33ce8fe2f8451c02f3d36a.tar.gz
gcc-7243ba7d92da0beb3d33ce8fe2f8451c02f3d36a.tar.bz2
Delete ISCOFF macro which was in #ifdef _AIX.
From-SVN: r3363
Diffstat (limited to 'gcc')
-rw-r--r--gcc/collect2.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index f7f6d2a..f695d37 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -104,11 +104,6 @@ extern int errno;
#include <sgs.h>
#endif
-#ifdef _AIX
-#define ISCOFF(magic) \
- ((magic) == U802WRMAGIC || (magic) == U802ROMAGIC || (magic) == U802TOCMAGIC)
-#endif
-
/* Many versions of ldfcn.h define these. */
#ifdef FREAD
#undef FREAD
@@ -117,7 +112,11 @@ extern int errno;
#include <ldfcn.h>
-/* Mips-news overrides this macro. */
+/* Some systems have an ISCOFF macro, but others do not. In some cases
+ the macro may be wrong. MY_ISCOFF is defined in tm.h files for machines
+ that either do not have an ISCOFF macro in /usr/include or for those
+ where it is wrong. */
+
#ifndef MY_ISCOFF
#define MY_ISCOFF(X) ISCOFF (X)
#endif