1139825Simp/* BFD back-end for Motorola m88k a.out (Mach 3) binaries.
250128Swpaul   Copyright 1990, 1991, 1993, 1994, 1995, 2001, 2003
350128Swpaul   Free Software Foundation, Inc.
450128Swpaul
550128SwpaulThis file is part of BFD, the Binary File Descriptor library.
650128Swpaul
750128SwpaulThis program is free software; you can redistribute it and/or modify
850128Swpaulit under the terms of the GNU General Public License as published by
950128Swpaulthe Free Software Foundation; either version 2 of the License, or
1050128Swpaul(at your option) any later version.
1150128Swpaul
1250128SwpaulThis program is distributed in the hope that it will be useful,
1350128Swpaulbut WITHOUT ANY WARRANTY; without even the implied warranty of
1450128SwpaulMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1550128SwpaulGNU General Public License for more details.
1650128Swpaul
1750128SwpaulYou should have received a copy of the GNU General Public License
1850128Swpaulalong with this program; if not, write to the Free Software
1950128SwpaulFoundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
2050128Swpaul
2150128Swpaul#define	TARGET_PAGE_SIZE	(4096*2)
2250128Swpaul#define SEGMENT_SIZE	0x20000
2350128Swpaul#define TEXT_START_ADDR	0
2450128Swpaul#define N_HEADER_IN_TEXT(x)	1 		/* (N_MAGIG(x) == ZMAGIC) */
2550128Swpaul#define N_SHARED_LIB(x) 0
2650128Swpaul
2750128Swpaul#define N_TXTSIZE(x)	((x).a_text)
2850128Swpaul
2950128Swpaul#include "bfd.h"
3050128Swpaul#include "sysdep.h"
3150128Swpaul#include "libbfd.h"
3250477Speter#include "libaout.h"
3350128Swpaul
3450128Swpaul#define DEFAULT_ARCH bfd_arch_m88k
3550128Swpaul
3650128Swpaul/* Do not "beautify" the CONCAT* macro args.  Traditional C will not
3750128Swpaul   remove whitespace added here, and thus will fail to concatenate
3850128Swpaul   the tokens.  */
3950128Swpaul#define MY(OP) CONCAT2 (m88kmach3_,OP)
40167407Syongari#define TARGETNAME "a.out-m88k-mach3"
41167407Syongari
4250128Swpaul#include "aout-target.h"
4350128Swpaul