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
98 int sz, i;98 int sz, i;
99 double d;99 double d;
100 100
101 fprintf(f, ".section .note.GNU-stack,\"\",@progbits\n");
102
103 if (!stash)101 if (!stash)
104 return;102 return;
105 fprintf(f, "/* floating point constants */\n.data\n");103 fprintf(f, "/* floating point constants */\n.data\n");
main.c+4−1
@@ -193,8 +193,11 @@ main(int ac, char *av[]) · 192 unmodified lines
193 parse(inf, f, data, func);193 parse(inf, f, data, func);
194 } while (++optind < ac);194 } while (++optind < ac);
195 195
196 if (!dbg)196 if (!dbg) {
197 gasemitfin(outf);197 gasemitfin(outf);
198 if (asm == Gaself)
199 fprintf(outf, ".section .note.GNU-stack,\"\",@progbits\n");
200 }
198 201
199 exit(0);202 exit(0);
200}203}

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