History

skip nx stack annotation on osx

Quentin Carbonneaux committed 5 years ago

Commit 52c8eb41 parent 6a692102 files · +4 −3Browse files

Unified · Split

2 files
  1. gas.c +0 −2
  2. main.c +4 −1
gas.c+0−2
@@ -98,8 +98,6 @@ gasemitfin(FILE *f) · 97 unmodified lines
9898 int sz, i;
9999 double d;
100100
101− fprintf(f, ".section .note.GNU-stack,\"\",@progbits\n");
102−
103101 if (!stash)
104102 return;
105103 fprintf(f, "/* floating point constants */\n.data\n");
main.c+4−1
@@ -193,8 +193,11 @@ main(int ac, char *av[]) · 192 unmodified lines
193193 parse(inf, f, data, func);
194194 } while (++optind < ac);
195195
196− if (!dbg)
196+ if (!dbg) {
197197 gasemitfin(outf);
198+ if (asm == Gaself)
199+ fprintf(outf, ".section .note.GNU-stack,\"\",@progbits\n");
200+ }
198201
199202 exit(0);
200203 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t