This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: .{init,fini,preinit}_array in RW segment??
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 14 Jan 2003 00:02:12 +1030
- Subject: Re: .{init,fini,preinit}_array in RW segment??
- References: <20030113141653.S6196@sunsite.ms.mff.cuni.cz>
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