blob: 93101a61797bbd173bfc555d7c3af5262d2d8a64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
//===- ARMRelocations.h - ARM 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 ARM target-specific relocation types.
//
//===----------------------------------------------------------------------===//
#ifndef ARMRELOCATIONS_H
#define ARMRELOCATIONS_H
#include "llvm/CodeGen/MachineRelocation.h"
namespace llvm {
namespace ARM {
enum RelocationType {
// reloc_arm_absolute - Absolute relocation, just add the relocated value
// to the value already in memory.
reloc_arm_absolute,
// reloc_arm_relative - PC relative relocation, add the relocated value to
// the value already in memory, after we adjust it for where the PC is.
reloc_arm_relative,
// reloc_arm_cp_entry - PC relative relocation for constpool_entry's whose
// addresses are kept locally in a map.
reloc_arm_cp_entry,
// reloc_arm_branch - Branch address relocation.
reloc_arm_branch
};
}
}
#endif
|