[lkml]   [2011]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 1/3] module: deal with alignment issues in built-in module versions
    On Thu, Feb 17, 2011 at 2:23 PM, David Miller <> wrote:
    > You have to also pick .word vs. .xword, or whatever the appropriate
    > sized pointer mnenomic is for a given architecture.  I know .word
    > works for 32-bit sparc, and .xword works for 64-bit sparc.

    Gaah, I didn't realize that we've never had to do anything like this
    before, and that the exception table is all arch-specific code. So we
    don't have any way to "output that damned pointer and stop whining
    about it" model at all.

    I really detest gcc sometimes. All these "clever" things that just
    make things harder to do. If the user explicitly tells it the section
    and the alignment, it should damn well not think that it knows better
    and change it. Damn.

    Maybe we have to take the "just confuse gcc enough and pray" approach
    on those pointers after all.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2011-02-17 23:51    [W:0.022 / U:12.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site