]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - include/som/reloc.h
Update year range in copyright notice of binutils files
[thirdparty/binutils-gdb.git] / include / som / reloc.h
CommitLineData
820744a5 1/* SOM relocation definitions for BFD.
d87bef3a 2 Copyright (C) 2010-2023 Free Software Foundation, Inc.
820744a5
TG
3 Contributed by Tristan Gingold <gingold@adacore.com>, AdaCore.
4
5 This file is part of BFD, the Binary File Descriptor library.
6
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.
11
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.
16
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. */
20
21#ifndef _SOM_RELOC_H
22#define _SOM_RELOC_H
23
24#define R_NO_RELOCATION 0
25#define R_ZEROES 0x20
26#define R_UNINIT 0x22
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
45#define R_ENTRY 0xb3
46#define R_ALT_ENTRY 0xb5
47#define R_EXIT 0xb6
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
55#define R_FSEL 0xc2
56#define R_LSEL 0xc3
57#define R_RSEL 0xc4
58#define R_N_MODE 0xc5
59#define R_S_MODE 0xc6
60#define R_D_MODE 0xc7
61#define R_R_MODE 0xc8
62#define R_DATA_OVERRIDE 0xc9
63#define R_TRANSLATED 0xce
64#define R_AUX_UNWIND 0xcf
65#define R_COMP1 0xd0
66#define R_COMP2 0xd1
67#define R_COMP3 0xd2
68#define R_PREV_FIXUP 0xd3
69#define R_SEC_STMT 0xd7
70#define R_N0SEL 0xd8
71#define R_N1SEL 0xd9
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
78
79#endif /* _SOM_RELOC_H */