go/src/cmd/ld
Shenghou Ma 78a6f75241 cmd/ld: handle weak symbols
compiler_rt introduces a weak and hidden symbol compilerrt_abort_impl
into our pre-linked _all.o object, we have to handle it.

Fixes #4273.

R=iant, rsc, r
CC=golang-dev
https://golang.org/cl/6783050
2012-10-30 23:58:43 +08:00
..
data.c cmd/ld, cmd/6l, cmd/8l: sort exported dynamic symbols for Darwin 2012-10-10 00:55:48 +08:00
decodesym.c cmd/ld: prepare for 64-bit ints 2012-09-24 14:59:09 -04:00
doc.go cmd/ld: add -B option to set build ID 2012-10-09 15:29:43 -07:00
dwarf.c ld: add .gcdata and .gcbss sections 2012-09-13 15:59:34 -04:00
dwarf.h
dwarf_defs.h
elf.c cmd/ld: add -B option to set build ID 2012-10-09 15:29:43 -07:00
elf.h cmd/ld: add -B option to set build ID 2012-10-09 15:29:43 -07:00
go.c cmd/gc, cmd/ld: use go.weak instead of weak as the weak symbol prefix 2012-10-23 11:16:08 -04:00
ldelf.c cmd/ld: handle weak symbols 2012-10-30 23:58:43 +08:00
ldmacho.c cmd/ld: consistent binary for cgo programs 2012-09-20 00:18:41 +08:00
ldpe.c cmd/ld: consistent binary for cgo programs 2012-09-20 00:18:41 +08:00
lib.c cmd/ld, cmd/6l, cmd/8l: sort exported dynamic symbols for Darwin 2012-10-10 00:55:48 +08:00
lib.h cmd/ld, cmd/6l, cmd/8l: sort exported dynamic symbols for Darwin 2012-10-10 00:55:48 +08:00
macho.c ld: fix Mach-O code signing for non-cgo binaries 2012-01-23 09:42:09 -05:00
macho.h
pe.c cmd/go, cmd/ld: fix libgcc order and add __image_base__ symbol for windows 2012-09-26 22:34:25 +08:00
pe.h 8l: emit resources (.rsrc) in Windows PE. 2011-05-25 07:53:00 -04:00
symtab.c ld: add .gcdata and .gcbss sections 2012-09-13 15:59:34 -04:00