]> Cypherpunks repositories - gostls13.git/commit
cgo: use debug data section for ELF
authorJoel Sing <jsing@google.com>
Fri, 7 Sep 2012 03:32:40 +0000 (13:32 +1000)
committerJoel Sing <jsing@google.com>
Fri, 7 Sep 2012 03:32:40 +0000 (13:32 +1000)
commit4cfcb4a04bc140da0ad196b1b9cab32bde8f2a62
tree5f4a82ac895166d2cda991fcf60537818369f067
parenta225eaf9b771cdb42defcc89015dc12cd04c4438
cgo: use debug data section for ELF

When generating enums use the debug data section instead of the
DWARF debug info, if it is available in the ELF file. This allows
mkerrors.sh to work correctly on OpenBSD/386 and NetBSD/386.

Fixes #2470.

R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/6495090
src/cmd/cgo/gcc.go