go/src/liblink
Russ Cox ebce79446d build: annotations and modifications for c2go
The main changes fall into a few patterns:

1. Replace #define with enum.

2. Add /*c2go */ comment giving effect of #define.
This is necessary for function-like #defines and
non-enum-able #defined constants.
(Not all compilers handle negative or large enums.)

3. Add extra braces in struct initializer.
(c2go does not implement the full rules.)

This is enough to let c2go typecheck the source tree.
There may be more changes once it is doing
other semantic analyses.

LGTM=minux, iant
R=minux, dave, iant
CC=golang-codereviews
https://golang.org/cl/106860045
2014-07-02 15:41:29 -04:00
..
Makefile
asm5.c build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
asm6.c build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
asm8.c build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
data.c liblink: remove arch-specific constants from file format 2014-04-14 15:54:20 -04:00
go.c
ld.c build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
list5.c cmd/cc, cmd/gc, cmd/ld: consolidate print format routines 2014-02-12 14:29:11 -05:00
list6.c liblink: introduce TLS register on 386 and amd64 2014-04-15 13:45:39 -04:00
list8.c liblink: introduce TLS register on 386 and amd64 2014-04-15 13:45:39 -04:00
obj.c cmd/gc: record line number for auto-generated wrappers as <autogenerated>:1 2014-05-12 11:59:55 -04:00
obj5.c all: remove 'extern register M *m' from runtime 2014-06-26 11:54:39 -04:00
obj6.c build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
obj8.c build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00
objfile.c liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
pass.c cmd/ld: move instruction selection + layout into compilers, assemblers 2013-12-16 12:51:58 -05:00
pcln.c liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
sym.c build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00