sparcnetbsd.c revision 60484
160484Sobrien/* BFD back-end for NetBSD/sparc a.out-ish binaries.
2130561Sobrien   Copyright (C) 1990, 91, 92, 94, 95, 97, 1998 Free Software Foundation, Inc.
378828Sobrien
460484SobrienThis file is part of BFD, the Binary File Descriptor library.
560484Sobrien
660484SobrienThis program is free software; you can redistribute it and/or modify
760484Sobrienit under the terms of the GNU General Public License as published by
860484Sobrienthe Free Software Foundation; either version 2 of the License, or
960484Sobrien(at your option) any later version.
1060484Sobrien
1160484SobrienThis program is distributed in the hope that it will be useful,
1260484Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of
1360484SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1460484SobrienGNU General Public License for more details.
1560484Sobrien
1660484SobrienYou should have received a copy of the GNU General Public License
1760484Sobrienalong with this program; if not, write to the Free Software
1860484SobrienFoundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
1960484Sobrien
2060484Sobrien#define BYTES_IN_WORD	4
2160484Sobrien#define TARGET_IS_BIG_ENDIAN_P
2260484Sobrien
2360484Sobrien/* SPARC chips use either 4K or 8K pages, but object files always
2477298Sobrien   assume 8K page alignment so they will work on either one. */
2560484Sobrien#define TARGET_PAGE_SIZE 0x2000
2660484Sobrien
2760484Sobrien#define DEFAULT_ARCH	bfd_arch_sparc
2860484Sobrien#define DEFAULT_MID 	M_SPARC_NETBSD
2960484Sobrien
3089857Sobrien#define MY(OP) CAT(sparcnetbsd_,OP)
3189857Sobrien/* This needs to start with a.out so GDB knows it is an a.out variant.  */
3289857Sobrien#define TARGETNAME "a.out-sparc-netbsd"
3389857Sobrien
3489857Sobrien#include "netbsd.h"
3560484Sobrien