]> Cypherpunks repositories - gostls13.git/commit
5l/6l/8l: add a DT_DEBUG dynamic tag to a dynamic ELF binary
authorIan Lance Taylor <iant@golang.org>
Wed, 5 Oct 2011 04:25:11 +0000 (21:25 -0700)
committerIan Lance Taylor <iant@golang.org>
Wed, 5 Oct 2011 04:25:11 +0000 (21:25 -0700)
commita55de2ba619a9203e7d93fd3efde127d1ad922a2
treefd6f8fb2d558a30aac80ba07db65abcadfb15f70
parent0b534bc9c3a8d02fc449c92a609eb78d2eac4d81
5l/6l/8l: add a DT_DEBUG dynamic tag to a dynamic ELF binary

This requires making the .dynamic section writable, as the
dynamic linker will change the value of the DT_DEBUG tag at
runtime.  The DT_DEBUG tag is used by gdb to find all loaded
shared libraries.

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