Re: ntdll: prevent test from crashing on amd64

2006-11-15 Thread Peter Beutner
Marcus Meissner schrieb: > On Mon, Nov 13, 2006 at 08:54:33AM +0100, Peter Beutner wrote: >> Putting code in the .data section means it will be mapped RW only, causing >> segfaults when trying to execute it (at least on NX-capable systems). >> >> As a quick workaround mark it const, i.e. put it int

Re: ntdll: prevent test from crashing on amd64

2006-11-13 Thread Marcus Meissner
On Mon, Nov 13, 2006 at 08:54:33AM +0100, Peter Beutner wrote: > Putting code in the .data section means it will be mapped RW only, causing > segfaults when trying to execute it (at least on NX-capable systems). > > As a quick workaround mark it const, i.e. put it into the .rodata section > which