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

See the CrossGCC FAQ for lots more infromation.


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

Re: powerpc-elf-ld problem(solaris host)



>  configure --target=powerpc-elf --with-gnu-ld
>--with-gnu-as
>
>  Compiled libgcc.a using target header files.
>
> When linking ld gives the following problem :-
>  (.txt 0x00fa...) Relocation truncated to fit:
>   R_PPC_REL24 __tf13bad_exception

The error is that the linker is trying to construct an instruction
that has a PC relative offset constrained to 24 bits, and the offset
is larger than 24 bits. See if the PC at that point and the sumbol
__tf13bad_exception are more than 16Mb apart. If so, make them closer.

-- 
Peter Barada                             pbarada@wavemark.com
Wizard                                   781-852-2768 (direct)
WaveMark Technologies, Inc.              781-270-0193 (fax)

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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