per page execute

Alan Modra amodra at bigpond.net.au
Sat Jan 10 10:28:37 EST 2004


On Fri, Jan 09, 2004 at 04:46:43PM -0600, linas at austin.ibm.com wrote:
> Dumb question: can you pad out the .got to a 4K boundary?

Yes.  One way is to create some empty sections with the required
alignment.

 .section ".got"
 .p2align 12

 .section ".sdata"
 .p2align 12

You can also tweak linker scripts to do the alignment.

--
Alan Modra
IBM OzLabs - Linux Technology Centre

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list