]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/link: deal with ADDR32NB relocations the same way as ADDR32 on arm
authorJason A. Donenfeld <Jason@zx2c4.com>
Sun, 8 Nov 2020 02:09:42 +0000 (03:09 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 14 Dec 2020 22:35:02 +0000 (22:35 +0000)
commit48dfa2b2dca43c6dc80d7e1d1c605e2918fad3af
treecfc1897fb58025ca0f4197222ab40a48b5a492af
parent033390d9adb0e7a96d0558bb1702e270ef986c90
cmd/link: deal with ADDR32NB relocations the same way as ADDR32 on arm

As far as I can tell, the addend is the same for both of these, and in
this context we don't really care about setting or unsetting the thumb
selection bit, so just treat these the same way.

Change-Id: I3756c027239f77778c32b317733df9ac92272580
Reviewed-on: https://go-review.googlesource.com/c/go/+/268238
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
src/cmd/link/internal/loadpe/ldpe.go