[PATCH] ELF section to segment mapping adjustments

Ian Lance Taylor ian@airs.com
Tue May 10 15:21:00 GMT 2005


"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



More information about the Binutils mailing list