[Top] [All Lists]

"relocation truncated to fit: R_MIPS_CALL16"

To: linux-mips <>
Subject: "relocation truncated to fit: R_MIPS_CALL16"
From: zhuzhenhua <>
Date: Sun, 23 Apr 2006 11:02:46 +0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta;; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=LxFjdRsJlNbYF+o3mWJpoyGmwlNAaC0xWdn71rtatRYQYEhnH44TTSiIqlz3BUQkZKKk+8gbVs2OadNM9/jt5YPvezajReuWjcfoaTb1aUa5DrsLTSP13eRZ5/PlFZuPiW76i2I9HSYyO2Oj3k4CeRAmUeFfYEIYQVKoQYMg+Ss=
Original-recipient: rfc822;
i want to write a mini bootloader for my board, so i need jump to c
code from asm code
but when i compile and ld, i get "relocation truncated to fit:
R_MIPS_CALL16" messages for every function call..
i have try the mips_4KCle-gcc(worked for u-boot),
mips_fp_le-gcc(worked for mvita linux), and also a
mipsel-linux-gcc(worked for my linux 2.6 kernel), but they all failed,
even i add -G0 to gcc.
and i only compile success by using mips-elf-gcc under cygwin.
does it be caused by binutils version? or gcc compile CFLAGS?
thanks for any hints

Best Regards


<Prev in Thread] Current Thread [Next in Thread>