175fd0b74Schristos /* SOM relocation definitions for BFD. 2*e992f068Schristos Copyright (C) 2010-2022 Free Software Foundation, Inc. 375fd0b74Schristos Contributed by Tristan Gingold <gingold@adacore.com>, AdaCore. 475fd0b74Schristos 575fd0b74Schristos This file is part of BFD, the Binary File Descriptor library. 675fd0b74Schristos 775fd0b74Schristos This program is free software; you can redistribute it and/or modify 875fd0b74Schristos it under the terms of the GNU General Public License as published by 975fd0b74Schristos the Free Software Foundation; either version 3 of the License, or 1075fd0b74Schristos (at your option) any later version. 1175fd0b74Schristos 1275fd0b74Schristos This program is distributed in the hope that it will be useful, 1375fd0b74Schristos but WITHOUT ANY WARRANTY; without even the implied warranty of 1475fd0b74Schristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1575fd0b74Schristos GNU General Public License for more details. 1675fd0b74Schristos 1775fd0b74Schristos You should have received a copy of the GNU General Public License 1875fd0b74Schristos along with this program; if not, write to the Free Software Foundation, 1975fd0b74Schristos Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ 2075fd0b74Schristos 2175fd0b74Schristos #ifndef _SOM_RELOC_H 2275fd0b74Schristos #define _SOM_RELOC_H 2375fd0b74Schristos 2475fd0b74Schristos #define R_NO_RELOCATION 0 2575fd0b74Schristos #define R_ZEROES 0x20 2675fd0b74Schristos #define R_UNINIT 0x22 2775fd0b74Schristos #define R_RELOCATION 0x24 2875fd0b74Schristos #define R_DATA_ONE_SYMBOL 0x25 2975fd0b74Schristos #define R_DATA_PLABEL 0x27 3075fd0b74Schristos #define R_SPACE_REF 0x29 3175fd0b74Schristos #define R_REPEATED_INIT 0x2a 3275fd0b74Schristos #define R_PCREL_CALL 0x30 3375fd0b74Schristos #define R_SHORT_PCREL_MODE 0x3e 3475fd0b74Schristos #define R_LONG_PCREL_MODE 0x3f 3575fd0b74Schristos #define R_ABS_CALL 0x40 3675fd0b74Schristos #define R_DP_RELATIVE 0x50 3775fd0b74Schristos #define R_DATA_GPREL 0x72 3875fd0b74Schristos #define R_INDIRECT_CALL 0x76 3975fd0b74Schristos #define R_PLT_REL 0x77 4075fd0b74Schristos #define R_DLT_REL 0x78 4175fd0b74Schristos #define R_CODE_ONE_SYMBOL 0x80 4275fd0b74Schristos #define R_MILLI_REL 0xae 4375fd0b74Schristos #define R_CODE_PLABEL 0xb0 4475fd0b74Schristos #define R_BREAKPOINT 0xb2 4575fd0b74Schristos #define R_ENTRY 0xb3 4675fd0b74Schristos #define R_ALT_ENTRY 0xb5 4775fd0b74Schristos #define R_EXIT 0xb6 4875fd0b74Schristos #define R_BEGIN_TRY 0xb7 4975fd0b74Schristos #define R_END_TRY 0xb8 5075fd0b74Schristos #define R_BEGIN_BRTAB 0xbb 5175fd0b74Schristos #define R_END_BRTAB 0xbc 5275fd0b74Schristos #define R_STATEMENT 0xbd 5375fd0b74Schristos #define R_DATA_EXPR 0xc0 5475fd0b74Schristos #define R_CODE_EXPR 0xc1 5575fd0b74Schristos #define R_FSEL 0xc2 5675fd0b74Schristos #define R_LSEL 0xc3 5775fd0b74Schristos #define R_RSEL 0xc4 5875fd0b74Schristos #define R_N_MODE 0xc5 5975fd0b74Schristos #define R_S_MODE 0xc6 6075fd0b74Schristos #define R_D_MODE 0xc7 6175fd0b74Schristos #define R_R_MODE 0xc8 6275fd0b74Schristos #define R_DATA_OVERRIDE 0xc9 6375fd0b74Schristos #define R_TRANSLATED 0xce 6475fd0b74Schristos #define R_AUX_UNWIND 0xcf 6575fd0b74Schristos #define R_COMP1 0xd0 6675fd0b74Schristos #define R_COMP2 0xd1 6775fd0b74Schristos #define R_COMP3 0xd2 6875fd0b74Schristos #define R_PREV_FIXUP 0xd3 6975fd0b74Schristos #define R_SEC_STMT 0xd7 7075fd0b74Schristos #define R_N0SEL 0xd8 7175fd0b74Schristos #define R_N1SEL 0xd9 7275fd0b74Schristos #define R_LINETAB 0xda 7375fd0b74Schristos #define R_LINETAB_ESC 0xdb 7475fd0b74Schristos #define R_LTP_OVERRIDE 0xdc 7575fd0b74Schristos #define R_COMMENT 0xdd 7675fd0b74Schristos #define R_TP_OVERRIDE 0xde 7775fd0b74Schristos #define R_RESERVED 0xdf 7875fd0b74Schristos 7975fd0b74Schristos #endif /* _SOM_RELOC_H */ 80