198b9484cSchristos /* SOM relocation definitions for BFD. 2*aab831ceSchristos Copyright (C) 2010-2024 Free Software Foundation, Inc. 398b9484cSchristos Contributed by Tristan Gingold <gingold@adacore.com>, AdaCore. 498b9484cSchristos 598b9484cSchristos This file is part of BFD, the Binary File Descriptor library. 698b9484cSchristos 798b9484cSchristos This program is free software; you can redistribute it and/or modify 898b9484cSchristos it under the terms of the GNU General Public License as published by 998b9484cSchristos the Free Software Foundation; either version 3 of the License, or 1098b9484cSchristos (at your option) any later version. 1198b9484cSchristos 1298b9484cSchristos This program is distributed in the hope that it will be useful, 1398b9484cSchristos but WITHOUT ANY WARRANTY; without even the implied warranty of 1498b9484cSchristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1598b9484cSchristos GNU General Public License for more details. 1698b9484cSchristos 1798b9484cSchristos You should have received a copy of the GNU General Public License 1898b9484cSchristos along with this program; if not, write to the Free Software Foundation, 1998b9484cSchristos Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ 2098b9484cSchristos 2198b9484cSchristos #ifndef _SOM_RELOC_H 2298b9484cSchristos #define _SOM_RELOC_H 2398b9484cSchristos 2498b9484cSchristos #define R_NO_RELOCATION 0 2598b9484cSchristos #define R_ZEROES 0x20 2698b9484cSchristos #define R_UNINIT 0x22 2798b9484cSchristos #define R_RELOCATION 0x24 2898b9484cSchristos #define R_DATA_ONE_SYMBOL 0x25 2998b9484cSchristos #define R_DATA_PLABEL 0x27 3098b9484cSchristos #define R_SPACE_REF 0x29 3198b9484cSchristos #define R_REPEATED_INIT 0x2a 3298b9484cSchristos #define R_PCREL_CALL 0x30 3398b9484cSchristos #define R_SHORT_PCREL_MODE 0x3e 3498b9484cSchristos #define R_LONG_PCREL_MODE 0x3f 3598b9484cSchristos #define R_ABS_CALL 0x40 3698b9484cSchristos #define R_DP_RELATIVE 0x50 3798b9484cSchristos #define R_DATA_GPREL 0x72 3898b9484cSchristos #define R_INDIRECT_CALL 0x76 3998b9484cSchristos #define R_PLT_REL 0x77 4098b9484cSchristos #define R_DLT_REL 0x78 4198b9484cSchristos #define R_CODE_ONE_SYMBOL 0x80 4298b9484cSchristos #define R_MILLI_REL 0xae 4398b9484cSchristos #define R_CODE_PLABEL 0xb0 4498b9484cSchristos #define R_BREAKPOINT 0xb2 4598b9484cSchristos #define R_ENTRY 0xb3 4698b9484cSchristos #define R_ALT_ENTRY 0xb5 4798b9484cSchristos #define R_EXIT 0xb6 4898b9484cSchristos #define R_BEGIN_TRY 0xb7 4998b9484cSchristos #define R_END_TRY 0xb8 5098b9484cSchristos #define R_BEGIN_BRTAB 0xbb 5198b9484cSchristos #define R_END_BRTAB 0xbc 5298b9484cSchristos #define R_STATEMENT 0xbd 5398b9484cSchristos #define R_DATA_EXPR 0xc0 5498b9484cSchristos #define R_CODE_EXPR 0xc1 5598b9484cSchristos #define R_FSEL 0xc2 5698b9484cSchristos #define R_LSEL 0xc3 5798b9484cSchristos #define R_RSEL 0xc4 5898b9484cSchristos #define R_N_MODE 0xc5 5998b9484cSchristos #define R_S_MODE 0xc6 6098b9484cSchristos #define R_D_MODE 0xc7 6198b9484cSchristos #define R_R_MODE 0xc8 6298b9484cSchristos #define R_DATA_OVERRIDE 0xc9 6398b9484cSchristos #define R_TRANSLATED 0xce 6498b9484cSchristos #define R_AUX_UNWIND 0xcf 6598b9484cSchristos #define R_COMP1 0xd0 6698b9484cSchristos #define R_COMP2 0xd1 6798b9484cSchristos #define R_COMP3 0xd2 6898b9484cSchristos #define R_PREV_FIXUP 0xd3 6998b9484cSchristos #define R_SEC_STMT 0xd7 7098b9484cSchristos #define R_N0SEL 0xd8 7198b9484cSchristos #define R_N1SEL 0xd9 7298b9484cSchristos #define R_LINETAB 0xda 7398b9484cSchristos #define R_LINETAB_ESC 0xdb 7498b9484cSchristos #define R_LTP_OVERRIDE 0xdc 7598b9484cSchristos #define R_COMMENT 0xdd 7698b9484cSchristos #define R_TP_OVERRIDE 0xde 7798b9484cSchristos #define R_RESERVED 0xdf 7898b9484cSchristos 7998b9484cSchristos #endif /* _SOM_RELOC_H */ 80