This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]