1 /* SOM relocation definitions for BFD.
2 Copyright (C) 2010-2024 Free Software Foundation, Inc.
3 Contributed by Tristan Gingold <gingold@adacore.com>, AdaCore.
5 This file is part of BFD, the Binary File Descriptor library.
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software Foundation,
19 Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
24 #define R_NO_RELOCATION 0
27 #define R_RELOCATION 0x24
28 #define R_DATA_ONE_SYMBOL 0x25
29 #define R_DATA_PLABEL 0x27
30 #define R_SPACE_REF 0x29
31 #define R_REPEATED_INIT 0x2a
32 #define R_PCREL_CALL 0x30
33 #define R_SHORT_PCREL_MODE 0x3e
34 #define R_LONG_PCREL_MODE 0x3f
35 #define R_ABS_CALL 0x40
36 #define R_DP_RELATIVE 0x50
37 #define R_DATA_GPREL 0x72
38 #define R_INDIRECT_CALL 0x76
39 #define R_PLT_REL 0x77
40 #define R_DLT_REL 0x78
41 #define R_CODE_ONE_SYMBOL 0x80
42 #define R_MILLI_REL 0xae
43 #define R_CODE_PLABEL 0xb0
44 #define R_BREAKPOINT 0xb2
46 #define R_ALT_ENTRY 0xb5
48 #define R_BEGIN_TRY 0xb7
49 #define R_END_TRY 0xb8
50 #define R_BEGIN_BRTAB 0xbb
51 #define R_END_BRTAB 0xbc
52 #define R_STATEMENT 0xbd
53 #define R_DATA_EXPR 0xc0
54 #define R_CODE_EXPR 0xc1
62 #define R_DATA_OVERRIDE 0xc9
63 #define R_TRANSLATED 0xce
64 #define R_AUX_UNWIND 0xcf
68 #define R_PREV_FIXUP 0xd3
69 #define R_SEC_STMT 0xd7
72 #define R_LINETAB 0xda
73 #define R_LINETAB_ESC 0xdb
74 #define R_LTP_OVERRIDE 0xdc
75 #define R_COMMENT 0xdd
76 #define R_TP_OVERRIDE 0xde
77 #define R_RESERVED 0xdf
79 #endif /* _SOM_RELOC_H */