Mercurial > pub > dyncall > dyncall
diff portasm/portasm-x86.S @ 256:7520e2260097
- added to configure some detection on how to compile .s/.S with --noexecstack (or similar), as compilers' defaults are often insane
- since no-execstack handling is now in build, remove .note.GNU-stack section markers (were of limites use, anyways, b/c unportable or implemented inconsistently across platforms)
- some ToDo, etc. updates
author | Tassilo Philipp |
---|---|
date | Sat, 20 May 2017 00:02:59 +0200 |
parents | 2f6e0dd03bed |
children | f5577f6bf97a |
line wrap: on
line diff
--- a/portasm/portasm-x86.S Wed May 17 02:39:41 2017 +0200 +++ b/portasm/portasm-x86.S Sat May 20 00:02:59 2017 +0200 @@ -126,11 +126,5 @@ # define FLDL(X) fldl X # define ADD(A,B) add A,B # define LOCAL(X) .X -# if defined(ABI_ELF) && !defined(CC_SUN)/*syntax error*/ && !defined(OS_OpenBSD)/*does this by default, and better*/ && !defined(OS_DragonFlyBSD)/*does this by default, and better*/ -/* explicitly passing no args to mark stack nx */ -# define SECTION_NOTE_NXSTACK .section .note.GNU-stack,"",@progbits -# else -# define SECTION_NOTE_NXSTACK -# endif #endif