14559860eSchristos /* s12z ELF support for BFD. 2*02f41505Schristos Copyright (C) 1999-2024 Free Software Foundation, Inc. 34559860eSchristos 44559860eSchristos This file is part of BFD, the Binary File Descriptor library. 54559860eSchristos 64559860eSchristos This program is free software; you can redistribute it and/or modify 74559860eSchristos it under the terms of the GNU General Public License as published by 84559860eSchristos the Free Software Foundation; either version 3 of the License, or 94559860eSchristos (at your option) any later version. 104559860eSchristos 114559860eSchristos This program is distributed in the hope that it will be useful, 124559860eSchristos but WITHOUT ANY WARRANTY; without even the implied warranty of 134559860eSchristos MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 144559860eSchristos GNU General Public License for more details. 154559860eSchristos 164559860eSchristos You should have received a copy of the GNU General Public License 174559860eSchristos along with this program; if not, write to the Free Software Foundation, 184559860eSchristos Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ 194559860eSchristos 204559860eSchristos #ifndef _ELF_S12Z_H 214559860eSchristos #define _ELF_S12Z_H 224559860eSchristos 234559860eSchristos #include "elf/reloc-macros.h" 244559860eSchristos 254559860eSchristos /* Relocation types. */ 264559860eSchristos START_RELOC_NUMBERS (elf_s12z_reloc_type) 274559860eSchristos RELOC_NUMBER (R_S12Z_NONE, 0) 284559860eSchristos RELOC_NUMBER (R_S12Z_OPR, 1) 294559860eSchristos RELOC_NUMBER (R_S12Z_UKNWN_2, 2) 304559860eSchristos RELOC_NUMBER (R_S12Z_PCREL_7_15, 3) 314559860eSchristos RELOC_NUMBER (R_S12Z_EXT24, 4) 324559860eSchristos RELOC_NUMBER (R_S12Z_EXT18, 5) 334559860eSchristos RELOC_NUMBER (R_S12Z_CW32, 6) 344559860eSchristos RELOC_NUMBER (R_S12Z_EXT32, 7) 354559860eSchristos END_RELOC_NUMBERS (R_S12Z_max) 364559860eSchristos 374559860eSchristos #endif 38