mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 00:20:11 +00:00
- Remove custom handling of jumptables by the elf writter (this was
a dirty hack and isn't need anymore since the last x86 code emitter patch) - Add a target-dependent modifier to addend calculation - Use R_X86_64_32S relocation for X86::reloc_absolute_word_sext - Use getELFSectionFlags whenever possible - fix getTextSection to use TLOF and emit the right text section - Handle global emission for static ctors, dtors and Type::PointerTyID - Some minor fixes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78176 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -55,8 +55,7 @@ void ObjectCodeEmitter::emitDWordBE(uint64_t W) {
|
||||
BO->emitDWordBE(W);
|
||||
}
|
||||
|
||||
/// emitAlignment - Move the CurBufferPtr pointer up the the specified
|
||||
/// alignment (saturated to BufferEnd of course).
|
||||
/// emitAlignment - Align 'BO' to the necessary alignment boundary.
|
||||
void ObjectCodeEmitter::emitAlignment(unsigned Alignment /* 0 */,
|
||||
uint8_t fill /* 0 */) {
|
||||
BO->emitAlignment(Alignment, fill);
|
||||
@@ -138,5 +137,7 @@ uintptr_t ObjectCodeEmitter::getConstantPoolEntrySection(unsigned Index) const {
|
||||
return CPSections[Index];
|
||||
}
|
||||
|
||||
/// getNoopSize - Returns the size of the no operation instruction
|
||||
|
||||
} // end namespace llvm
|
||||
|
||||
|
||||
Reference in New Issue
Block a user