oops, powerpc .plt

Franz Sirl Franz.Sirl-kernel@lauterbach.com
Wed May 8 01:55:00 GMT 2002


At 07:12 08.05.2002, Alan Modra wrote:
>Additionally, .got should really be marked executable too,
>as it contains a "blrl" instruction that is used to find the
>.got section.

One thing always made me wonder, since gcc actually produces "bl 
_GLOBAL_OFFSET_TABLE_@local-4" for -fpic, was this blrl initially planned 
to end up in the section/page preceding .got? Thus avoiding marking the 
whole .got executable?

Franz.



More information about the Binutils mailing list