]> Cypherpunks repositories - gostls13.git/commit
5l, 6l, 8l: Add a PT_LOAD PHDR entry for the PHDR.
authorDavid Anderson <danderson@google.com>
Wed, 13 Jul 2011 00:49:55 +0000 (17:49 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 13 Jul 2011 00:49:55 +0000 (17:49 -0700)
commitf1df07bf6a37bc291f293fd5cdfc9203dd22b31f
tree29ace000141082271efae375dd09950bfb9b69bf
parent75780f99f4c310877e5343b4e8b2fe01b4b00b51
5l, 6l, 8l: Add a PT_LOAD PHDR entry for the PHDR.

Per the TIS ELF spec, if a PHDR entry is present in the
program header table, it must be part of the memory image of
the program. Failure to do this makes elflint complain, and
causes some tools that manipulate ELF to crash.

R=iant, rsc
CC=dave, golang-dev
https://golang.org/cl/4650067
src/cmd/5l/asm.c
src/cmd/6l/asm.c
src/cmd/8l/asm.c