Back to index

cell-binutils  2.17cvs20070401
mcore.h
Go to the documentation of this file.
00001 /* Motorola MCore support for BFD.
00002    Copyright 1995, 1999, 2000 Free Software Foundation, Inc.
00003 
00004 This file is part of BFD, the Binary File Descriptor library.
00005 
00006 This program is free software; you can redistribute it and/or modify
00007 it under the terms of the GNU General Public License as published by
00008 the Free Software Foundation; either version 2 of the License, or
00009 (at your option) any later version.
00010 
00011 This program is distributed in the hope that it will be useful,
00012 but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 GNU General Public License for more details.
00015 
00016 You should have received a copy of the GNU General Public License
00017 along with this program; if not, write to the Free Software
00018 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
00019 
00020 /* This file holds definitions specific to the MCore ELF ABI. */
00021 #ifndef _ELF_MORE_H
00022 #define _ELF_MORE_H
00023 
00024 #include "elf/reloc-macros.h"
00025 
00026 /* Relocations.  */
00027 START_RELOC_NUMBERS (elf_mcore_reloc_type)
00028   RELOC_NUMBER (R_MCORE_NONE, 0)
00029   RELOC_NUMBER (R_MCORE_ADDR32, 1)
00030   RELOC_NUMBER (R_MCORE_PCRELIMM8BY4, 2)
00031   RELOC_NUMBER (R_MCORE_PCRELIMM11BY2, 3)
00032   RELOC_NUMBER (R_MCORE_PCRELIMM4BY2, 4)
00033   RELOC_NUMBER (R_MCORE_PCREL32, 5)
00034   RELOC_NUMBER (R_MCORE_PCRELJSR_IMM11BY2, 6)
00035   RELOC_NUMBER (R_MCORE_GNU_VTINHERIT, 7)
00036   RELOC_NUMBER (R_MCORE_GNU_VTENTRY, 8)
00037   RELOC_NUMBER (R_MCORE_RELATIVE, 9)
00038   RELOC_NUMBER (R_MCORE_COPY, 10)
00039   RELOC_NUMBER (R_MCORE_GLOB_DAT, 11)
00040   RELOC_NUMBER (R_MCORE_JUMP_SLOT, 12)
00041 END_RELOC_NUMBERS (R_MCORE_max)
00042 
00043 /* Section Attributes.  */
00044 #define SHF_MCORE_NOREAD    0x80000000
00045 
00046 #endif /* _ELF_MCORE_H */