]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: handle weak symbols
authorShenghou Ma <minux.ma@gmail.com>
Tue, 30 Oct 2012 15:58:43 +0000 (23:58 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Tue, 30 Oct 2012 15:58:43 +0000 (23:58 +0800)
commit78a6f7524109d5c183e09767e44037ae7e5b0c96
tree2be7fdda330ef288ac08610b94903a7c54d3321a
parentbe6afde348db68dfc9f59f57cbb15ed637158ac0
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
misc/cgo/test/issue4273.c [new file with mode: 0644]
misc/cgo/test/issue4273b.c [new file with mode: 0644]
src/cmd/ld/ldelf.c