[PATCH] D144012: [SPARC][MC] Fix encoding of backwards BPr branches
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 11 16:17:57 PST 2023
jrtc27 added inline comments.
================
Comment at: llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp:72
+ // and here, in the _2 part, emit an R_SPARC_NONE instead.
+ return ELF::R_SPARC_NONE;
case Sparc::fixup_sparc_pc22: return ELF::R_SPARC_PC22;
----------------
This is pretty gross, and wastes space in the result. Please just have a single fixup.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144012/new/
https://reviews.llvm.org/D144012
More information about the llvm-commits
mailing list