1*fae548d3Szrj /* Infineon XC16X ELF support for BFD. 2*fae548d3Szrj Copyright (C) 2006-2020 Free Software Foundation, Inc. 3*fae548d3Szrj Contributed by KPIT Cummins Infosystems 4*fae548d3Szrj 5*fae548d3Szrj This file is part of BFD, the Binary File Descriptor library. 6*fae548d3Szrj 7*fae548d3Szrj This program is free software; you can redistribute it and/or modify 8*fae548d3Szrj it under the terms of the GNU General Public License as published by 9*fae548d3Szrj the Free Software Foundation; either version 3 of the License, or 10*fae548d3Szrj (at your option) any later version. 11*fae548d3Szrj 12*fae548d3Szrj This program is distributed in the hope that it will be useful, 13*fae548d3Szrj but WITHOUT ANY WARRANTY; without even the implied warranty of 14*fae548d3Szrj MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15*fae548d3Szrj GNU General Public License for more details. 16*fae548d3Szrj 17*fae548d3Szrj You should have received a copy of the GNU General Public License 18*fae548d3Szrj along with this program; if not, write to the Free Software Foundation, 19*fae548d3Szrj Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ 20*fae548d3Szrj 21*fae548d3Szrj #ifndef _ELF_XC16X_H 22*fae548d3Szrj #define _ELF_XC16X_H 23*fae548d3Szrj 24*fae548d3Szrj #include "elf/reloc-macros.h" 25*fae548d3Szrj 26*fae548d3Szrj /* Relocations. */ 27*fae548d3Szrj START_RELOC_NUMBERS (elf_xc16x_reloc_type) 28*fae548d3Szrj RELOC_NUMBER (R_XC16X_NONE, 0) 29*fae548d3Szrj RELOC_NUMBER (R_XC16X_ABS_8, 1) 30*fae548d3Szrj RELOC_NUMBER (R_XC16X_ABS_16, 2) 31*fae548d3Szrj RELOC_NUMBER (R_XC16X_ABS_32, 3) 32*fae548d3Szrj RELOC_NUMBER (R_XC16X_8_PCREL, 4) 33*fae548d3Szrj RELOC_NUMBER (R_XC16X_PAG, 5) 34*fae548d3Szrj RELOC_NUMBER (R_XC16X_POF, 6) 35*fae548d3Szrj RELOC_NUMBER (R_XC16X_SEG, 7) 36*fae548d3Szrj RELOC_NUMBER (R_XC16X_SOF, 8) 37*fae548d3Szrj 38*fae548d3Szrj END_RELOC_NUMBERS (R_XC16X_max) 39*fae548d3Szrj 40*fae548d3Szrj #endif /* _ELF_XC16X_H */ 41