d30v.h revision 78828
168673Sobrien/* d30v ELF support for BFD. 278828Sobrien Copyright 1998, 2000 Free Software Foundation, Inc. 368673Sobrien 468673Sobrien This file is part of BFD, the Binary File Descriptor library. 568673Sobrien 668673Sobrien This program is free software; you can redistribute it and/or modify 768673Sobrien it under the terms of the GNU General Public License as published by 868673Sobrien the Free Software Foundation; either version 2 of the License, or 968673Sobrien (at your option) any later version. 1068673Sobrien 1168673Sobrien This program is distributed in the hope that it will be useful, 1268673Sobrien but WITHOUT ANY WARRANTY; without even the implied warranty of 1368673Sobrien MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1468673Sobrien GNU General Public License for more details. 1568673Sobrien 1668673Sobrien You should have received a copy of the GNU General Public License 1768673Sobrien along with this program; if not, write to the Free Software Foundation, 1868673Sobrien Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 1968673Sobrien 2068673Sobrien#ifndef _ELF_D30V_H 2168673Sobrien#define _ELF_D30V_H 2268673Sobrien 2368673Sobrien#include "elf/reloc-macros.h" 2468673Sobrien 2568673Sobrien/* Relocations. */ 2668673SobrienSTART_RELOC_NUMBERS (elf_d30v_reloc_type) 2768673Sobrien RELOC_NUMBER (R_D30V_NONE, 0) 2868673Sobrien RELOC_NUMBER (R_D30V_6, 1) 2968673Sobrien RELOC_NUMBER (R_D30V_9_PCREL, 2) 3068673Sobrien RELOC_NUMBER (R_D30V_9_PCREL_R, 3) 3168673Sobrien RELOC_NUMBER (R_D30V_15, 4) 3268673Sobrien RELOC_NUMBER (R_D30V_15_PCREL, 5) 3368673Sobrien RELOC_NUMBER (R_D30V_15_PCREL_R, 6) 3468673Sobrien RELOC_NUMBER (R_D30V_21, 7) 3568673Sobrien RELOC_NUMBER (R_D30V_21_PCREL, 8) 3668673Sobrien RELOC_NUMBER (R_D30V_21_PCREL_R, 9) 3768673Sobrien RELOC_NUMBER (R_D30V_32, 10) 3868673Sobrien RELOC_NUMBER (R_D30V_32_PCREL, 11) 3968673Sobrien RELOC_NUMBER (R_D30V_32_NORMAL, 12) 4077298SobrienEND_RELOC_NUMBERS (R_D30V_max) 4168673Sobrien 4268673Sobrien#endif 43