aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/llvm14/include/llvm/BinaryFormat/ELFRelocs/Lanai.def
blob: 77ecb048403d31f195d49329e30636bbb488e120 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef ELF_RELOC
#error "ELF_RELOC must be defined"
#endif

// No relocation
ELF_RELOC(R_LANAI_NONE,        0)
// 21-bit symbol relocation
ELF_RELOC(R_LANAI_21,          1)
// 21-bit symbol relocation with last two bits masked to 0
ELF_RELOC(R_LANAI_21_F,        2)
// 25-bit branch targets
ELF_RELOC(R_LANAI_25,          3)
// General 32-bit relocation
ELF_RELOC(R_LANAI_32,          4)
// Upper 16-bits of a symbolic relocation
ELF_RELOC(R_LANAI_HI16,        5)
// Lower 16-bits of a symbolic relocation
ELF_RELOC(R_LANAI_LO16,        6)