Commit 1116ec4f authored by Russ Cox's avatar Russ Cox

ld: text segment should not be writable

R=adg
CC=golang-dev
https://golang.org/cl/3708041
parent e253d37d
......@@ -857,7 +857,7 @@ address(void)
uvlong va;
va = INITTEXT;
segtext.rwx = 07;
segtext.rwx = 05;
segtext.vaddr = va;
segtext.fileoff = HEADR;
for(s=segtext.sect; s != nil; s=s->next) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment