Page 1 of 1
Linking
Posted: Tue Apr 16, 2002 11:00 pm
by Guest
what does it mean when ld says "bp.o(.text+0x4): relocation truncated to fit: 16 data"
and how do i solve it?
RE:Linking
Posted: Tue Apr 16, 2002 11:00 pm
by Guest
Can you give us some more info as to how you created your bp object and how your linking it
-Christopher
>On 2002-04-17 17:07:06, Anonymous wrote:
>what does it mean when ld says "bp.o(.text+0x4): relocation truncated to fit: 16 data"
>and how do i solve it?
RE:Linking
Posted: Wed Apr 17, 2002 11:00 pm
by Liam
>On 2002-04-17 19:28:23, Anonymous wrote:
>Can you give us some more info as to how you created your bp object and how your linking it
>
>
>-Christopher
>
>>On 2002-04-17 17:07:06, Anonymous wrote:
>>what does it mean when ld says "bp.o(.text+0x4): relocation truncated to fit: 16 data"
>>and how do i solve it?
bp.o is my assembler boilerplate, assembled with nasm (with no warnings,
dunno what it means (im not on my developement pc (im at skool)) but sumwhere in the "nasm" command it says aout?
the kernel.o file compiles okay with no warnings
but when it comes to "ld" it says that error message, im using a liker script thet places the kernel .text at 1meg 0x100...
also the nasm boilerplate has all the multiboot stuff.
it all worked fine untill i sterted putting strings (stuff for memory management (to get the total memory size)) into bp.asm
help appriciated, liam
RE:Linking
Posted: Thu Apr 18, 2002 11:00 pm
by Chris Giese
>On 2002-04-17 17:07:06, Anonymous wrote:
>what does it mean when ld says "bp.o(.text+0x4): relocation truncated to fit: 16 data"
16-bit code or data is at an address greater than 64K.
>and how do i solve it?
http://www.execpc.com/~geezer/osd/gotchas/#mixing