Commit 2c440f06 by Richard Kenner

(MY_ISCOFF): New macro.

From-SVN: r3362
parent d960abef
...@@ -40,6 +40,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -40,6 +40,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef LINK_SPEC #undef LINK_SPEC
#define LINK_SPEC "-T default.gld%s" #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 /* For some systems, it is best if double-word objects are aligned on a
doubleword boundary. We want to maintain compatibility with MetaWare in doubleword boundary. We want to maintain compatibility with MetaWare in
a29k.h, but do not feel constrained to do so here. */ a29k.h, but do not feel constrained to do so here. */
......
...@@ -1198,6 +1198,11 @@ struct rs6000_args {int words, fregno, nargs_prototype; }; ...@@ -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 if the object format being used is COFF or a superset. */
#define OBJECT_FORMAT_COFF #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. */ /* This is the only version of nm that collect2 can work with. */
#define REAL_NM_FILE_NAME "/usr/ucb/nm" #define REAL_NM_FILE_NAME "/usr/ucb/nm"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment