move nx stack annotation to gas.c
This commit is contained in:
parent
3c5cd9fdd0
commit
2caa26e388
2 changed files with 3 additions and 4 deletions
2
gas.c
2
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");
|
||||
|
|
5
main.c
5
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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue