aboutsummaryrefslogtreecommitdiff
path: root/include/coff
diff options
context:
space:
mode:
authorClinton Popetz <cpopetz@cpopetz.com>2000-05-06 01:41:50 +0000
committerClinton Popetz <cpopetz@cpopetz.com>2000-05-06 01:41:50 +0000
commitc6664dfb26da335900bc3276764e24362a54e372 (patch)
tree69c7af37152c239f2f692f15a3bcd0bd4ae177e1 /include/coff
parente919ea793df3bb786de64e259076361a0b2534a3 (diff)
downloadgdb-c6664dfb26da335900bc3276764e24362a54e372.zip
gdb-c6664dfb26da335900bc3276764e24362a54e372.tar.gz
gdb-c6664dfb26da335900bc3276764e24362a54e372.tar.bz2
bfd:
* coffcode.h (coff_set_arch_mach_hook, coff_set_flags): Change U802TOC64MAGIC to U803XTOCMAGIC. include: * coff/rs6k64.h (U802TOC64MAGIC): Change to U803XTOCMAGIC.
Diffstat (limited to 'include/coff')
-rw-r--r--include/coff/rs6k64.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/coff/rs6k64.h b/include/coff/rs6k64.h
index 86d739c..80d8e4c0e9 100644
--- a/include/coff/rs6k64.h
+++ b/include/coff/rs6k64.h
@@ -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