OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-binutils/] [binutils-2.19.1/] [bfd/] [cpu-score.c] - Blame information for rev 6

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 6 jlechner
/* BFD support for the score processor
2
   Copyright 2006, 2007 Free Software Foundation, Inc.
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
11
   the Free Software Foundation; either version 3 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,
22
   MA 02110-1301, USA.  */
23
 
24
#include "sysdep.h"
25
#include "bfd.h"
26
#include "libbfd.h"
27
 
28
const bfd_arch_info_type
29
bfd_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
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.