summary refs log tree commit diff
path: root/main.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin@c9x.me>2022-04-11 14:54:44 +0200
committerQuentin Carbonneaux <quentin@c9x.me>2022-04-11 14:57:50 +0200
commit2caa26e388b1c904d2f12fb09f84df7e761d8331 (patch)
treeb5cad31b233e5e93471b442644f4abbf58d73cc2 /main.c
parent3c5cd9fdd099dc13e75383fef302e3ef610b439d (diff)
downloadroux-2caa26e388b1c904d2f12fb09f84df7e761d8331.tar.gz
move nx stack annotation to gas.c
Diffstat (limited to 'main.c')
-rw-r--r--main.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.c b/main.c
index 71b01f1..2ff9b9c 100644
--- a/main.c
+++ b/main.c
@@ -188,11 +188,8 @@ main(int ac, char *av[])
 		fclose(inf);
 	} while (++optind < ac);
 
-	if (!dbg) {
+	if (!dbg)
 		gasemitfin(outf);
-		if (asmmode == Gaself)
-			fprintf(outf, ".section .note.GNU-stack,\"\",@progbits\n");
-	}
 
 	exit(0);
 }