This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Disable relative calls


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


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