gcc and -fPIC

Alan Modra amodra@bigpond.net.au
Fri Apr 13 08:21:00 GMT 2007


On Wed, Apr 11, 2007 at 07:55:27AM +0200, Gerhard Wiesinger wrote:
> So is the code gcc produces (in)correct, or objdump can't read any Position 
> Independent Code?

Neither.  "call .+4; pop %ebx;" just loads the run-time address of the
pop insn into ebx .

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list