Define ATTRIBUTE_PACKED and use as necessary.

This commit is contained in:
Nick Clifton
2006-12-06 14:36:41 +00:00
parent bf8ea306ec
commit 017b276a76
6 changed files with 27 additions and 8 deletions

View File

@ -245,11 +245,7 @@ typedef struct {
typedef struct {
unsigned char vs_vers[2];
}
#ifdef __GNUC__
__attribute__ ((packed))
#endif
Elf_External_Versym;
} ATTRIBUTE_PACKED Elf_External_Versym;
/* Structure for syminfo section. */
typedef struct