aboutsummaryrefslogtreecommitdiff
path: root/include/elf/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/elf/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/elf/external.h')
-rw-r--r--include/elf/external.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/elf/external.h b/include/elf/external.h
index 5985e94..21450f0 100644
--- a/include/elf/external.h
+++ b/include/elf/external.h
@@ -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