[XviD-devel] [PATCH resend] make the stack non-executable on x86_64 too

Michal Schmidt mschmidt at redhat.com
Wed Sep 16 17:29:17 CEST 2009


Dne Wed, 16 Sep 2009 14:31:29 +0200 pageexec at freemail.hu napsal(a):
> On 16 Sep 2009 at 13:37, Michal Schmidt wrote:
> > Another bug is that the section name is quoted and the quotes are
> > interpreted as a part of the name (this can be checked using
> > readelf -S on the object files). ld then can't find
> > the .note.GNU-stack sections and assumes executable stack.
> 
> careful, IIRC, nasm and yasm treat quotes differently and in an
> incompatible way, so you can produce the correct section name only
> under one or the other...

Alright, I wasn't aware of that. I tested with nasm.
I have now verified that with yasm 0.8.0 the sections are named as
expected and the resulting library does not require executable stack.

Michal


More information about the Xvid-devel mailing list