199461Sobrien/* BFD support for the s390 processor.
2218822Sdim   Copyright 2000, 2001, 2002, 2007 Free Software Foundation, Inc.
399461Sobrien   Contributed by Carl B. Pedersen and Martin Schwidefsky.
499461Sobrien
599461Sobrien   This file is part of BFD, the Binary File Descriptor library.
699461Sobrien
799461Sobrien   This program is free software; you can redistribute it and/or modify
899461Sobrien   it under the terms of the GNU General Public License as published by
999461Sobrien   the Free Software Foundation; either version 2 of the License, or
1099461Sobrien   (at your option) any later version.
1199461Sobrien
1299461Sobrien   This program is distributed in the hope that it will be useful,
1399461Sobrien   but WITHOUT ANY WARRANTY; without even the implied warranty of
1499461Sobrien   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1599461Sobrien   GNU General Public License for more details.
1699461Sobrien
1799461Sobrien   You should have received a copy of the GNU General Public License
1899461Sobrien   along with this program; if not, write to the Free Software
19218822Sdim   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
20218822Sdim   02110-1301, USA.  */
2199461Sobrien
22218822Sdim#include "sysdep.h"
2399461Sobrien#include "bfd.h"
2499461Sobrien#include "libbfd.h"
2599461Sobrien
2699461Sobrienconst bfd_arch_info_type bfd_s390_64_arch =
2799461Sobrien{
2899461Sobrien    64,        /* bits in a word */
2999461Sobrien    64,        /* bits in an address */
3099461Sobrien    8, /* bits in a byte */
3199461Sobrien    bfd_arch_s390,
3299461Sobrien    bfd_mach_s390_64,
3399461Sobrien    "s390",
3499461Sobrien    "s390:64-bit",
3599461Sobrien    3, /* section alignment power */
36130561Sobrien    TRUE, /* the default */
3799461Sobrien    bfd_default_compatible,
3899461Sobrien    bfd_default_scan,
3999461Sobrien    NULL
4099461Sobrien};
4199461Sobrien
4299461Sobrienconst bfd_arch_info_type bfd_s390_arch =
4399461Sobrien{
4499461Sobrien    32,	/* bits in a word */
4599461Sobrien    32,	/* bits in an address */
4699461Sobrien    8,	/* bits in a byte */
4799461Sobrien    bfd_arch_s390,
4899461Sobrien    bfd_mach_s390_31,
4999461Sobrien    "s390",
5099461Sobrien    "s390:31-bit",
5199461Sobrien    3, /* section alignment power */
52130561Sobrien    TRUE, /* the default */
5399461Sobrien    bfd_default_compatible,
5499461Sobrien    bfd_default_scan,
5599461Sobrien    &bfd_s390_64_arch
5699461Sobrien};
57