]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: emit relocs for DWARF info when doing an external link
authorIan Lance Taylor <iant@golang.org>
Tue, 30 Apr 2013 21:01:05 +0000 (14:01 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 30 Apr 2013 21:01:05 +0000 (14:01 -0700)
commit825b1e15916833ff6b2affdb5b0bb7c5c908ac52
tree2332fab4d5d7770999b5dca31b72f93dbb787ca8
parentb461c94cfaf79f2f84abd7513eb35218dc6235ed
cmd/ld: emit relocs for DWARF info when doing an external link

I would like opinions on whether this is a good idea for 1.1.
On the one hand it's a moderately important issue.  On the
other hand this introduces at least the possibility of
external linker errors due to the additional relocations and
it may be better to wait.

I'm fairly confident that the behaviour is unchanged when not
using an external linker.

Update #5221

This CL is tested lightly on 386 and amd64 and fixes the cases
I tested.  I have not tested it on Darwin or Windows.

R=golang-dev, dave, daniel.morsing, rsc
CC=golang-dev
https://golang.org/cl/8858047
src/cmd/ld/dwarf.c
src/cmd/ld/elf.c
src/cmd/ld/elf.h
src/cmd/ld/lib.h
src/cmd/ld/symtab.c