Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-12-06 17:36:41 +0300
committerNick Clifton <nickc@redhat.com>2006-12-06 17:36:41 +0300
commit017b276a7623b6bdd1d3d0310c83d208114fb0d1 (patch)
tree3c284857000bd5a564edc8243f27534ea5a0949c /include/elf
parentbf8ea306ec8956f8ffc245e5f8efef58a44eebca (diff)
Define ATTRIBUTE_PACKED and use as necessary.
Diffstat (limited to 'include/elf')
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/external.h6
2 files changed, 6 insertions, 5 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 3a661cbeb..47d9d478f 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2006-12-05 Michael Tautschnig <tautschn@model.in.tum.de>
+ Nick Clifton <nickc@redhat.com>
+
+ * external.h (struct Elf_External_Versym): Use ATTRIBUTE_PACKED.
+
2006-10-28 Richard Sandiford <richard@codesourcery.com>
* mips.h (R_MIPS_GLOB_DAT): Define
diff --git a/include/elf/external.h b/include/elf/external.h
index 5985e94b0..21450f005 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