28 XtensaObjectWriter(uint8_t OSABI);
30 virtual ~XtensaObjectWriter();
36 unsigned Type)
const override;
40XtensaObjectWriter::XtensaObjectWriter(uint8_t OSABI)
44XtensaObjectWriter::~XtensaObjectWriter() {}
50 switch ((
unsigned)
Fixup.getKind()) {
52 return ELF::R_XTENSA_32;
54 return ELF::R_XTENSA_SLOT0_OP;
58std::unique_ptr<MCObjectTargetWriter>
60 return std::make_unique<XtensaObjectWriter>(OSABI);
63bool XtensaObjectWriter::needsRelocateWithSymbol(
const MCValue &,
65 unsigned Type)
const {
PowerPC TLS Dynamic Call Fixup
Context object for machine code objects.
virtual bool needsRelocateWithSymbol(const MCValue &Val, const MCSymbol &Sym, unsigned Type) const
virtual unsigned getRelocType(MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const =0
Encode information on a single operation to perform on a byte sequence (e.g., an encoded instruction)...
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
This represents an "assembler immediate".
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)