.note.GNU-stack section syntax
Charles Bailey
yasm at hashpling.org
Mon Dec 18 07:52:19 PST 2006
Hi,
In asm files designed to make elf object files I've come across use of a
section such as:
section .note.GNU-stack
I believe it is used to prevent an executable stack.
This syntax works for nasm but not for yasm, for which this works:
section ".note.GNU-stack"
Unfortunately, for nasm, this causes the quotes to appear in the section
name in the output object file.
I'm reluctant to call this a bug, but it is a nasm compatibility issue
and it currently affects libSDL, which is a little strange as libSDL's
configure chooses yasm in preference to nasm, but then fails to compile
with yasm.
Any thoughts?
Thanks,
Charles.
More information about the yasm-devel
mailing list