|
From: Nicholas N. <nj...@cs...> - 2005-11-16 23:03:18
|
On Thu, 17 Nov 2005, Paul Mackerras wrote:
>> - should we be creating a bss segment which is executable as well as
>> r/w-able?
>
> For ppc32, yes.
In that case should we make this code:
/* We make the data segment (heap) executable because LinuxThreads on
ppc32 creates trampolines in this area. */
sres = VG_(am_mmap_anon_fixed_client)(
anon_start,
anon_size,
VKI_PROT_READ|VKI_PROT_WRITE|VKI_PROT_EXEC
);
only set EXEC for ppc32, using a "#if defined(ppc32)"?
|