1
0
mirror of https://github.com/golang/go synced 2024-10-05 12:21:22 -06:00
go/src/pkg/debug/elf/testdata
Adam Langley 72ec930fa7 Fix cgo for GCC 4.4
Firstly, with -Werror, GCC switched to printing warnings starting
with "error:". Widening the string matches solves this as the messages
are otherwise unchanged.

Secondly, GCC 4.4 outputs DWARF sections with with NUL bytes in all
the offsets and requires the relocation section for .debug_info to be
processed in order to result in valid DWARF data. Thus we add minimal
handling for relocation sections, which is sufficient for our needs.

BUG=1
Fixes #1.

R=rsc, iant
CC=go-dev
http://go/go-review/1017003
2009-11-02 12:02:16 -08:00
..
gcc-386-freebsd-exec elf file parser 2009-08-31 16:48:44 -07:00
gcc-amd64-linux-exec elf file parser 2009-08-31 16:48:44 -07:00
go-relocation-test-gcc424-x86-64.o Fix cgo for GCC 4.4 2009-11-02 12:02:16 -08:00
go-relocation-test-gcc441-x86-64.o Fix cgo for GCC 4.4 2009-11-02 12:02:16 -08:00
go-relocation-test-gcc441-x86.o Fix cgo for GCC 4.4 2009-11-02 12:02:16 -08:00