189857Sobrien/* OpenRISC ELF support for BFD. 289857Sobrien Copyright 2001 Free Software Foundation, Inc. 389857Sobrien 489857SobrienThis file is part of BFD, the Binary File Descriptor library. 589857Sobrien 689857SobrienThis program is free software; you can redistribute it and/or modify 789857Sobrienit under the terms of the GNU General Public License as published by 889857Sobrienthe Free Software Foundation; either version 2 of the License, or 989857Sobrien(at your option) any later version. 1089857Sobrien 1189857SobrienThis program is distributed in the hope that it will be useful, 1289857Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of 1389857SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1489857SobrienGNU General Public License for more details. 1589857Sobrien 1689857SobrienYou should have received a copy of the GNU General Public License 1789857Sobrienalong with this program; if not, write to the Free Software Foundation, Inc., 18218822Sdim51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ 1989857Sobrien 2089857Sobrien#ifndef _ELF_OPENRISC_H 2189857Sobrien#define _ELF_OPENRISC_H 2289857Sobrien 2389857Sobrien#include "elf/reloc-macros.h" 2489857Sobrien 2589857Sobrien/* Relocations. */ 2689857SobrienSTART_RELOC_NUMBERS (elf_openrisc_reloc_type) 2789857Sobrien RELOC_NUMBER (R_OPENRISC_NONE, 0) 2889857Sobrien RELOC_NUMBER (R_OPENRISC_INSN_REL_26, 1) 2989857Sobrien RELOC_NUMBER (R_OPENRISC_INSN_ABS_26, 2) 3089857Sobrien RELOC_NUMBER (R_OPENRISC_LO_16_IN_INSN, 3) 3189857Sobrien RELOC_NUMBER (R_OPENRISC_HI_16_IN_INSN, 4) 3289857Sobrien RELOC_NUMBER (R_OPENRISC_8, 5) 3389857Sobrien RELOC_NUMBER (R_OPENRISC_16, 6) 3489857Sobrien RELOC_NUMBER (R_OPENRISC_32, 7) 3589857Sobrien RELOC_NUMBER (R_OPENRISC_GNU_VTINHERIT, 8) 3689857Sobrien RELOC_NUMBER (R_OPENRISC_GNU_VTENTRY, 9) 3789857SobrienEND_RELOC_NUMBERS (R_OPENRISC_max) 3889857Sobrien 3989857Sobrien#endif /* _ELF_OPENRISC_H */ 40