Do not ignore sections without the LOAD flag when disassemble_all is true.
[binutils.git] / bfd / cpu-cris.c
blob9e60ff062f3058f2c49d3a64dbc826f3c8a9603b
1 /* BFD support for the Axis CRIS architecture.
2 Copyright 2000, 2002 Free Software Foundation, Inc.
3 Contributed by Axis Communications AB.
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
20 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
22 #include "bfd.h"
23 #include "sysdep.h"
24 #include "libbfd.h"
26 const bfd_arch_info_type
27 bfd_cris_arch =
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. */
41 TRUE, /* This is the default "machine", since
42 there's only one. */
43 bfd_default_compatible, /* A default function for testing
44 "machine" compatibility of two
45 bfd_arch_info_type. */
46 bfd_default_scan, /* Check if a bfd_arch_info_type is a
47 match. */
48 NULL /* Pointer to next bfd_arch_info_type in
49 the same family. */
53 * Local variables:
54 * eval: (c-set-style "gnu")
55 * indent-tabs-mode: t
56 * End: