newsos3.c revision 1.1.1.2
155682Smarkm/* BFD back-end for NewsOS3 (Sony, 68k) binaries.
255682Smarkm   Copyright 1990, 1991, 1994, 1995, 2000, 2001, 2003, 2005, 2007, 2009
355682Smarkm   Free Software Foundation, Inc.
455682Smarkm
555682Smarkm   This file is part of BFD, the Binary File Descriptor library.
655682Smarkm
755682Smarkm   This program is free software; you can redistribute it and/or modify
855682Smarkm   it under the terms of the GNU General Public License as published by
955682Smarkm   the Free Software Foundation; either version 3 of the License, or
1055682Smarkm   (at your option) any later version.
1155682Smarkm
1255682Smarkm   This program is distributed in the hope that it will be useful,
1355682Smarkm   but WITHOUT ANY WARRANTY; without even the implied warranty of
1455682Smarkm   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1555682Smarkm   GNU General Public License for more details.
1655682Smarkm
1755682Smarkm   You should have received a copy of the GNU General Public License
1855682Smarkm   along with this program; if not, write to the Free Software
1955682Smarkm   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
2055682Smarkm   MA 02110-1301, USA.  */
2155682Smarkm
2255682Smarkm#define	TARGET_PAGE_SIZE	4096
2355682Smarkm#define	SEGMENT_SIZE	TARGET_PAGE_SIZE
2455682Smarkm#define TEXT_START_ADDR 0
2555682Smarkm
2655682Smarkm/* Do not "beautify" the CONCAT* macro args.  Traditional C will not
2755682Smarkm   remove whitespace added here, and thus will fail to concatenate
2855682Smarkm   the tokens.  */
2955682Smarkm#define MY(OP) CONCAT2 (newsos3_,OP)
3055682Smarkm#define TARGETNAME "a.out-newsos3"
3155682Smarkm#define ENTRY_CAN_BE_ZERO
3255682Smarkm#define DEFAULT_ARCH bfd_arch_m68k
3355682Smarkm#define TARGET_IS_BIG_ENDIAN_P
3455682Smarkm#define N_HEADER_IN_TEXT(x) 0
3555682Smarkm
36178825Sdfr#include "sysdep.h"
3755682Smarkm#include "bfd.h"
3855682Smarkm#include "libbfd.h"
3955682Smarkm#include "aout/aout64.h"
4055682Smarkm#include "aout/stab_gnu.h"
4155682Smarkm#include "aout/ar.h"
42178825Sdfr#include "libaout.h"           /* BFD a.out internal data structures */
4355682Smarkm
4455682Smarkm#include "aout-target.h"
4555682Smarkm