public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* linker stubs on ppc64
@ 2012-08-17 16:59 Ariel Burton
  2012-08-18  1:13 ` Alan Modra
  0 siblings, 1 reply; 2+ messages in thread
From: Ariel Burton @ 2012-08-17 16:59 UTC (permalink / raw)
  To: binutils

Hello,

Is it possible to instruct the linker to construct
linker stubs for all function calls on ppc64?
That is, can one tell the linker to treat all calls
as if caller and callee have different TOCs, even
if they are the same?

I am interested in the linux ppc64 static linking case.

Thanks,

Ariel

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

* Re: linker stubs on ppc64
  2012-08-17 16:59 linker stubs on ppc64 Ariel Burton
@ 2012-08-18  1:13 ` Alan Modra
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2012-08-18  1:13 UTC (permalink / raw)
  To: Ariel Burton; +Cc: binutils

On Fri, Aug 17, 2012 at 12:49:12PM -0400, Ariel Burton wrote:
> Is it possible to instruct the linker to construct
> linker stubs for all function calls on ppc64?
> That is, can one tell the linker to treat all calls
> as if caller and callee have different TOCs, even
> if they are the same?

No, not without hacking on elf64-ppc.c.

-- 
Alan Modra
Australia Development Lab, IBM

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

end of thread, other threads:[~2012-08-18  0:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-17 16:59 linker stubs on ppc64 Ariel Burton
2012-08-18  1:13 ` Alan Modra

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).