1e6c7e151Schristos /* s12z ELF support for BFD. 2*c42dbd0eSchristos Copyright (C) 1999-2022 Free Software Foundation, Inc. 3e6c7e151Schristos 4e6c7e151Schristos This file is part of BFD, the Binary File Descriptor library. 5e6c7e151Schristos 6e6c7e151Schristos This program is free software; you can redistribute it and/or modify 7e6c7e151Schristos it under the terms of the GNU General Public License as published by 8e6c7e151Schristos the Free Software Foundation; either version 3 of the License, or 9e6c7e151Schristos (at your option) any later version. 10e6c7e151Schristos 11e6c7e151Schristos This program is distributed in the hope that it will be useful, 12e6c7e151Schristos but WITHOUT ANY WARRANTY; without even the implied warranty of 13e6c7e151Schristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14e6c7e151Schristos GNU General Public License for more details. 15e6c7e151Schristos 16e6c7e151Schristos You should have received a copy of the GNU General Public License 17e6c7e151Schristos along with this program; if not, write to the Free Software Foundation, 18e6c7e151Schristos Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ 19e6c7e151Schristos 20e6c7e151Schristos #ifndef _ELF_S12Z_H 21e6c7e151Schristos #define _ELF_S12Z_H 22e6c7e151Schristos 23e6c7e151Schristos #include "elf/reloc-macros.h" 24e6c7e151Schristos 25e6c7e151Schristos /* Relocation types. */ 26e6c7e151Schristos START_RELOC_NUMBERS (elf_s12z_reloc_type) 27e6c7e151Schristos RELOC_NUMBER (R_S12Z_NONE, 0) 28e6c7e151Schristos RELOC_NUMBER (R_S12Z_OPR, 1) 29e6c7e151Schristos RELOC_NUMBER (R_S12Z_UKNWN_2, 2) 30e6c7e151Schristos RELOC_NUMBER (R_S12Z_PCREL_7_15, 3) 31e6c7e151Schristos RELOC_NUMBER (R_S12Z_EXT24, 4) 32867d70fcSchristos RELOC_NUMBER (R_S12Z_EXT18, 5) 33867d70fcSchristos RELOC_NUMBER (R_S12Z_CW32, 6) 34867d70fcSchristos RELOC_NUMBER (R_S12Z_EXT32, 7) 35e6c7e151Schristos END_RELOC_NUMBERS (R_S12Z_max) 36e6c7e151Schristos 37e6c7e151Schristos #endif 38