1215976Sjmallett/* BFD back-end for NetBSD/ARM a.out-ish binaries.
2232812Sjmallett   Copyright 1999, 2000, 2001, 2002, 2005
3215976Sjmallett   Free Software Foundation, Inc.
4215976Sjmallett
5215976SjmallettThis file is part of BFD, the Binary File Descriptor library.
6215976Sjmallett
7215976SjmallettThis program is free software; you can redistribute it and/or modify
8215976Sjmallettit under the terms of the GNU General Public License as published by
9215976Sjmallettthe Free Software Foundation; either version 2 of the License, or
10215976Sjmallett(at your option) any later version.
11215976Sjmallett
12215976SjmallettThis program is distributed in the hope that it will be useful,
13215976Sjmallettbut WITHOUT ANY WARRANTY; without even the implied warranty of
14215976SjmallettMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15215976SjmallettGNU General Public License for more details.
16215976Sjmallett
17215976SjmallettYou should have received a copy of the GNU General Public License
18232812Sjmallettalong with this program; if not, write to the Free Software
19215976SjmallettFoundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
20215976Sjmallett
21215976Sjmallett#define	BYTES_IN_WORD		4
22215976Sjmallett#undef TARGET_IS_BIG_ENDIAN_P
23215976Sjmallett
24215976Sjmallett#define	TARGET_PAGE_SIZE	4096
25215976Sjmallett#define	SEGMENT_SIZE		TARGET_PAGE_SIZE
26215976Sjmallett
27215976Sjmallett#define	DEFAULT_ARCH		bfd_arch_arm
28215976Sjmallett#define	DEFAULT_MID 		M_ARM6_NETBSD
29232812Sjmallett/*#define MACHTYPE_OK(mtype) ((mtype) == M_ARM6_NETBSD)*/
30215976Sjmallett
31215976Sjmallett/* Do not "beautify" the CONCAT* macro args.  Traditional C will not
32215976Sjmallett   remove whitespace added here, and thus will fail to concatenate
33215976Sjmallett   the tokens.  */
34215976Sjmallett#define MY(OP) 			CONCAT2 (armnetbsd_, OP)
35215976Sjmallett
36215976Sjmallett/* This needs to start with a.out so GDB knows it is an a.out variant.  */
37215976Sjmallett#define TARGETNAME 		"a.out-arm-netbsd"
38215976Sjmallett
39215976Sjmallett#include "netbsd.h"
40215976Sjmallett