Skip to content

Commit

Permalink
Test no relocs
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasSte committed Sep 10, 2024
1 parent 646ec14 commit 628f82a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llvm/lib/Target/SBF/MCTargetDesc/SBFAsmBackend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class SBFAsmBackend : public MCAsmBackend {
isSBFv2(STI.getCPU() == "sbfv2"),
isSolana(STI.hasFeature(SBF::FeatureSolana) ||
STI.getTargetTriple().getArch() == Triple::sbf),
relocAbs64(STI.hasFeature(SBF::FeatureRelocAbs64)) {}
relocAbs64(true) {}
~SBFAsmBackend() override = default;

void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Target/SBF/SBFSubtarget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void SBFSubtarget::initializeEnvironment(const Triple &TT) {
HasDynamicFrames = false;
DisableNeg = false;
ReverseSubImm = false;
NoLddw = false;
NoLddw = true;
CallxRegSrc = false;
HasPqrClass = false;
NewCallConvention = false;
Expand Down

0 comments on commit 628f82a

Please sign in to comment.