This is the mail archive of the
crossgcc@cygnus.com
mailing list for the crossgcc project.
Linker relocation problem
- To: "'crossgcc@cygnus.com'" <crossgcc@cygnus.com>
- Subject: Linker relocation problem
- From: "Duszczak, Richard" <richd@enikia.com>
- Date: Wed, 14 Jul 1999 18:10:52 -0400
- Reply-To: crossgcc@cygnus.com
Hi,
powerpc-elf-gcc -Wl,--discard-locals,--omagic -Wl,-r -o oscore.o exc-asm.o
main.o osenet.o mmu.o exception.o
powerpc-elf-gcc -Wl,--discard-locals,--omagic -mads -e _sysInit
-msoft-float -mrelocatable-lib -mno-eabi -g -DDEMO1 -D
OVERLAP_OFF -o ./powerline.elf \
oscore.o powerline.o
oscore.o: In function `mmuPpcDataTlbErrorHandler':
oscore.o(.text+0xc8): relocation truncated to fit: R_PPC_REL14 _exit
oscore.o(.text+0xd4): relocation truncated to fit: R_PPC_REL14 _exit
oscore.o(.text+0xe0): relocation truncated to fit: R_PPC_REL14 _exit
collect2: ld returned 1 exit status
make: *** [powerline.elf] Error 1
Can anybody explain the 'relocation truncated' errors?
They seem to be caused by the attached file.
<<exc-asm.S>>
Richard E. Duszczak
Design/Software Engineer
Enikia, Inc.
E-mail: richd@enikia.com
(732) 980-1200 x2777 (Voice)
(732) 980-0700 (Fax)
http://www.enikia.com/
exc-asm.S