29 XtensaObjectWriter(
uint8_t OSABI);
31 virtual ~XtensaObjectWriter();
35 bool IsPCRel)
const override;
40XtensaObjectWriter::XtensaObjectWriter(
uint8_t OSABI)
44XtensaObjectWriter::~XtensaObjectWriter() {}
46unsigned XtensaObjectWriter::getRelocType(
const MCFixup &
Fixup,
51 switch ((
unsigned)
Fixup.getKind()) {
56 return ELF::R_XTENSA_SLOT0_OP;
60std::unique_ptr<MCObjectTargetWriter>
62 return std::make_unique<XtensaObjectWriter>(OSABI);
65bool XtensaObjectWriter::needsRelocateWithSymbol(
const MCValue &,
66 unsigned Type)
const {
PowerPC TLS Dynamic Call Fixup
virtual unsigned getRelocType(const MCFixup &Fixup, const MCValue &Target, bool IsPCRel) const =0
virtual bool needsRelocateWithSymbol(const MCValue &, unsigned Type) const
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
Target - Wrapper for Target specific information.
The instances of the Type class are immutable: once they are created, they are never changed.
This is an optimization pass for GlobalISel generic memory operations.
@ FK_Data_4
A four-byte fixup.
std::unique_ptr< MCObjectTargetWriter > createXtensaObjectWriter(uint8_t OSABI, bool IsLittleEndian)