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