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
Showing
Please register or sign in to comment