direct-io.hg

changeset 13080:4ef0dbe95eac

[XEN] Revert 12977:af39d20b2b728941421ef18e5c5b1012852eec80

This changeset broke the ELF note layout on x86_64.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
author Ian Campbell <ian.campbell@xensource.com>
date Mon Dec 18 16:11:19 2006 +0000 (2006-12-18)
parents 8752418b58d8
children b3cd9c4ac056
files xen/include/xen/elfcore.h
line diff
     1.1 --- a/xen/include/xen/elfcore.h	Mon Dec 18 14:38:38 2006 +0000
     1.2 +++ b/xen/include/xen/elfcore.h	Mon Dec 18 16:11:19 2006 +0000
     1.3 @@ -87,7 +87,7 @@ typedef struct
     1.4              desctype desc;                      \
     1.5              PAD32(sizeof(desctype));            \
     1.6          } desc;                                 \
     1.7 -    } type
     1.8 +    } __attribute__ ((packed)) type
     1.9  
    1.10  #define CORE_STR                "CORE"
    1.11  #define CORE_STR_LEN            5 /* including terminating zero */
    1.12 @@ -119,7 +119,7 @@ typedef struct {
    1.13      crash_note_core_t core;
    1.14      crash_note_xen_core_t xen_regs;
    1.15      crash_note_xen_info_t xen_info;
    1.16 -} crash_note_t;
    1.17 +} __attribute__ ((packed)) crash_note_t;
    1.18  
    1.19  #define setup_crash_note(np, member, str, str_len, id) \
    1.20    np->member.note.note.note.namesz = str_len; \