This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Relocation truncated to fit: R_HYPO_8 text
- To: binutils at sourceware dot cygnus dot com <binutils at sourceware dot cygnus dot com>
- Subject: Relocation truncated to fit: R_HYPO_8 text
- From: "Sebastian J. Mathew" <benny9 at rediffmail dot com>
- Date: 14 Dec 2000 06:41:02 -0000
Hi,
I have been trying to port binutils to Intel 8088 like
processor (hosted on pIII/Linux). Though I have been successful in porting the utilities to some extent,
I'm facing a problem, the discription of which is as
below:
For any instruction with 8bit displacement, when
I create a fixup, with relocation type not-PC-RELATIVE,
the linker gives the error message :
relocation truncated to fit: R_HYPO_8 text
The problem is that, the displacement value is well
within the limits of 8 bit value, then why does this
problem arise.
The same fixup when created with PC-RELATIVE, works fine.
Also, for a fixup with relocation type not-PC-RELATIVE,
if I specify the noinhibit-exec option of the linker, it
dumps the right displacement value that I want.
Please suggest me what should I look for. Please help me.
regards
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/