]> Cypherpunks repositories - gostls13.git/commit
6l, 8l: include ELF header in PT_LOAD mapping for text segment
authorRuss Cox <rsc@golang.org>
Wed, 21 Apr 2010 03:39:55 +0000 (20:39 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 21 Apr 2010 03:39:55 +0000 (20:39 -0700)
commit1c0c252880112892427bb4ba55968a2fceef95ef
treeaca3d246ff0a1b9b0d740ded5b39ba1eb210db8a
parent76cbbc8a9525b07085515511e87672e0f0886aeb
6l, 8l: include ELF header in PT_LOAD mapping for text segment

Due to page boundary rounding, the header would have
been loaded as part of the text segment already, but this
change placates the "paxctl" tool on so-called hardened
Linux distributions (as if normal distributions weren't already
hard enough to use).

R=r
CC=golang-dev
https://golang.org/cl/954041
src/cmd/6l/asm.c
src/cmd/8l/asm.c