Subject: Re: more on non-executable mappings
To: Bang Jun-Young <email@example.com>
From: Chuck Silvers <firstname.lastname@example.org>
Date: 12/01/2003 09:06:14
On Mon, Dec 01, 2003 at 12:32:51AM +0900, Bang Jun-Young wrote:
> On Fri, Nov 28, 2003 at 11:57:21AM -0800, Chuck Silvers wrote:
> > (2) change the linker to put the PLT, GOT and rodata into their PT_LOAD
> > sections so that they can have different permissions than the existing
> > "text" and "data" load sections.
> Does this mean that in i386 we'll have 5 PT_LOAD sections, each for
> text, PLT, rodata, data, and GOT?
the way openbsd does it, they end up with 6: the 5 you list, plus one for
.dynamic. this morning it occurred to me that 3 of the 6 have the same
permissions, so they ought to be able to be merged, leaving a total of 4.
I don't know what problems this might cause, though.