mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Add ARM fixup info for load/store label references. Probably will need a bit of
tweaking when we start using it for object file emission or JIT, but it's a start. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118221 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
28
lib/Target/ARM/ARMFixupKinds.h
Normal file
28
lib/Target/ARM/ARMFixupKinds.h
Normal file
@@ -0,0 +1,28 @@
|
||||
//===-- ARM/ARMFixupKinds.h - ARM Specific Fixup Entries --------*- C++ -*-===//
|
||||
//
|
||||
// The LLVM Compiler Infrastructure
|
||||
//
|
||||
// This file is distributed under the University of Illinois Open Source
|
||||
// License. See LICENSE.TXT for details.
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#ifndef LLVM_ARM_ARMFIXUPKINDS_H
|
||||
#define LLVM_ARM_ARMFIXUPKINDS_H
|
||||
|
||||
#include "llvm/MC/MCFixup.h"
|
||||
|
||||
namespace llvm {
|
||||
namespace ARM {
|
||||
enum Fixups {
|
||||
// fixup_arm_pcrel_12 - 12-bit PC relative relocation for symbol addresses
|
||||
fixup_arm_pcrel_12 = FirstTargetFixupKind,
|
||||
// fixup_arm_vfp_pcrel_12 - 12-bit PC relative relocation for symbol addresses
|
||||
// used in VFP instructions where the lower 2 bits are not encoded (so it's
|
||||
// encoded as an 8-bit immediate).
|
||||
fixup_arm_vfp_pcrel_12
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user