linker err: relocation truncated to fit...

Sebastian J. Mathew benny9@rediffmail.com
Mon Dec 11 06:51:00 GMT 2000


Hi,
   I have ported the GNU assembler, linker, bfd for a
hypothetical i8088 like processor. The problem is that
for any instruction involving 8 bit displacement, which is set as a 8bit relocation (not PC_RELATIVE) the linker gives the following error message.

test.o:(.text+0x2):relocation truncated to fit :R_HYPO_8

What does this error message mean. Moreover, If I set 
the relocation type as PC_RELATIVE, the problem 
vanishes. 

Please help me with this problem.

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