#define Z8KBADMAG(x) (((x).f_magic!=Z8KMAGIC))
#define FILHDR struct external_filehdr
-#define FILHSZ sizeof(FILHDR)
+#define FILHSZ 20
/********************** AOUT "OPTIONAL HEADER" **********************/
AOUTHDR;
-#define AOUTHDRSZ (sizeof(AOUTHDR))
-#define AOUTSZ (sizeof(AOUTHDR))
+#define AOUTHDRSZ 28
+#define AOUTSZ 28
#define SCNHDR struct external_scnhdr
-#define SCNHSZ sizeof(SCNHDR)
+#define SCNHSZ 40
/********************** LINE NUMBERS **********************/
#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 **********************/
/********************** RELOCATION DIRECTIVES **********************/
/* The external reloc has an offset field, because some of the reloc
- types on the h8 don't have room in the instruction for the entire
- offset - eg the strange jump and high page addressing modes */
+ types on the z8k don't have room in the instruction for the entire
+ offset - eg with segments */
struct external_reloc {
char r_vaddr[4];
#define RELOC struct external_reloc
#define RELSZ 16
-#define DEFAULT_DATA_SECTION_ALIGNMENT 4
-#define DEFAULT_BSS_SECTION_ALIGNMENT 4
-#define DEFAULT_TEXT_SECTION_ALIGNMENT 4
-/* For new sections we havn't heard of before */
-#define DEFAULT_SECTION_ALIGNMENT 4