Home | History | Annotate | Line # | Download | only in elf
      1       1.1     skrll /* Motorola MCore support for BFD.
      2  1.1.1.10  christos    Copyright (C) 1995-2026 Free Software Foundation, Inc.
      3       1.1     skrll 
      4   1.1.1.2  christos    This file is part of BFD, the Binary File Descriptor library.
      5       1.1     skrll 
      6   1.1.1.2  christos    This program is free software; you can redistribute it and/or modify
      7   1.1.1.2  christos    it under the terms of the GNU General Public License as published by
      8   1.1.1.2  christos    the Free Software Foundation; either version 3 of the License, or
      9   1.1.1.2  christos    (at your option) any later version.
     10   1.1.1.2  christos 
     11   1.1.1.2  christos    This program is distributed in the hope that it will be useful,
     12   1.1.1.2  christos    but WITHOUT ANY WARRANTY; without even the implied warranty of
     13   1.1.1.2  christos    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14   1.1.1.2  christos    GNU General Public License for more details.
     15   1.1.1.2  christos 
     16   1.1.1.2  christos    You should have received a copy of the GNU General Public License
     17   1.1.1.2  christos    along with this program; if not, write to the Free Software
     18   1.1.1.2  christos    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
     19   1.1.1.2  christos    MA 02110-1301, USA.  */
     20       1.1     skrll 
     21   1.1.1.2  christos /* This file holds definitions specific to the MCore ELF ABI.  */
     22       1.1     skrll #ifndef _ELF_MORE_H
     23       1.1     skrll #define _ELF_MORE_H
     24       1.1     skrll 
     25       1.1     skrll #include "elf/reloc-macros.h"
     26       1.1     skrll 
     27       1.1     skrll /* Relocations.  */
     28       1.1     skrll START_RELOC_NUMBERS (elf_mcore_reloc_type)
     29       1.1     skrll   RELOC_NUMBER (R_MCORE_NONE, 0)
     30       1.1     skrll   RELOC_NUMBER (R_MCORE_ADDR32, 1)
     31       1.1     skrll   RELOC_NUMBER (R_MCORE_PCRELIMM8BY4, 2)
     32       1.1     skrll   RELOC_NUMBER (R_MCORE_PCRELIMM11BY2, 3)
     33       1.1     skrll   RELOC_NUMBER (R_MCORE_PCRELIMM4BY2, 4)
     34       1.1     skrll   RELOC_NUMBER (R_MCORE_PCREL32, 5)
     35       1.1     skrll   RELOC_NUMBER (R_MCORE_PCRELJSR_IMM11BY2, 6)
     36       1.1     skrll   RELOC_NUMBER (R_MCORE_GNU_VTINHERIT, 7)
     37       1.1     skrll   RELOC_NUMBER (R_MCORE_GNU_VTENTRY, 8)
     38       1.1     skrll   RELOC_NUMBER (R_MCORE_RELATIVE, 9)
     39       1.1     skrll   RELOC_NUMBER (R_MCORE_COPY, 10)
     40       1.1     skrll   RELOC_NUMBER (R_MCORE_GLOB_DAT, 11)
     41       1.1     skrll   RELOC_NUMBER (R_MCORE_JUMP_SLOT, 12)
     42       1.1     skrll END_RELOC_NUMBERS (R_MCORE_max)
     43       1.1     skrll 
     44       1.1     skrll /* Section Attributes.  */
     45       1.1     skrll #define SHF_MCORE_NOREAD	0x80000000
     46       1.1     skrll 
     47       1.1     skrll #endif /* _ELF_MCORE_H */
     48