i386netbsd.c revision 218822
1251875Speter/* BFD back-end for NetBSD/386 a.out-ish binaries. 2251875Speter Copyright 1990, 1991, 1992, 1994, 1995, 1996, 1998, 2001 3251875Speter Free Software Foundation, Inc. 4251875Speter 5251875SpeterThis file is part of BFD, the Binary File Descriptor library. 6251875Speter 7251875SpeterThis program is free software; you can redistribute it and/or modify 8251875Speterit under the terms of the GNU General Public License as published by 9251875Speterthe Free Software Foundation; either version 2 of the License, or 10251875Speter(at your option) any later version. 11251875Speter 12251875SpeterThis program is distributed in the hope that it will be useful, 13251875Speterbut WITHOUT ANY WARRANTY; without even the implied warranty of 14251875SpeterMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15251875SpeterGNU General Public License for more details. 16251875Speter 17251875SpeterYou should have received a copy of the GNU General Public License 18251875Speteralong with this program; if not, write to the Free Software 19251875SpeterFoundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ 20251875Speter 21251875Speter#define BYTES_IN_WORD 4 22251875Speter#undef TARGET_IS_BIG_ENDIAN_P 23251875Speter 24251875Speter#define TARGET_PAGE_SIZE 4096 25251875Speter#define SEGMENT_SIZE TARGET_PAGE_SIZE 26251875Speter 27251875Speter#define DEFAULT_ARCH bfd_arch_i386 28251875Speter#define DEFAULT_MID M_386_NETBSD 29251875Speter 30251875Speter/* Do not "beautify" the CONCAT* macro args. Traditional C will not 31251875Speter remove whitespace added here, and thus will fail to concatenate 32251875Speter the tokens. */ 33251875Speter#define MY(OP) CONCAT2 (i386netbsd_,OP) 34251875Speter 35251875Speter/* This needs to start with a.out so GDB knows it is an a.out variant. */ 36251875Speter#define TARGETNAME "a.out-i386-netbsd" 37251875Speter 38251875Speter#include "netbsd.h" 39