mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
[Sparc] Add initial implementation of MC Code emitter for sparc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198533 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
36
lib/Target/Sparc/MCTargetDesc/SparcFixupKinds.h
Normal file
36
lib/Target/Sparc/MCTargetDesc/SparcFixupKinds.h
Normal file
@@ -0,0 +1,36 @@
|
||||
//===-- SparcFixupKinds.h - Sparc 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_SPARC_FIXUPKINDS_H
|
||||
#define LLVM_SPARC_FIXUPKINDS_H
|
||||
|
||||
#include "llvm/MC/MCFixup.h"
|
||||
|
||||
namespace llvm {
|
||||
namespace Sparc {
|
||||
enum Fixups {
|
||||
// fixup_sparc_call30 - 30-bit PC relative relocation for call
|
||||
fixup_sparc_call30 = FirstTargetFixupKind,
|
||||
|
||||
/// fixup_sparc_br22 - 22-bit PC relative relocation for
|
||||
/// branches
|
||||
fixup_sparc_br22,
|
||||
|
||||
/// fixup_sparc_br22 - 22-bit PC relative relocation for
|
||||
/// branches on icc/xcc
|
||||
fixup_sparc_br19,
|
||||
|
||||
// Marker
|
||||
LastTargetFixupKind,
|
||||
NumTargetFixupKinds = LastTargetFixupKind - FirstTargetFixupKind
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user