mirror of
https://github.com/golang/go
synced 2024-11-25 09:07:58 -07:00
ld: text segment should not be writable
R=adg CC=golang-dev https://golang.org/cl/3708041
This commit is contained in:
parent
e253d37d3e
commit
1116ec4f20
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user