2 * Copyright 2009 Haiku Inc.
3 * All rights reserved. Distributed under the terms of the MIT License.
5 #ifndef _SYSTEM_ARCH_MIPSEL_ELF_H
6 #define _SYSTEM_ARCH_MIPSEL_ELF_H
9 #warning DEFINE mipsel relocation types
12 /* relocation types */
13 #define R_MIPSEL_NONE 0
14 #define R_MIPSEL_ADDR32 1
15 #define R_MIPSEL_ADDR24 2
16 #define R_MIPSEL_ADDR16 3
17 #define R_MIPSEL_ADDR16_LO 4
18 #define R_MIPSEL_ADDR16_HI 5
19 #define R_MIPSEL_ADDR16_HA 6
20 #define R_MIPSEL_ADDR14 7
21 #define R_MIPSEL_ADDR14_BRTAKEN 8
22 #define R_MIPSEL_ADDR14_BRNTAKEN 9
23 #define R_MIPSEL_REL24 10
24 #define R_MIPSEL_REL14 11
25 #define R_MIPSEL_REL14_BRTAKEN 12
26 #define R_MIPSEL_REL14_BRNTAKEN 13
27 #define R_MIPSEL_GOT16 14
28 #define R_MIPSEL_GOT16_LO 15
29 #define R_MIPSEL_GOT16_HI 16
30 #define R_MIPSEL_GOT16_HA 17
31 #define R_MIPSEL_PLTREL24 18
32 #define R_MIPSEL_COPY 19
33 #define R_MIPSEL_GLOB_DAT 20
34 #define R_MIPSEL_JMP_SLOT 21
35 #define R_MIPSEL_RELATIVE 22
36 #define R_MIPSEL_LOCAL24PC 23
37 #define R_MIPSEL_UADDR32 24
38 #define R_MIPSEL_UADDR16 25
39 #define R_MIPSEL_REL32 26
40 #define R_MIPSEL_PLT32 27
41 #define R_MIPSEL_PLTREL32 28
42 #define R_MIPSEL_PLT16_LO 29
43 #define R_MIPSEL_PLT16_HI 30
44 #define R_MIPSEL_PLT16_HA 31
45 #define R_MIPSEL_SDAREL16 32
46 #define R_MIPSEL_SECTOFF 33
47 #define R_MIPSEL_SECTOFF_LO 34
48 #define R_MIPSEL_SECTOFF_HI 35
49 #define R_MIPSEL_SECTOFF_HA 36
50 #define R_MIPSEL_ADDR30 37
52 #endif /* _SYSTEM_ARCH_MIPSEL_ELF_H */