2004-11-03 Randolph Chung <tausq@debian.org>
[deliverable/binutils-gdb.git] / bfd / cpu-cris.c
CommitLineData
06c15ad7 1/* BFD support for the Axis CRIS architecture.
b34976b6 2 Copyright 2000, 2002 Free Software Foundation, Inc.
06c15ad7
HPN
3 Contributed by Axis Communications AB.
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
20Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
21
22#include "bfd.h"
23#include "sysdep.h"
24#include "libbfd.h"
25
26const bfd_arch_info_type
27bfd_cris_arch =
28{
29 32, /* There's 32 bits_per_word. */
30 32, /* There's 32 bits_per_address. */
31 8, /* There's 8 bits_per_byte. */
32 bfd_arch_cris, /* One of enum bfd_architecture, defined
33 in archures.c and provided in
34 generated header files. */
35 0xff, /* Only 1 machine, but #255 for
36 historical reasons. */
37 "cris", /* The arch_name. */
38 "cris", /* The printable name is the same. */
39 1, /* Section alignment power; each section
40 is aligned to (only) 2^1 bytes. */
b34976b6 41 TRUE, /* This is the default "machine", since
06c15ad7
HPN
42 there's only one. */
43 bfd_default_compatible, /* A default function for testing
44 "machine" compatibility of two
45 bfd_arch_info_type. */
19852a2a 46 bfd_default_scan, /* Check if a bfd_arch_info_type is a
06c15ad7
HPN
47 match. */
48 NULL /* Pointer to next bfd_arch_info_type in
49 the same family. */
50};
51
52/*
53 * Local variables:
54 * eval: (c-set-style "gnu")
55 * indent-tabs-mode: t
56 * End:
57 */
This page took 0.213979 seconds and 4 git commands to generate.