* elf64-alpha.c (elf64_alpha_find_nearest_line): Query dwarf2
[binutils.git] / include / elf / cris.h
blob957f19448ef0784b0af00c9ef847b59f1baa29de
1 /* CRIS ELF support for BFD.
2 Copyright (C) 2000 Free Software Foundation, Inc.
3 Contributed by Axis Communications AB, Lund, Sweden.
4 Written by Hans-Peter Nilsson.
6 This file is part of BFD, the Binary File Descriptor library.
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software Foundation, Inc.,
20 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
22 #ifndef _ELF_CRIS_H
23 #define _ELF_CRIS_H
25 #include "elf/reloc-macros.h"
27 /* Relocations. */
28 START_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)
37 RELOC_NUMBER (R_CRIS_GNU_VTINHERIT, 7)
38 RELOC_NUMBER (R_CRIS_GNU_VTENTRY, 8)
40 /* No other relocs must be visible outside the assembler. */
42 END_RELOC_NUMBERS (R_CRIS_max)
44 /* User symbols in this file have a leading underscore. */
45 #define EF_CRIS_UNDERSCORE 0x00000001
47 #endif /* _ELF_CRIS_H */