import insight-2000-02-04 snapshot (2nd try)
[external/binutils.git] / include / coff / z8k.h
index 4cc6218..19b846c 100644 (file)
@@ -23,7 +23,7 @@ struct external_filehdr {
 #define Z8KBADMAG(x) (((x).f_magic!=Z8KMAGIC))
 
 #define        FILHDR  struct external_filehdr
-#define        FILHSZ  sizeof(FILHDR)
+#define        FILHSZ  20
 
 
 /********************** AOUT "OPTIONAL HEADER" **********************/
@@ -43,8 +43,8 @@ typedef struct
 AOUTHDR;
 
 
-#define AOUTHDRSZ (sizeof(AOUTHDR))
-#define AOUTSZ (sizeof(AOUTHDR))
+#define AOUTHDRSZ 28
+#define AOUTSZ 28
 
 
 
@@ -74,7 +74,7 @@ struct external_scnhdr {
 
 
 #define        SCNHDR  struct external_scnhdr
-#define        SCNHSZ  sizeof(SCNHDR)
+#define        SCNHSZ  40
 
 
 /********************** LINE NUMBERS **********************/
@@ -96,7 +96,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 **********************/
@@ -184,8 +184,8 @@ union external_auxent {
 /********************** 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];
@@ -199,8 +199,3 @@ struct external_reloc {
 #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