Hi. Currently following the profile most distributions are following, golang compiler produces binaries with the rv64gc extension set.
Working on a custom CPU, I wish to change the default target architecture to rv64g
, a.k.a, rv64imafd
, without the support for compressed instructions.
Patching the default target on GNU toolchain and Clang, LLVM, Rust was relatively easy. But I am unsure how to approach this on golang. Any help on this would be appreciated.