[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] [XEN] Revert 12977:af39d20b2b728941421ef18e5c5b1012852eec80



# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
# Date 1166458279 0
# Node ID 4ef0dbe95eac33033abeee36a8f13eaaeb9d5639
# Parent  8752418b58d8b007b4937471b024ca3f3a3618ea
[XEN] Revert 12977:af39d20b2b728941421ef18e5c5b1012852eec80

This changeset broke the ELF note layout on x86_64.

Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxxxxx>
---
 xen/include/xen/elfcore.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 8752418b58d8 -r 4ef0dbe95eac xen/include/xen/elfcore.h
--- a/xen/include/xen/elfcore.h Mon Dec 18 14:38:38 2006 +0000
+++ b/xen/include/xen/elfcore.h Mon Dec 18 16:11:19 2006 +0000
@@ -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; \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.