[parisc-linux] Module Relocation Problem

John David Anglin dave at hiauly1.hia.nrc.ca
Mon Jun 5 21:07:10 MDT 2006


> Anyway - I tried compiling the module with the "-mlong-calls" option - now =
> I=20
> get a different error message upon trying to insert the module into the=20
> kernel:
> 	module quickcam: Unknown relocation: 10

That's R_PARISC_PCREL21L.  I was afraid this might happen.

About the only easy things are "-Os" and "-fno-inline-functions".
These might shrink the module a bit.  Oh, "-fno-unroll-loops" might
also help.

Dave
-- 
J. David Anglin                                  dave.anglin at nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the parisc-linux mailing list