]> Cypherpunks repositories - gostls13.git/commit
[dev.power64] liblink: fix printing of branch targets
authorAustin Clements <austin@google.com>
Mon, 3 Nov 2014 22:24:13 +0000 (17:24 -0500)
committerAustin Clements <austin@google.com>
Mon, 3 Nov 2014 22:24:13 +0000 (17:24 -0500)
commit473bfae5ae3c4adccebc14bca40d0fb0a2ff09ab
tree252c5d9ad3753b7b599f95c0808c4242fdd1feed
parent810019286fdb8ad6b60096f2b0e2dcf0bc900c3a
[dev.power64] liblink: fix printing of branch targets

Print PC stored in target Prog* of branch instructions when
available instead of the offset stored in the branch
instruction.  The offset tends to be wrong after code
transformations, so previously this led to confusing listings.

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/168980043
src/liblink/list9.c