go/src/cmd/ld
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
..
data.c all: remove 'extern register M *m' from runtime 2014-06-26 11:54:39 -04:00
decodesym.c all: final merge of NaCl tree 2014-02-27 20:37:00 -05:00
doc.go include, linlink, cmd/6l, cmd/ld: part 1 of solaris/amd64 linker changes. 2014-02-09 16:45:38 -05:00
dwarf.c cmd/ld: fix PC deltas in DWARF line number table 2014-06-10 14:11:39 -07:00
dwarf.h cmd/ld: move instruction selection + layout into compilers, assemblers 2013-12-16 12:51:58 -05:00
dwarf_defs.h cmd/ld: generate relocated DWARF in hostobj mode 2013-03-19 16:31:52 -04:00
elf.c cmd/ld: correctly compute note size on NetBSD. 2014-05-21 06:18:45 -07:00
elf.h include, linlink, cmd/6l, cmd/ld: part 1 of solaris/amd64 linker changes. 2014-02-09 16:45:38 -05:00
go.c liblink: fix incorrect hash collision in lookup 2014-04-16 11:53:14 -04:00
ldelf.c liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
ldmacho.c liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
ldpe.c liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
lib.c all: remove 'extern register M *m' from runtime 2014-06-26 11:54:39 -04:00
lib.h cmd/ld: restore the call graph dump 2014-04-16 22:42:02 -04:00
macho.c cmd/ld: fix warnings on Plan 9 2014-03-21 19:26:47 +01:00
macho.h cmd/ld: darwin support for host linking 2013-03-11 00:51:42 -04:00
pass.c liblink: create new library based on linker code 2013-12-08 22:49:37 -05:00
pcln.c liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
pe.c cmd/ld: correct pe section number in symbol table 2014-05-06 11:40:43 +10:00
pe.h liblink: create new library based on linker code 2013-12-08 22:49:37 -05:00
pobj.c cmd/ld: restore the call graph dump 2014-04-16 22:42:02 -04:00
symtab.c all: remove 'extern register M *m' from runtime 2014-06-26 11:54:39 -04:00
textflag.h build: annotations and modifications for c2go 2014-07-02 15:41:29 -04:00