public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* powerpc-elf-ld problem(solaris host)
@ 2000-04-03  8:56 PIYUSH GUPTA
  2000-04-03  9:33 ` Peter Barada
  0 siblings, 1 reply; 2+ messages in thread
From: PIYUSH GUPTA @ 2000-04-03  8:56 UTC (permalink / raw)
  To: crossgcc

Hello,

   I am making cross-compiler for host Sun Solaris 2.6
and target powerpc.

  I configured and compiled binutils-2.9.1 and
 gcc-2.95.2 as follows:-
 configure --target=powerpc-elf --program-transform=n
 
  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

 It would be of much help if you could point out
the probable reasons for this problem.

 Thanking you for your time,

with regards,
Piyush

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: powerpc-elf-ld problem(solaris host)
  2000-04-03  8:56 powerpc-elf-ld problem(solaris host) PIYUSH GUPTA
@ 2000-04-03  9:33 ` Peter Barada
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Barada @ 2000-04-03  9:33 UTC (permalink / raw)
  To: piyush_g; +Cc: crossgcc

>  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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-04-03  9:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-03  8:56 powerpc-elf-ld problem(solaris host) PIYUSH GUPTA
2000-04-03  9:33 ` Peter Barada

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).