[lkml]   [2003]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Handle R_ALPHA_REFLONG relocation on Alpha (2.6.0-test11)
    Nathan Poznick <> writes:

    > First off, I'm not positive that this patch is correct or not, but I'd
    > like to pick the brains of people in the know, to find if I'm
    > approaching this in the right way.
    > I've been unable to use modules on my Alpha with 2.6.0-test*. modprobe
    > (from module-init-tools 0.9.15-pre3) would claim an invalid module
    > format, and the kernel would tell me "Unknown relocation: 1" Relocation
    > 1 on Alpha is R_ALPHA_REFLONG, and sure enough, readelf -r on one of the
    > modules showed many, many uses of it. From looking at
    > arch/alpha/kernel/module.c, it appeared that while R_ALPHA_REFQUAD was
    > handled, R_ALPHA_REFLONG was not. R_ALPHA_REFQUAD's handling looked
    > simple enough, so I made the change which is inlined below.

    Which gcc and binutils versions do you use? I've seen some variation
    in which relocations they produce.

    Måns Rullgård

    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: 2005-03-22 13:59    [W:0.020 / U:5.616 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site