aboutsummaryrefslogtreecommitdiff
path: root/include/coff/external.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-12-06 14:36:41 +0000
committerNick Clifton <nickc@redhat.com>2006-12-06 14:36:41 +0000
commit4fd454c89d63c73fd5e99ce5eb2a3174fcfd4f5d (patch)
tree7d4281098dd36db5421629a67e371ea6b3fc3650 /include/coff/external.h
parent4ae4f4fb150a246ec9232d07cf754f9691feb7c9 (diff)
downloadgdb-4fd454c89d63c73fd5e99ce5eb2a3174fcfd4f5d.zip
gdb-4fd454c89d63c73fd5e99ce5eb2a3174fcfd4f5d.tar.gz
gdb-4fd454c89d63c73fd5e99ce5eb2a3174fcfd4f5d.tar.bz2
Define ATTRIBUTE_PACKED and use as necessary.
Diffstat (limited to 'include/coff/external.h')
-rw-r--r--include/coff/external.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/coff/external.h b/include/coff/external.h
index e38fb1b..8dabc8a 100644
--- a/include/coff/external.h
+++ b/include/coff/external.h
@@ -50,7 +50,7 @@ typedef struct external_aouthdr
char entry[4]; /* entry pt. */
char text_start[4]; /* base of text used for this file */
char data_start[4]; /* base of data used for this file */
- }
+ } ATTRIBUTE_PACKED
AOUTHDR;
#define AOUTHDRSZ 28
@@ -164,7 +164,7 @@ struct external_syment
char e_type[2];
char e_sclass[1];
char e_numaux[1];
-};
+} ATTRIBUTE_PACKED ;
#define SYMENT struct external_syment
#define SYMESZ 18
@@ -256,7 +256,7 @@ union external_auxent
char x_tvlen[2]; /* length of .tv */
char x_tvran[2][2]; /* tv range */
} x_tv; /* info about .tv section (in auxent of symbol .tv)) */
-};
+} ATTRIBUTE_PACKED ;
#define AUXENT union external_auxent
#define AUXESZ 18