source: trunk/src/binutils/include/elf/cris.h@ 10

Last change on this file since 10 was 10, checked in by bird, 23 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.6 KB
Line 
1/* CRIS ELF support for BFD.
2 Copyright 2000, 2001 Free Software Foundation, Inc.
3 Contributed by Axis Communications AB, Lund, Sweden.
4 Written by Hans-Peter Nilsson.
5
6This file is part of BFD, the Binary File Descriptor library.
7
8This program is free software; you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation; either version 2 of the License, or
11(at your option) any later version.
12
13This program is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along with this program; if not, write to the Free Software Foundation, Inc.,
2059 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
21
22#ifndef _ELF_CRIS_H
23#define _ELF_CRIS_H
24
25#include "elf/reloc-macros.h"
26
27/* Relocations. */
28START_RELOC_NUMBERS (elf_cris_reloc_type)
29 RELOC_NUMBER (R_CRIS_NONE, 0)
30 RELOC_NUMBER (R_CRIS_8, 1)
31 RELOC_NUMBER (R_CRIS_16, 2)
32 RELOC_NUMBER (R_CRIS_32, 3)
33 RELOC_NUMBER (R_CRIS_8_PCREL, 4)
34 RELOC_NUMBER (R_CRIS_16_PCREL, 5)
35 RELOC_NUMBER (R_CRIS_32_PCREL, 6)
36
37 RELOC_NUMBER (R_CRIS_GNU_VTINHERIT, 7)
38 RELOC_NUMBER (R_CRIS_GNU_VTENTRY, 8)
39
40 /* No other relocs must be visible outside the assembler. */
41
42END_RELOC_NUMBERS (R_CRIS_max)
43
44/* User symbols in this file have a leading underscore. */
45#define EF_CRIS_UNDERSCORE 0x00000001
46
47#endif /* _ELF_CRIS_H */
Note: See TracBrowser for help on using the repository browser.