mcore.h revision 78828
168673Sobrien/* Motorola MCore support for BFD. 278828Sobrien Copyright 1995, 1999, 2000 Free Software Foundation, Inc. 368673Sobrien 468673SobrienThis file is part of BFD, the Binary File Descriptor library. 568673Sobrien 668673SobrienThis program is free software; you can redistribute it and/or modify 768673Sobrienit under the terms of the GNU General Public License as published by 868673Sobrienthe Free Software Foundation; either version 2 of the License, or 968673Sobrien(at your option) any later version. 1068673Sobrien 1168673SobrienThis program is distributed in the hope that it will be useful, 1268673Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of 1368673SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1468673SobrienGNU General Public License for more details. 1568673Sobrien 1668673SobrienYou should have received a copy of the GNU General Public License 1768673Sobrienalong with this program; if not, write to the Free Software 1868673SobrienFoundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 1968673Sobrien 2068673Sobrien/* This file holds definitions specific to the MCore ELF ABI. */ 2168673Sobrien#ifndef _ELF_MORE_H 2268673Sobrien#define _ELF_MORE_H 2368673Sobrien 2468673Sobrien#include "elf/reloc-macros.h" 2568673Sobrien 2668673Sobrien/* Relocations. */ 2768673SobrienSTART_RELOC_NUMBERS (elf_mcore_reloc_type) 2868673Sobrien RELOC_NUMBER (R_MCORE_NONE, 0) 2968673Sobrien RELOC_NUMBER (R_MCORE_ADDR32, 1) 3068673Sobrien RELOC_NUMBER (R_MCORE_PCRELIMM8BY4, 2) 3168673Sobrien RELOC_NUMBER (R_MCORE_PCRELIMM11BY2, 3) 3268673Sobrien RELOC_NUMBER (R_MCORE_PCRELIMM4BY2, 4) 3368673Sobrien RELOC_NUMBER (R_MCORE_PCREL32, 5) 3468673Sobrien RELOC_NUMBER (R_MCORE_PCRELJSR_IMM11BY2, 6) 3568673Sobrien RELOC_NUMBER (R_MCORE_GNU_VTINHERIT, 7) 3668673Sobrien RELOC_NUMBER (R_MCORE_GNU_VTENTRY, 8) 3768673Sobrien RELOC_NUMBER (R_MCORE_RELATIVE, 9) 3868673Sobrien RELOC_NUMBER (R_MCORE_COPY, 10) 3968673Sobrien RELOC_NUMBER (R_MCORE_GLOB_DAT, 11) 4068673Sobrien RELOC_NUMBER (R_MCORE_JUMP_SLOT, 12) 4177298SobrienEND_RELOC_NUMBERS (R_MCORE_max) 4268673Sobrien 4368673Sobrien/* Section Attributes. */ 4468673Sobrien#define SHF_MCORE_NOREAD 0x80000000 4568673Sobrien 4668673Sobrien#endif /* _ELF_MCORE_H */ 47