1
0
mirror of https://github.com/golang/go synced 2024-10-04 08:21:22 -06:00
go/src/cmd/ld
Ian Lance Taylor 507afa68c5 cmd/ld: fix PC deltas in DWARF line number table
The putpclcdelta function set the DWARF line number PC to
s->value + pcline->pc, which is correct, but the code then set
the local variable pc to epc, which can be a different value.
This caused the next delta in the DWARF table to be wrong.

Fixes #8098.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/104950045
2014-06-10 14:11:39 -07:00
..
data.c cmd/ld: abort if (32-bit) address relocation is negative on amd64. 2014-05-19 22:39:42 -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_defs.h cmd/ld: generate relocated DWARF in hostobj mode 2013-03-19 16:31:52 -04: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
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 cmd/ld: really import runtime/cgo for external link 2014-05-20 21:36:50 -07: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 cmd/cc: emit gc bitmaps in read-only memory 2014-04-03 19:04:15 -04:00
textflag.h cmd/ld: clear unused ctxt before morestack 2014-03-04 13:53:08 -05:00