comparison 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
comparison
equal deleted inserted replaced
255:704c28fd9428 256:7520e2260097
124 # define JE(X) je X 124 # define JE(X) je X
125 # define FLDS(X) flds X 125 # define FLDS(X) flds X
126 # define FLDL(X) fldl X 126 # define FLDL(X) fldl X
127 # define ADD(A,B) add A,B 127 # define ADD(A,B) add A,B
128 # define LOCAL(X) .X 128 # define LOCAL(X) .X
129 # 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*/
130 /* explicitly passing no args to mark stack nx */
131 # define SECTION_NOTE_NXSTACK .section .note.GNU-stack,"",@progbits
132 # else
133 # define SECTION_NOTE_NXSTACK
134 # endif
135 #endif 129 #endif
136 130