source: trunk/libs/newlib/src/include/elf/xc16x.h @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 1.4 KB
Line 
1/* Infineon XC16X ELF support for BFD.
2   Copyright 2006, 2010 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 3 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,
19   Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
20
21#ifndef _ELF_XC16X_H
22#define _ELF_XC16X_H
23
24#include "elf/reloc-macros.h"
25
26/* Relocations.  */
27START_RELOC_NUMBERS (elf_xc16x_reloc_type)
28  RELOC_NUMBER (R_XC16X_NONE, 0)
29  RELOC_NUMBER (R_XC16X_ABS_8, 1)
30  RELOC_NUMBER (R_XC16X_ABS_16, 2)
31  RELOC_NUMBER (R_XC16X_ABS_32, 3)
32  RELOC_NUMBER (R_XC16X_8_PCREL, 4)
33  RELOC_NUMBER (R_XC16X_PAG, 5)
34  RELOC_NUMBER (R_XC16X_POF, 6)
35  RELOC_NUMBER (R_XC16X_SEG, 7)
36  RELOC_NUMBER (R_XC16X_SOF, 8)
37
38END_RELOC_NUMBERS (R_XC16X_max)
39
40#endif /* _ELF_XC16X_H */
Note: See TracBrowser for help on using the repository browser.