relocation tuncated to fit ...

Sebastian J. Mathew benny9@rediffmail.com
Tue Dec 12 02:26:00 GMT 2000


Hi,
   In addition to the problem that i mentioned yesterday,
this is the behaviour that i noticed:

If i specify the relocation type as 8 bit pc_rel, the
linker does not cribb and does a clean link.

If i specify the relocation type as 8 bit (not pc_rel),
the linker gives the error "relocation truncated to fit: R_HYPO_8 text". If i specify the -noinhibit-exec option
on the linker command line, the executable gets created
WITH PROPER VALUE as displacement. This is the effect
that I want, but for the linker error.

Also the displacement value is within 127 infact it is 86.

Please help me out with this problem.

Waiting for your kind help.

sincerely
sebastian

_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com

Participate in crazy auctions at http://auctions.rediff.com/auctions/





More information about the Gcc mailing list