* elflink.c (is_reloc_section): New function. Returns true if the
[deliverable/binutils-gdb.git] / bfd / cpu-score.c
CommitLineData
1c0d3aa6 1/* BFD support for the score processor
3db64b00 2 Copyright 2006, 2007 Free Software Foundation, Inc.
1c0d3aa6
NC
3 Contributed by
4 Mei Ligang (ligang@sunnorth.com.cn)
5 Pei-Lin Tsai (pltsai@sunplus.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
cd123cb7 11 the Free Software Foundation; either version 3 of the License, or
1c0d3aa6
NC
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
cd123cb7
NC
21 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
22 MA 02110-1301, USA. */
1c0d3aa6 23
1c0d3aa6 24#include "sysdep.h"
3db64b00 25#include "bfd.h"
1c0d3aa6
NC
26#include "libbfd.h"
27
28const bfd_arch_info_type
29bfd_score_arch =
30{
31 32, /* There's 32 bits_per_word. */
32 32, /* There's 32 bits_per_address. */
33 8, /* There's 8 bits_per_byte. */
34 bfd_arch_score, /* One of enum bfd_architecture, defined
35 in archures.c and provided in
36 generated header files. */
37 0, /* Only 1 machine, but #255 for
38 historical reasons. */
39 "score", /* The arch_name. */
40 "score", /* The printable name is the same. */
41 4, /* Section alignment power; each section
42 is aligned to (only) 2^4 bytes. */
43 TRUE, /* This is the default "machine", since
44 there's only one. */
45 bfd_default_compatible, /* A default function for testing
46 "machine" compatibility of two
47 bfd_arch_info_type. */
48 bfd_default_scan, /* Check if an bfd_arch_info_type is a
49 match. */
50 NULL /* Pointer to next bfd_arch_info_type in
51 the same family. */
52};
This page took 0.108455 seconds and 4 git commands to generate.