]> Cypherpunks repositories - gostls13.git/commit
cmd/internal/obj/riscv: absorb rewriteMOV into instruction generation
authorJoel Sing <joel@sing.id.au>
Sat, 21 Aug 2021 09:06:25 +0000 (09:06 +0000)
committerJoel Sing <joel@sing.id.au>
Wed, 8 Sep 2021 06:38:19 +0000 (06:38 +0000)
commitda790cccc5da9486e5f45360a3b1b76a1a0aeaea
treeacd9b5389be317b313499f98e8f8f68cf64ded2f
parentf5bdbf311c3c28fd7cdb8ce31b272deb3feb6f64
cmd/internal/obj/riscv: absorb rewriteMOV into instruction generation

Replace the now poorly named rewriteMOV function with a markRelocs function,
absorbing the MOV validation into the instruction generation code.

Change-Id: I6ae94553f7f300862c40310343ef0be8f44a4b0f
Reviewed-on: https://go-review.googlesource.com/c/go/+/344459
Trust: Joel Sing <joel@sing.id.au>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/cmd/internal/obj/riscv/obj.go