[parisc-linux] Module Relocation Problem
Kai Holthaus
kmh at sonic.net
Mon Jun 5 20:38:19 MDT 2006
> You might explore ways to reduce the modules's (e.g., limit inlining).
> You might also try compiling with the -mlong-calls options. This forces
> GCC to use the "bve" instruction for calls in PA 2.0 compilations. The
> call setup using bve is slightly longer but there are no distance
> limitations. There's also a PA 1.x variant using "ble". What's unclear
> to me is whether the kernel loader has support for the relocations used
> in these sequences.
I think I'm clearly out of my league here, since I honestly don't understand
bve vs ble... :(
Anyway - I tried compiling the module with the "-mlong-calls" option - now I
get a different error message upon trying to insert the module into the
kernel:
module quickcam: Unknown relocation: 10
Does that tell you anything? Because I have no clue...
Thanks so much for your help!
Kai
--
Hofstadter's Law:
"It always takes longer than you expect,
even when you take into account Hofstadter's Law."
-- Douglas R. Hofstadter
kmh.AT.sonic.net
Check out Mission Octagon - a new, exciting novel!
http://www.missionoctagon.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20060605/adc739a9/attachment-0002.pgp
More information about the parisc-linux
mailing list