obj: Fix object file format 32bit alignment
authorAlan Cox <alan@linux.intel.com>
Wed, 15 Nov 2017 21:07:11 +0000 (21:07 +0000)
committerAlan Cox <alan@linux.intel.com>
Wed, 15 Nov 2017 21:07:11 +0000 (21:07 +0000)
Otherwise it'll be a pain in the butt for cross tools and testing

(This breaks every existing object file... at least natively)

Applications/MWC/cmd/asz80/obj.h

index 32b59a5..4645b73 100644 (file)
@@ -32,7 +32,7 @@ struct objhdr
 #define OA_DGNOVA_FPU  2
 #define OA_DGNOVA_NOVA3        4
 #define        OA_DGNOVA_NOVA4 8
-
+    uint16_t o_unused;         /* So it packs right */
     uint32_t o_segbase[OSEG];
     uint16_t o_size[OSEG];
     uint32_t o_symbase;