]> Cypherpunks repositories - gostls13.git/commit
liblink: more precise literal word comparison on arm
authorRuss Cox <rsc@golang.org>
Wed, 23 Jul 2014 14:17:59 +0000 (10:17 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 23 Jul 2014 14:17:59 +0000 (10:17 -0400)
commitb916dc19921a799c3fc9d1bcc704cfd0b0bf08d0
tree2838501e2556dd44ac3ad6e9349df39f93334d50
parentd4d50b5f01e65e664d63bd18a4e545465df03143
liblink: more precise literal word comparison on arm

There are fields in the Addr that do not matter for the
purpose of deciding that the same word is already
in the current literal pool. Copy only the fields that
do matter.

This came up when comparing against the Go version
because the way it is invoked doesn't copy a few fields
(like node) that are never directly used by liblink itself.

Also remove a stray print that is not well-defined in
the new liblink. (Cannot use %D outside of %P, because
%D needs the outer Prog*.)

LGTM=minux
R=minux
CC=golang-codereviews
https://golang.org/cl/119000043
src/liblink/asm5.c