1*c074d1c9Sdrahn /* BFD back-end for NetBSD/VAX (4K page size) a.out-ish binaries. 2*c074d1c9Sdrahn Copyright 1998, 2000, 2001, 2002 Free Software Foundation, Inc. 3f7cc78ecSespie 4f7cc78ecSespie This file is part of BFD, the Binary File Descriptor library. 5f7cc78ecSespie 6f7cc78ecSespie This program is free software; you can redistribute it and/or modify 7f7cc78ecSespie it under the terms of the GNU General Public License as published by 8f7cc78ecSespie the Free Software Foundation; either version 2 of the License, or 9f7cc78ecSespie (at your option) any later version. 10f7cc78ecSespie 11f7cc78ecSespie This program is distributed in the hope that it will be useful, 12f7cc78ecSespie but WITHOUT ANY WARRANTY; without even the implied warranty of 13f7cc78ecSespie MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14f7cc78ecSespie GNU General Public License for more details. 15f7cc78ecSespie 16f7cc78ecSespie You should have received a copy of the GNU General Public License 17f7cc78ecSespie along with this program; if not, write to the Free Software 18f7cc78ecSespie Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ 19f7cc78ecSespie 20f7cc78ecSespie #define BYTES_IN_WORD 4 21f7cc78ecSespie #undef TARGET_IS_BIG_ENDIAN_P 22f7cc78ecSespie 23*c074d1c9Sdrahn #define TARGET_PAGE_SIZE 0x1000 24f7cc78ecSespie #define SEGMENT_SIZE TARGET_PAGE_SIZE 25f7cc78ecSespie 26f7cc78ecSespie #define DEFAULT_ARCH bfd_arch_vax 27*c074d1c9Sdrahn #define DEFAULT_MID M_VAX4K_NETBSD 28f7cc78ecSespie 29*c074d1c9Sdrahn /* Do not "beautify" the CONCAT* macro args. Traditional C will not 30*c074d1c9Sdrahn remove whitespace added here, and thus will fail to concatenate 31*c074d1c9Sdrahn the tokens. */ 32*c074d1c9Sdrahn #define MY(OP) CONCAT2 (vaxnetbsd_,OP) 33*c074d1c9Sdrahn 34f7cc78ecSespie /* This needs to start with a.out so GDB knows it is an a.out variant. */ 35f7cc78ecSespie #define TARGETNAME "a.out-vax-netbsd" 36f7cc78ecSespie 37f7cc78ecSespie #include "netbsd.h" 38