lkml.org 
[lkml]   [2003]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Handle R_ALPHA_REFLONG relocation on Alpha (2.6.0-test11)
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.083 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site