* elf.c (bfd_section_from_shdr): Treat invalid reloc sections as
[deliverable/binutils-gdb.git] / bfd / cpu-maxq.c
CommitLineData
7499d566 1/* BFD support for the MAXQ20/10 architecture.
5c4504f7 2 Copyright 2004, 2005 Free Software Foundation, Inc.
7499d566
NC
3
4 Written by Vineet Sharma(vineets@noida.hcltech.com)
5 Inderpreet Singh(inderpreetb@noida.hcltech.com)
6
7 This file is part of BFD, the Binary File Descriptor library.
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
3e110533 21 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
7499d566
NC
22
23#include "bfd.h"
24#include "sysdep.h"
25#include "libbfd.h"
26
27/* MAXQ Archtecture info. */
5c4504f7 28static const bfd_arch_info_type bfd_maxq10_arch =
7499d566 29{
5c4504f7
NC
30 16, /* 16 bits in a word. */
31 16, /* 16 bits in an address. */
32 8, /* 16 bits in a byte. */
33 bfd_arch_maxq, /* Architecture number. */
34 bfd_mach_maxq10, /* Machine number. */
35 "maxq", /* Architecture name. */
36 "maxq10", /* Machine name. */
37 0, /* Section align power. */
38 FALSE, /* Not the default machine. */
39 bfd_default_compatible,
7499d566
NC
40 bfd_default_scan,
41 NULL
42};
5c4504f7
NC
43
44
45const bfd_arch_info_type bfd_maxq_arch =
46{
47 16, /* 16 bits in a word. */
48 16, /* 16 bits in an address. */
49 8, /* 16 bits in a byte. */
50 bfd_arch_maxq, /* Architecture number. */
51 bfd_mach_maxq20, /* Machine number. */
52 "maxq", /* Architecture name. */
53 "maxq20", /* Machine name. */
54 0, /* Section align power. */
55 TRUE, /* This is the default machine. */
56 bfd_default_compatible,
57 bfd_default_scan,
58 & bfd_maxq10_arch
59};
This page took 0.070591 seconds and 4 git commands to generate.