aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@xensource.com>2006-12-18 16:11:19 +0000
committerIan Campbell <ian.campbell@xensource.com>2006-12-18 16:11:19 +0000
commitbab7d4e41bcef7b1fb80cc51c9d6756b06041575 (patch)
treec2ede8e82e58bf6c653c53e0af884c890bb45814
parentbffa67fd6c92ab4742bea64860c498e69e693bb7 (diff)
downloadxen-bab7d4e41bcef7b1fb80cc51c9d6756b06041575.tar.gz
xen-bab7d4e41bcef7b1fb80cc51c9d6756b06041575.tar.bz2
xen-bab7d4e41bcef7b1fb80cc51c9d6756b06041575.zip
[XEN] Revert 12977:af39d20b2b728941421ef18e5c5b1012852eec80
This changeset broke the ELF note layout on x86_64. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
-rw-r--r--xen/include/xen/elfcore.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xen/include/xen/elfcore.h b/xen/include/xen/elfcore.h
index 356fc1744d..75ce7c49ef 100644
--- a/xen/include/xen/elfcore.h
+++ b/xen/include/xen/elfcore.h
@@ -87,7 +87,7 @@ typedef struct
desctype desc; \
PAD32(sizeof(desctype)); \
} desc; \
- } type
+ } __attribute__ ((packed)) type
#define CORE_STR "CORE"
#define CORE_STR_LEN 5 /* including terminating zero */
@@ -119,7 +119,7 @@ typedef struct {
crash_note_core_t core;
crash_note_xen_core_t xen_regs;
crash_note_xen_info_t xen_info;
-} crash_note_t;
+} __attribute__ ((packed)) crash_note_t;
#define setup_crash_note(np, member, str, str_len, id) \
np->member.note.note.note.namesz = str_len; \