OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [bfd/] [cpu-xc16x.c] - Blame information for rev 166

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 14 khays
/* BFD support for the Infineon XC16X Microcontroller.
2
   Copyright 2006, 2007 Free Software Foundation, Inc.
3
   Contributed by KPIT Cummins Infosystems
4
 
5
   This file is part of BFD, the Binary File Descriptor library.
6
   Contributed by Anil Paranjpe(anilp1@kpitcummins.com)
7
 
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 3 of the License, or
11
   (at your option) any later version.
12
 
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.
17
 
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
20
   Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
21
   02110-1301, USA.  */
22
 
23
#include "sysdep.h"
24
#include "bfd.h"
25
#include "libbfd.h"
26
 
27
const bfd_arch_info_type xc16xs_info_struct =
28
{
29
  16,                           /* Bits per word.  */
30
  16,                           /* Bits per address.  */
31
  8,                            /* Bits per byte.  */
32
  bfd_arch_xc16x,               /* Architecture.  */
33
  bfd_mach_xc16xs,              /* Machine.  */
34
  "xc16x",                      /* Architecture name.  */
35
  "xc16xs",                     /* Printable name.  */
36
  1,                            /* Section alignment - 16 bit.  */
37
  TRUE,                         /* The default ?  */
38
  bfd_default_compatible,       /* Architecture comparison fn.  */
39
  bfd_default_scan,             /* String to architecture convert fn.  */
40 166 khays
  bfd_arch_default_fill,        /* Default fill.  */
41 14 khays
  NULL                          /* Next in list.  */
42
};
43
 
44
const bfd_arch_info_type xc16xl_info_struct =
45
{
46
  16,                           /* Bits per word.  */
47
  32,                           /* Bits per address.  */
48
  8,                            /* Bits per byte.  */
49
  bfd_arch_xc16x,               /* Architecture.  */
50
  bfd_mach_xc16xl,              /* Machine.  */
51
  "xc16x",                      /* Architecture name.  */
52
  "xc16xl",                     /* Printable name.  */
53
  1,                            /* Section alignment - 16 bit.  */
54
  TRUE,                         /* The default ?  */
55
  bfd_default_compatible,       /* Architecture comparison fn.  */
56
  bfd_default_scan,             /* String to architecture convert fn.  */
57 166 khays
  bfd_arch_default_fill,        /* Default fill.  */
58 14 khays
  & xc16xs_info_struct          /* Next in list.  */
59
};
60
 
61
const bfd_arch_info_type bfd_xc16x_arch =
62
{
63
  16,                           /* Bits per word.  */
64
  16,                           /* Bits per address.  */
65
  8,                            /* Bits per byte.  */
66
  bfd_arch_xc16x,               /* Architecture.  */
67
  bfd_mach_xc16x,               /* Machine.  */
68
  "xc16x",                      /* Architecture name.  */
69
  "xc16x",                      /* Printable name.  */
70
  1,                            /* Section alignment - 16 bit.  */
71
  TRUE,                         /* The default ?  */
72
  bfd_default_compatible,       /* Architecture comparison fn.  */
73
  bfd_default_scan,             /* String to architecture convert fn.  */
74 166 khays
  bfd_arch_default_fill,        /* Default fill.  */
75 14 khays
  & xc16xl_info_struct          /* Next in list.  */
76
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.