summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/include/coff/h8500.h
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/binutils/include/coff/h8500.h')
-rw-r--r--gnu/usr.bin/binutils/include/coff/h8500.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/include/coff/h8500.h b/gnu/usr.bin/binutils/include/coff/h8500.h
index 5a8c9feace9..0305bf2b76b 100644
--- a/gnu/usr.bin/binutils/include/coff/h8500.h
+++ b/gnu/usr.bin/binutils/include/coff/h8500.h
@@ -20,7 +20,7 @@ struct external_filehdr {
#define H8500BADMAG(x) ((0xffff && ((x).f_magic)!=H8500MAGIC))
#define FILHDR struct external_filehdr
-#define FILHSZ sizeof(FILHDR)
+#define FILHSZ 20
/********************** AOUT "OPTIONAL HEADER" **********************/
@@ -40,8 +40,8 @@ typedef struct
AOUTHDR;
-#define AOUTHDRSZ (sizeof(AOUTHDR))
-#define AOUTSZ (sizeof(AOUTHDR))
+#define AOUTHDRSZ 28
+#define AOUTSZ 28
@@ -71,7 +71,7 @@ struct external_scnhdr {
#define SCNHDR struct external_scnhdr
-#define SCNHSZ sizeof(SCNHDR)
+#define SCNHSZ 40
/********************** LINE NUMBERS **********************/
@@ -93,7 +93,7 @@ struct external_lineno {
#define PUT_LINENO_LNNO(abfd,val, ext) bfd_h_put_32(abfd,val, (bfd_byte *) (ext->l_lnno));
#define LINENO struct external_lineno
-#define LINESZ sizeof(LINENO)
+#define LINESZ 8
/********************** SYMBOLS **********************/