Back to index

cell-binutils  2.17cvs20070401
cpu-s390.c
Go to the documentation of this file.
00001 /* BFD support for the s390 processor.
00002    Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
00003    Contributed by Carl B. Pedersen and Martin Schwidefsky.
00004 
00005    This file is part of BFD, the Binary File Descriptor library.
00006 
00007    This program is free software; you can redistribute it and/or modify
00008    it under the terms of the GNU General Public License as published by
00009    the Free Software Foundation; either version 2 of the License, or
00010    (at your option) any later version.
00011 
00012    This program is distributed in the hope that it will be useful,
00013    but WITHOUT ANY WARRANTY; without even the implied warranty of
00014    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015    GNU General Public License for more details.
00016 
00017    You should have received a copy of the GNU General Public License
00018    along with this program; if not, write to the Free Software
00019    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
00020    02110-1301, USA.  */
00021 
00022 #include "bfd.h"
00023 #include "sysdep.h"
00024 #include "libbfd.h"
00025 
00026 const bfd_arch_info_type bfd_s390_64_arch =
00027 {
00028     64,        /* bits in a word */
00029     64,        /* bits in an address */
00030     8, /* bits in a byte */
00031     bfd_arch_s390,
00032     bfd_mach_s390_64,
00033     "s390",
00034     "s390:64-bit",
00035     3, /* section alignment power */
00036     TRUE, /* the default */
00037     bfd_default_compatible,
00038     bfd_default_scan,
00039     NULL
00040 };
00041 
00042 const bfd_arch_info_type bfd_s390_arch =
00043 {
00044     32,       /* bits in a word */
00045     32,       /* bits in an address */
00046     8, /* bits in a byte */
00047     bfd_arch_s390,
00048     bfd_mach_s390_31,
00049     "s390",
00050     "s390:31-bit",
00051     3, /* section alignment power */
00052     TRUE, /* the default */
00053     bfd_default_compatible,
00054     bfd_default_scan,
00055     &bfd_s390_64_arch
00056 };