Messages in this thread | | | From | (Måns Rullgård) | Subject | Re: [PATCH] Handle R_ALPHA_REFLONG relocation on Alpha (2.6.0-test11) | Date | Sat, 13 Dec 2003 03:27:06 +0100 |
| |
Nathan Poznick <kraken@drunkmonkey.org> 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 mru@kth.se
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |