.{init,fini,preinit}_array in RW segment??

Alan Modra amodra@bigpond.net.au
Mon Jan 13 13:32:00 GMT 2003


On Mon, Jan 13, 2003 at 02:16:53PM +0100, Jakub Jelinek wrote:
>   .init_array   ${RELOCATING-0} : { *(.init_array) }
> 
> Shouldn't they be in the RO segment for binaries?

According to the gabi, .init_array etc. are SHF_ALLOC+SHF_WRITE

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list