This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Linker relocation problem


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]