Disable relative calls

Laurențiu Dascălu dascalu.laurentziu@gmail.com
Sun Mar 28 03:04:00 GMT 2010


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



More information about the Gcc-help mailing list