• Suresh B. Siddha's avatar
    [PATCH] ia64: 2/2 fix in machvec.h · aa02c546
    Suresh B. Siddha authored
    IA64 ABI specifies that globals > 8 bytes need to be aligned to 16 bytes.
    gcc doesn't follow this convention. Current kernel code will fail to work with
    a compiler which follows the ABI.
    
    size of structure ia64_machine_vector is > 8 bytes and not multiple of 16 bytes.
    When we have CONFIG_IA64_GENERIC, each machine specific vector from different
    object files gets linked into a user defined section(forming array of
    structures).
    
    Now with a compiler conforming to ABI, there will be holes in this array
    resulting in the code failure when it goes through this array of structures.
    
    Following patch will make the size of the structure to be multiple of 16 bytes
    making both ABI confirming/non-conforming compilers happy.
    aa02c546
machvec.h 10.5 KB