]> Cypherpunks repositories - gostls13.git/commit
cmd/ld: fix check for address wrap in relocation
authorRob Pike <r@golang.org>
Tue, 30 Apr 2013 16:10:10 +0000 (09:10 -0700)
committerRob Pike <r@golang.org>
Tue, 30 Apr 2013 16:10:10 +0000 (09:10 -0700)
commit700a126c64948f91822dcc0380f32438dad6fc71
treea94b6703930c49c5cfb218f91be74c3f12e8431d
parente2b2e0d8d19e747ffe2059ed8426f5b12b77ff0f
cmd/ld: fix check for address wrap in relocation
PC-relative needs a signed offset; others need unsigned.
Also fix signedness of 32-bit relocation on Windows.

R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/9039045
src/cmd/ld/data.c
src/cmd/ld/ldpe.c