outieee: Reorder ieeeSection members to eliminate holes
authorCyrill Gorcunov <gorcunov@gmail.com>
Sun, 28 Aug 2011 13:00:04 +0000 (17:00 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Sun, 28 Aug 2011 13:00:04 +0000 (17:00 +0400)
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
output/outieee.c

index a8f6901..94d5e59 100644 (file)
@@ -139,22 +139,22 @@ static struct ExtBack {
 
 /* NOTE: the first segment MUST be the lineno segment */
 static struct ieeeSection {
-    struct ieeeObjData *data, *datacurr;
     struct ieeeSection *next;
+    char *name;
+    struct ieeeObjData *data, *datacurr;
     struct ieeeFixupp *fptr, *flptr;
     int32_t index;                 /* the NASM segment id */
     int32_t ieee_index;            /* the OBJ-file segment index */
     int32_t currentpos;
     int32_t align;                 /* can be SEG_ABS + absolute addr */
     int32_t startpos;
+    int32_t use32;                 /* is this segment 32-bit? */
+    struct ieeePublic *pubhead, **pubtail, *lochead, **loctail;
     enum {
         CMB_PRIVATE = 0,
         CMB_PUBLIC = 2,
         CMB_COMMON = 6
     } combine;
-    int32_t use32;                 /* is this segment 32-bit? */
-    struct ieeePublic *pubhead, **pubtail, *lochead, **loctail;
-    char *name;
 } *seghead, **segtail, *ieee_seg_needs_update;
 
 struct ieeeObjData {