* Disable relative calls
@ 2010-03-28 3:04 Laurențiu Dascălu
2010-04-07 14:29 ` Ian Lance Taylor
0 siblings, 1 reply; 2+ messages in thread
From: Laurențiu Dascălu @ 2010-03-28 3:04 UTC (permalink / raw)
To: gcc-help
Hello,
How can I disable near relative calls optimization? When calling a
function, instead of a relative call(generate 0xe8 instruction) I want
an absolute call.
I tried with -O0 and -g2, but .plt is still in the binary.
Thanks,
--
LaurenÈiu DascÄlu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Disable relative calls
2010-03-28 3:04 Disable relative calls Laurențiu Dascălu
@ 2010-04-07 14:29 ` Ian Lance Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 2010-04-07 14:29 UTC (permalink / raw)
To: Laurențiu Dascălu; +Cc: gcc-help
Laurențiu Dascălu <dascalu.laurentziu@gmail.com> writes:
> How can I disable near relative calls optimization? When calling a
> function, instead of a relative call(generate 0xe8 instruction) I want
> an absolute call.
I think you would have to edit the gcc source code, somewhere around
the "call" insn in gcc/config/i386/i386.md.
Ian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-07 14:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-28 3:04 Disable relative calls Laurențiu Dascălu
2010-04-07 14:29 ` Ian Lance Taylor
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).