* coffcode.h (coff_set_arch_mach_hook, coff_set_flags):
	Change U802TOC64MAGIC to U803XTOCMAGIC.

include:
	* coff/rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC.
This commit is contained in:
Clinton Popetz 2000-05-06 01:41:50 +00:00
parent 3f7290da25
commit b5c5e30da7
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
Fri May 5 16:51:03 2000 Clinton Popetz <cpopetz@cygnus.com>
* coff/rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC.
Mon Apr 24 15:20:51 2000 Clinton Popetz <cpopetz@cygnus.com>
* include/coff/rs6k64.h: New file.

View File

@ -14,9 +14,9 @@ struct external_filehdr {
};
/* IBM RS/6000 */
#define U802TOC64MAGIC 0757 /* readonly text segments and TOC, XCOFF64 */
#define U803XTOCMAGIC 0757 /* readonly text segments and TOC, XCOFF64 */
#define BADMAG(x) ((x).f_magic != U802TOC64MAGIC)
#define BADMAG(x) ((x).f_magic != U803XTOCMAGIC)
#define FILHDR struct external_filehdr
#define FILHSZ 24
@ -49,11 +49,11 @@ typedef struct
unsigned char entry[8]; /* entry pt. */
unsigned char o_maxstack[8]; /* max stack size (??) */
unsigned char o_maxdata[8]; /* max data size (??) */
unsigned char o_resv3[116]; /* reserved */
unsigned char o_resv3[16]; /* reserved */
}
AOUTHDR;
#define AOUTSZ 220
#define AOUTSZ 120
#define SMALL_AOUTSZ (0)
#define AOUTHDRSZ 72