go/src/liblink
Russ Cox d9c9665f1d liblink: fix field tracking
The USEFIELD instructions no longer make it to the linker,
so we have to do something else to pin the references
they were pinning. Emit a 0-length relocation of type R_USEFIELD.

Fixes #7486.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews, r
https://golang.org/cl/95530043
2014-05-20 00:30:58 -04:00
..
Makefile
asm5.c runtime: use duff zero and copy to initialize memory 2014-05-07 13:17:10 -07:00
asm6.c liblink: fix field tracking 2014-05-20 00:30:58 -04:00
asm8.c liblink: fix field tracking 2014-05-20 00:30:58 -04:00
data.c liblink: remove arch-specific constants from file format 2014-04-14 15:54:20 -04:00
go.c
ld.c liblink: don't search for an import file with an absolute path 2013-12-18 10:33:47 -08: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 runtime: use duff zero and copy to initialize memory 2014-05-07 13:17:10 -07:00
obj6.c liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
obj8.c liblink: introduce TLS register on 386 and amd64 2014-04-15 13:45:39 -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 liblink: fix incorrect hash collision in lookup 2014-04-16 11:53:14 -04:00