[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
binutils-2.9.1.0.25 + rtems-patches is broken
- Date: 30 Jul 1999 02:21:50 -0400
- From: ian at zembu.com (Ian Lance Taylor)
- Subject: binutils-2.9.1.0.25 + rtems-patches is broken
Date: Thu, 29 Jul 1999 17:07:48 -0500 (CDT)
From: <joel at oarcorp.com>
I recall investigating the last time Ralf ran into this.
Ian .. does this look familiar to anything on the binutils list?
On Thu, 15 Jul 1999, Ralf Corsepius wrote:
> A linker problem with sptests/sp25 for i386-rtems (elf) / i386ex:
>
> /opt/rtems/bin/i386-rtems-gcc --pipe -B../../../../../i386ex/lib/ -specs bsp_specs
> -qrtems -I../../../../../i386ex/lib/include/networking -g -Wall -ansi -fasm
> -O4 -o o-i386ex/sp25.coff o-i386ex/init.o o-i386ex/task1.o
> ../../../../../i386ex/lib/no-dpmem.rel ../../../../../i386ex/lib/no-event.rel
> ../../../../../i386ex/lib/no-msg.rel ../../../../../i386ex/lib/no-mp.rel
> ../../../../../i386ex/lib/no-part.rel ../../../../../i386ex/lib/no-signal.rel
> ../../../../../i386ex/lib/no-timer.rel ../../../../../i386ex/lib/no-rtmon.rel
> ../../../../../i386ex/lib/libtest.a
> ../../../../../i386ex/lib/start.o(.initial+0x157): relocation truncated to fit:
> R_386_16 i8259s_cache
> collect2: ld returned 1 exit status
> make[5]: *** [o-i386ex/sp25.exe] Error 1
This error just means that there is a 16 bit relocation to an address
which could not be represented in 16 bits. Normally the fix is to add
a data32 or addr32 prefix to get a 32 bit relocation instead.
Ian