Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(304)

Issue 119000043: code review 119000043: liblink: more precise literal word comparison on arm (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by rsc
Modified:
10 years, 10 months ago
Reviewers:
minux
CC:
minux, golang-codereviews
Visibility:
Public.

Description

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*.)

Patch Set 1 #

Patch Set 2 : diff -r e5fa01e2f333 https://code.google.com/p/go/ #

Patch Set 3 : diff -r e5fa01e2f333 https://code.google.com/p/go/ #

Total comments: 1

Patch Set 4 : diff -r dce1aeb8b211 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M src/liblink/asm5.c View 2 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello minux (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
10 years, 10 months ago (2014-07-21 21:42:30 UTC) #1
minux
LGTM. https://codereview.appspot.com/119000043/diff/40001/src/liblink/asm5.c File src/liblink/asm5.c (right): https://codereview.appspot.com/119000043/diff/40001/src/liblink/asm5.c#newcode981 src/liblink/asm5.c:981: for(q = ctxt->blitrl; q != nil; q = ...
10 years, 10 months ago (2014-07-22 03:03:55 UTC) #2
rsc
10 years, 10 months ago (2014-07-23 14:18:03 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=48ac89af1d1b ***

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://codereview.appspot.com/119000043
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b