178828Sobrien/* host.h - Parameters about the a.out format, based on the host system 278828Sobrien on which the program is compiled. 333965Sjdp 478828Sobrien Copyright 2001 Free Software Foundation, Inc. 578828Sobrien 678828Sobrien This program is free software; you can redistribute it and/or modify 778828Sobrien it under the terms of the GNU General Public License as published by 878828Sobrien the Free Software Foundation; either version 2 of the License, or 978828Sobrien (at your option) any later version. 1078828Sobrien 1178828Sobrien This program is distributed in the hope that it will be useful, 1278828Sobrien but WITHOUT ANY WARRANTY; without even the implied warranty of 1378828Sobrien MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1478828Sobrien GNU General Public License for more details. 1578828Sobrien 1678828Sobrien You should have received a copy of the GNU General Public License 1778828Sobrien along with this program; if not, write to the Free Software 18218822Sdim Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ 1978828Sobrien 2033965Sjdp/* Address of data segment in memory after it is loaded. 2178828Sobrien It is up to you to define SEGMENT_SIZE on machines not listed here. */ 2233965Sjdp#ifndef SEGMENT_SIZE 2378828Sobrien 2433965Sjdp#if defined(hp300) || defined(pyr) 2533965Sjdp#define SEGMENT_SIZE page_size 2633965Sjdp#endif 2778828Sobrien 2833965Sjdp#ifdef sony 2933965Sjdp#define SEGMENT_SIZE 0x1000 3033965Sjdp#endif /* Sony. */ 3178828Sobrien 3233965Sjdp#ifdef is68k 3333965Sjdp#define SEGMENT_SIZE 0x20000 3433965Sjdp#endif 3578828Sobrien 3633965Sjdp#if defined(m68k) && defined(PORTAR) 3733965Sjdp#define TARGET_PAGE_SIZE 0x400 3833965Sjdp#define SEGMENT_SIZE TARGET_PAGE_SIZE 3933965Sjdp#endif 4078828Sobrien 4133965Sjdp#endif /*!defined(SEGMENT_SIZE)*/ 4233965Sjdp 43