198b9484cSchristos /* MN10200 ELF support for BFD. 2*02f41505Schristos Copyright (C) 1998-2024 Free Software Foundation, Inc. 398b9484cSchristos 498b9484cSchristos This file is part of BFD, the Binary File Descriptor library. 598b9484cSchristos 698b9484cSchristos This program is free software; you can redistribute it and/or modify 798b9484cSchristos it under the terms of the GNU General Public License as published by 898b9484cSchristos the Free Software Foundation; either version 3 of the License, or 998b9484cSchristos (at your option) any later version. 1098b9484cSchristos 1198b9484cSchristos This program is distributed in the hope that it will be useful, 1298b9484cSchristos but WITHOUT ANY WARRANTY; without even the implied warranty of 1398b9484cSchristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1498b9484cSchristos GNU General Public License for more details. 1598b9484cSchristos 1698b9484cSchristos You should have received a copy of the GNU General Public License 1798b9484cSchristos along with this program; if not, write to the Free Software 1898b9484cSchristos Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 1998b9484cSchristos MA 02110-1301, USA. */ 2098b9484cSchristos 2198b9484cSchristos /* This file holds definitions specific to the MN10200 ELF ABI. */ 2298b9484cSchristos 2398b9484cSchristos #ifndef _ELF_MN10200_H 2498b9484cSchristos #define _ELF_MN10200_H 2598b9484cSchristos 2698b9484cSchristos #include "elf/reloc-macros.h" 2798b9484cSchristos 2898b9484cSchristos /* Relocations. */ 2998b9484cSchristos START_RELOC_NUMBERS (elf_mn10200_reloc_type) 3098b9484cSchristos RELOC_NUMBER (R_MN10200_NONE, 0) 3198b9484cSchristos RELOC_NUMBER (R_MN10200_32, 1) 3298b9484cSchristos RELOC_NUMBER (R_MN10200_16, 2) 3398b9484cSchristos RELOC_NUMBER (R_MN10200_8, 3) 3498b9484cSchristos RELOC_NUMBER (R_MN10200_24, 4) 3598b9484cSchristos RELOC_NUMBER (R_MN10200_PCREL8, 5) 3698b9484cSchristos RELOC_NUMBER (R_MN10200_PCREL16, 6) 3798b9484cSchristos RELOC_NUMBER (R_MN10200_PCREL24, 7) 3898b9484cSchristos END_RELOC_NUMBERS (R_MN10200_max) 3998b9484cSchristos 4098b9484cSchristos #endif /* _ELF_MN10200_H */ 41