This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re:relocation tuncated to fit ...


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/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]