1c5dff60aSchristos /* MN10200 ELF support for BFD. 2*1424dfb3Schristos Copyright (C) 1998-2020 Free Software Foundation, Inc. 3c5dff60aSchristos 4c5dff60aSchristos This file is part of BFD, the Binary File Descriptor library. 5c5dff60aSchristos 6c5dff60aSchristos This program is free software; you can redistribute it and/or modify 7c5dff60aSchristos it under the terms of the GNU General Public License as published by 8c5dff60aSchristos the Free Software Foundation; either version 3 of the License, or 9c5dff60aSchristos (at your option) any later version. 10c5dff60aSchristos 11c5dff60aSchristos This program is distributed in the hope that it will be useful, 12c5dff60aSchristos but WITHOUT ANY WARRANTY; without even the implied warranty of 13c5dff60aSchristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14c5dff60aSchristos GNU General Public License for more details. 15c5dff60aSchristos 16c5dff60aSchristos You should have received a copy of the GNU General Public License 17c5dff60aSchristos along with this program; if not, write to the Free Software 18c5dff60aSchristos Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 19c5dff60aSchristos MA 02110-1301, USA. */ 20c5dff60aSchristos 21c5dff60aSchristos /* This file holds definitions specific to the MN10200 ELF ABI. */ 22c5dff60aSchristos 23c5dff60aSchristos #ifndef _ELF_MN10200_H 24c5dff60aSchristos #define _ELF_MN10200_H 25c5dff60aSchristos 26c5dff60aSchristos #include "elf/reloc-macros.h" 27c5dff60aSchristos 28c5dff60aSchristos /* Relocations. */ 29c5dff60aSchristos START_RELOC_NUMBERS (elf_mn10200_reloc_type) 30c5dff60aSchristos RELOC_NUMBER (R_MN10200_NONE, 0) 31c5dff60aSchristos RELOC_NUMBER (R_MN10200_32, 1) 32c5dff60aSchristos RELOC_NUMBER (R_MN10200_16, 2) 33c5dff60aSchristos RELOC_NUMBER (R_MN10200_8, 3) 34c5dff60aSchristos RELOC_NUMBER (R_MN10200_24, 4) 35c5dff60aSchristos RELOC_NUMBER (R_MN10200_PCREL8, 5) 36c5dff60aSchristos RELOC_NUMBER (R_MN10200_PCREL16, 6) 37c5dff60aSchristos RELOC_NUMBER (R_MN10200_PCREL24, 7) 38c5dff60aSchristos END_RELOC_NUMBERS (R_MN10200_max) 39c5dff60aSchristos 40c5dff60aSchristos #endif /* _ELF_MN10200_H */ 41