Incorrect GOT section flags on PPC?

Alan Modra amodra@bigpond.net.au
Fri Oct 25 04:44:00 GMT 2002


On Fri, Oct 25, 2002 at 05:58:48AM +0000, Charles M. Hannum wrote:
> It seems to me that, since there is in fact code in the GOT, that the
> GOT section on PowerPC should always have SEC_CODE said.  I confess
> that after some poking I was unable to find a nice way to do this,
> though.  Could someone suggest an approach that doesn't touch too much
> other code in BFD?

Something like bfd/elf32-ppc.c:ppc_elf_create_got, perhaps?

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list