mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-30 21:29:28 +00:00
Stefanovic. I removed the part that actually emits the instructions cause I want that to get in better shape first and in incremental steps. This also makes it easier to review the upcoming parts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135678 91177308-0d34-0410-b5e6-96231b3b80d8
33 lines
836 B
C++
33 lines
836 B
C++
//===- MipsRelocations.h - Mips Code Relocations ---------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===---------------------------------------------------------------------===//
|
|
//
|
|
// This file defines the Mips target-specific relocation types
|
|
// (for relocation-model=static).
|
|
//
|
|
//===---------------------------------------------------------------------===//
|
|
|
|
#ifndef MIPSRELOCATIONS_H_
|
|
#define MIPSRELOCATIONS_H_
|
|
|
|
#include "llvm/CodeGen/MachineRelocation.h"
|
|
|
|
namespace llvm {
|
|
namespace Mips{
|
|
enum RelocationType {
|
|
reloc_mips_pcrel = 1,
|
|
reloc_mips_hi = 3,
|
|
reloc_mips_lo = 4,
|
|
reloc_mips_j_jal = 5
|
|
};
|
|
}
|
|
}
|
|
|
|
#endif /* MIPSRELOCATIONS_H_ */
|
|
|