~LoongArchELFObjectWriter() override;
- // Return true if the given relocation must be with a symbol rather than
- // section plus offset.
- bool needsRelocateWithSymbol(const MCSymbol &Sym,
- unsigned Type) const override {
- return true;
- }
-
protected:
unsigned getRelocType(MCContext &Ctx, const MCValue &Target,
const MCFixup &Fixup, bool IsPCRel) const override;
.cfi_endproc
# CHECK: Section (4) .rela.eh_frame {
-# CHECK-NEXT: 0x1C R_LARCH_32_PCREL - 0x0
+# CHECK-NEXT: 0x1C R_LARCH_32_PCREL .text 0x0
# CHECK-NEXT: }