1
0
mirror of https://github.com/golang/go synced 2024-10-03 14:11:21 -06:00
go/src/pkg
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
..
archive/tar reverse the arguments to io.Copy so the destination is on the 2009-11-01 20:59:49 -08:00
asn1 Add ASN.1 parser. 2009-10-13 14:37:48 -07:00
big all of pkg now compiles, fixes a few more tests 2009-10-23 11:00:59 -07:00
bignum files that are okay from the last gofmt round 2009-10-27 22:47:54 -07:00
bufio more lgtm files from gofmt 2009-10-08 15:14:54 -07:00
bytes return "<nil>" when calling String() on a nil bytes.Buffer. 2009-10-31 13:28:22 -07:00
compress reverse the arguments to io.Copy so the destination is on the 2009-11-01 20:59:49 -08:00
container reduce stutter: sort.SortInterface -> sort.Interface. 2009-10-13 13:05:16 -07:00
crypto Split constant time functions into crypto/subtle. 2009-11-02 11:12:07 -08:00
debug Fix cgo for GCC 4.4 2009-11-02 12:02:16 -08:00
ebnf more lgtm files from gofmt 2009-10-08 15:14:54 -07:00
encoding Fix cgo for GCC 4.4 2009-11-02 12:02:16 -08:00
exec apply gofmt to datafmt, ebnf, exec, expvar, flag, fmt 2009-10-06 15:38:57 -07:00
exp misc cleanup 2009-11-01 09:25:55 -08:00
expvar apply gofmt to datafmt, ebnf, exec, expvar, flag, fmt 2009-10-06 15:38:57 -07:00
flag more lgtm files from gofmt 2009-10-08 15:14:54 -07:00
fmt more lgtm files from gofmt 2009-10-08 15:14:54 -07:00
go use the new routine regexp.MustCompile to clean up some code that uses global regexps. 2009-11-02 11:37:52 -08:00
gob better code for allocation through indirection 2009-10-11 18:07:47 -07:00
hash apply gofmt to go, gob, hash, http, image, io, json, log 2009-10-06 19:41:51 -07:00
http reverse the arguments to io.Copy so the destination is on the 2009-11-01 20:59:49 -08:00
image files that are okay from the last gofmt round 2009-10-27 22:47:54 -07:00
io reverse the arguments to io.Copy so the destination is on the 2009-11-01 20:59:49 -08:00
json allow unpacking of json map into Go map, 2009-11-01 05:49:07 -08:00
log change date format in logs - was missing slash between month and day 2009-10-09 15:44:57 -07:00
malloc apply gofmt to malloc math once os 2009-10-06 19:40:35 -07:00
math move math out of runtime. 2009-10-15 23:09:22 -07:00
net split ipsock.go, sock.go, and unixsock.go out of net.go 2009-11-01 11:15:34 -08:00
once apply gofmt to malloc math once os 2009-10-06 19:40:35 -07:00
os reverse the arguments to io.Copy so the destination is on the 2009-11-01 20:59:49 -08:00
path files that are okay from the last gofmt round 2009-10-27 22:47:54 -07:00
rand Define the new Rand and Source types to allow creating 2009-10-15 11:46:37 -07:00
reflect misc cleanup 2009-11-01 09:25:55 -08:00
regexp eliminate goroutine from testing/regexp too. 2009-11-02 11:24:47 -08:00
rpc apply gofmt to rand reflect regexp rpc runtime sort strconv strings sync syscall testing time unicode unsafe utf8 2009-10-07 11:55:06 -07:00
runtime clone and futex 2009-10-29 21:21:14 -07:00
sort delete silly TODO 2009-10-13 15:55:44 -07:00
strconv misc cleanup 2009-11-01 09:25:55 -08:00
strings fix comment on strings.LastIndex. 2009-10-12 10:09:35 -07:00
sync publish semacquire and semrelease for use by sync. 2009-10-15 17:46:53 -07:00
syscall syscall cleanup. 2009-11-01 11:13:27 -08:00
tabwriter permit escaped text segments which pass through tabwriter 2009-10-15 09:28:52 -07:00
template files that are okay from the last gofmt round 2009-10-27 22:47:54 -07:00
testing eliminate goroutine from testing/regexp too. 2009-11-02 11:24:47 -08:00
time files that are okay from the last gofmt round 2009-10-27 22:47:54 -07:00
unicode use the new routine regexp.MustCompile to clean up some code that uses global regexps. 2009-11-02 11:37:52 -08:00
unsafe apply gofmt to rand reflect regexp rpc runtime sort strconv strings sync syscall testing time unicode unsafe utf8 2009-10-07 11:55:06 -07:00
utf8 files that are okay from the last gofmt round 2009-10-27 22:47:54 -07:00
xml introduce non-strict mode in xml parser, 2009-10-11 23:51:46 -07:00
deps.bash - updated Makefile, Make.deps 2009-08-17 15:20:51 -07:00
Make.deps Split constant time functions into crypto/subtle. 2009-11-02 11:12:07 -08:00
Makefile Split constant time functions into crypto/subtle. 2009-11-02 11:12:07 -08:00