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

Issue 7383055: code review 7383055: cmd/ld: change GC_CALL to 32-bit relative address (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years ago by rsc
Modified:
12 years ago
Reviewers:
CC:
golang-dev, iant
Visibility:
Public.

Description

cmd/ld: change GC_CALL to 32-bit relative address The current code uses 64-bit pc-relative on 64-bit systems, but in ELF linkers there is no such thing, so we cannot express this in a .o file. Change to 32-bit.

Patch Set 1 #

Patch Set 2 : diff -r 1e891021e069 https://go.googlecode.com/hg #

Patch Set 3 : diff -r 1e891021e069 https://go.googlecode.com/hg #

Patch Set 4 : diff -r 6b06c70f12ca https://go.googlecode.com/hg #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -23 lines) Patch
M src/cmd/ld/data.c View 1 2 2 chunks +3 lines, -22 lines 0 comments Download
M src/pkg/runtime/mgc0.c View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg
12 years ago (2013-02-26 22:46:34 UTC) #1
iant
LGTM
12 years ago (2013-02-27 01:52:08 UTC) #2
rsc
12 years ago (2013-02-27 03:43:01 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=0add1de89fe4 ***

cmd/ld: change GC_CALL to 32-bit relative address

The current code uses 64-bit pc-relative on 64-bit systems,
but in ELF linkers there is no such thing, so we cannot
express this in a .o file. Change to 32-bit.

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/7383055
Sign in to reply to this message.

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