mirror of
https://github.com/golang/go
synced 2024-09-30 23:08:32 -06:00
cmd/internal/ld: recompute resoff after changing elfreserve
My last update to https://golang.org/cl/9710 missed this. Change-Id: Ie042032ca307e1065fcf6c402a166f9ff74027e7 Reviewed-on: https://go-review.googlesource.com/9771 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
087d5c08f8
commit
96dad7ff3e
@ -1928,6 +1928,7 @@ func Asmbelf(symo int64) {
|
||||
// in the intermediate object file, not the final shared
|
||||
// library.
|
||||
elfreserve *= 3
|
||||
resoff = elfreserve
|
||||
sh := elfshname(".note.go.pkg-list")
|
||||
resoff -= int64(elfgopkgnote(sh, uint64(startva), uint64(resoff)))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user