Commit | Line | Data |
---|---|---|
d70c5fc7 NC |
1 | /* Infineon XC16X ELF support for BFD. |
2 | Copyright 2006 Free Software Foundation, Inc. | |
3 | Contributed by KPIT Cummins Infosystems | |
4 | ||
5 | This file is part of BFD, the Binary File Descriptor library. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program; if not, write to the Free Software Foundation, Inc., | |
19 | 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ | |
20 | ||
21 | ||
22 | #ifndef _ELF_XC16X_H | |
23 | #define _ELF_XC16X_H | |
24 | ||
25 | #include "elf/reloc-macros.h" | |
26 | ||
27 | /* Relocations. */ | |
28 | START_RELOC_NUMBERS (elf_xc16x_reloc_type) | |
29 | RELOC_NUMBER (R_XC16X_NONE, 0) | |
30 | RELOC_NUMBER (R_XC16X_ABS_8, 1) | |
31 | RELOC_NUMBER (R_XC16X_ABS_16, 2) | |
32 | RELOC_NUMBER (R_XC16X_ABS_32, 3) | |
33 | RELOC_NUMBER (R_XC16X_8_PCREL, 4) | |
34 | RELOC_NUMBER (R_XC16X_PAG, 5) | |
35 | RELOC_NUMBER (R_XC16X_POF, 6) | |
36 | RELOC_NUMBER (R_XC16X_SEG, 7) | |
37 | RELOC_NUMBER (R_XC16X_SOF, 8) | |
38 | ||
39 | END_RELOC_NUMBERS (R_XC16X_max) | |
40 | ||
41 | #endif /* _ELF_XC16X_H */ |