summary refs log tree commit diff
path: root/gas.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas.c')
-rw-r--r--gas.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas.c b/gas.c
index 4ac42be..865edba 100644
--- a/gas.c
+++ b/gas.c
@@ -141,6 +141,8 @@ gasemitfin(FILE *f)
 	int sz, i;
 	double d;
 
+	if (gasasm == Gaself)
+		fprintf(f, ".section .note.GNU-stack,\"\",@progbits\n\n");
 	if (!stash)
 		return;
 	fprintf(f, "/* floating point constants */\n.data\n");