Back to index

cell-binutils  2.17cvs20070401
host.h
Go to the documentation of this file.
00001 /* host.h - Parameters about the a.out format, based on the host system
00002    on which the program is compiled. 
00003 
00004    Copyright 2001 Free Software Foundation, Inc.
00005 
00006    This program is free software; you can redistribute it and/or modify
00007    it under the terms of the GNU General Public License as published by
00008    the Free Software Foundation; either version 2 of the License, or
00009    (at your option) any later version.
00010    
00011    This program is distributed in the hope that it will be useful,
00012    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014    GNU General Public License for more details.
00015    
00016    You should have received a copy of the GNU General Public License
00017    along with this program; if not, write to the Free Software
00018    Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
00019 
00020 /* Address of data segment in memory after it is loaded.
00021    It is up to you to define SEGMENT_SIZE on machines not listed here.  */
00022 #ifndef SEGMENT_SIZE
00023 
00024 #if defined(hp300) || defined(pyr)
00025 #define SEGMENT_SIZE page_size
00026 #endif
00027 
00028 #ifdef sony
00029 #define       SEGMENT_SIZE  0x1000
00030 #endif /* Sony.  */
00031 
00032 #ifdef is68k
00033 #define SEGMENT_SIZE 0x20000
00034 #endif
00035 
00036 #if defined(m68k) && defined(PORTAR)
00037 #define TARGET_PAGE_SIZE 0x400
00038 #define SEGMENT_SIZE TARGET_PAGE_SIZE
00039 #endif
00040 
00041 #endif