[lkml]   [2011]   [May]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] ARM: Do not allow unaligned accesses when CONFIG_ALIGNMENT_TRAP

    > Catalin said in his mail "I haven't tried with -mno-unaligned-access, I
    > suspect the variables on the stack would be aligned.". So I don't think
    > we know enough to say whether -mno-unaligned-access avoids the stack
    > packing.

    It won't, the arm gcc code just checks flag_conserve_stack.
    IMHO it's just a gcc bug. You should report it to

    As a temporary workaround you can disable it in the kernel too, but as soon
    as the compiler it's fixed I would recommend considering to reenable it.


     \ /
      Last update: 2011-05-27 00:31    [W:0.019 / U:178.340 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site