This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] ELF section to segment mapping adjustments
- From: Ian Lance Taylor <ian at airs dot com>
- To: "Jan Beulich" <JBeulich at novell dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: 10 May 2005 11:12:55 -0400
- Subject: Re: [PATCH] ELF section to segment mapping adjustments
- References: <s280b8df.006@emea1-mh.id2.novell.com>
"Jan Beulich" <JBeulich@novell.com> writes:
> Shouldn't the executable permission be handled like the writeable one, i.e.
> attempting to not merge sections with different permissions into one
> segment?
If we break a segment to avoid merging a non-executable section with
an executable section, then we will wind up putting .text and .rodata
into different segments. We don't want to do that in the normal case.
Ian