30 M68kELFObjectWriter(
uint8_t OSABI);
32 ~M68kELFObjectWriter()
override;
40M68kELFObjectWriter::M68kELFObjectWriter(
uint8_t OSABI)
43M68kELFObjectWriter::~M68kELFObjectWriter() {}
63unsigned M68kELFObjectWriter::getRelocType(
MCContext &Ctx,
77 return ELF::R_68K_TLS_GD32;
79 return ELF::R_68K_TLS_GD16;
81 return ELF::R_68K_TLS_GD8;
87 return ELF::R_68K_TLS_LDM32;
89 return ELF::R_68K_TLS_LDM16;
91 return ELF::R_68K_TLS_LDM8;
97 return ELF::R_68K_TLS_LDO32;
99 return ELF::R_68K_TLS_LDO16;
101 return ELF::R_68K_TLS_LDO8;
107 return ELF::R_68K_TLS_IE32;
109 return ELF::R_68K_TLS_IE16;
111 return ELF::R_68K_TLS_IE8;
117 return ELF::R_68K_TLS_LE32;
119 return ELF::R_68K_TLS_LE16;
121 return ELF::R_68K_TLS_LE8;
127 return IsPCRel ? ELF::R_68K_PC32 : ELF::R_68K_32;
129 return IsPCRel ? ELF::R_68K_PC16 : ELF::R_68K_16;
131 return IsPCRel ? ELF::R_68K_PC8 : ELF::R_68K_8;
137 return ELF::R_68K_GOTPCREL32;
139 return ELF::R_68K_GOTPCREL16;
141 return ELF::R_68K_GOTPCREL8;
148 return ELF::R_68K_GOTOFF32;
150 return ELF::R_68K_GOTOFF16;
152 return ELF::R_68K_GOTOFF8;
158 return ELF::R_68K_PLT32;
160 return ELF::R_68K_PLT16;
162 return ELF::R_68K_PLT8;
168std::unique_ptr<MCObjectTargetWriter>
170 return std::make_unique<M68kELFObjectWriter>(OSABI);
static M68kRelType getType(unsigned Kind, MCSymbolRefExpr::VariantKind &Modifier, bool &IsPCRel)
This file contains M68k specific fixup entries.
This file provides M68k specific target descriptions.
PowerPC TLS Dynamic Call Fixup
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
Context object for machine code objects.
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)...
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.
#define llvm_unreachable(msg)
Marks that the current location is not supposed to be reachable.
This is an optimization pass for GlobalISel generic memory operations.
std::unique_ptr< MCObjectTargetWriter > createM68kELFObjectWriter(uint8_t OSABI)
Construct an M68k ELF object writer.
@ FK_PCRel_4
A four-byte pc relative fixup.
@ FK_PCRel_2
A two-byte pc relative fixup.
@ FK_Data_1
A one-byte fixup.
@ FK_Data_4
A four-byte fixup.
@ FK_PCRel_1
A one-byte pc relative fixup.
@ FK_Data_2
A two-byte fixup.