source: trunk/libs/newlib/src/include/aout/host.h @ 643

Last change on this file since 643 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 1.4 KB
Line 
1/* host.h - Parameters about the a.out format, based on the host system
2   on which the program is compiled.
3
4   Copyright 2001, 2010 Free Software Foundation, Inc.
5
6   This program is free software; you can redistribute it and/or modify
7   it under the terms of the GNU General Public License as published by
8   the Free Software Foundation; either version 3 of the License, or
9   (at your option) any later version.
10   
11   This program is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14   GNU General Public License for more details.
15   
16   You should have received a copy of the GNU General Public License
17   along with this program; if not, write to the Free Software
18   Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
19   MA 02110-1301, USA.  */
20
21/* Address of data segment in memory after it is loaded.
22   It is up to you to define SEGMENT_SIZE on machines not listed here.  */
23#ifndef SEGMENT_SIZE
24
25#if defined(hp300) || defined(pyr)
26#define SEGMENT_SIZE page_size
27#endif
28
29#ifdef  sony
30#define SEGMENT_SIZE    0x1000
31#endif  /* Sony.  */
32
33#ifdef is68k
34#define SEGMENT_SIZE 0x20000
35#endif
36
37#if defined(m68k) && defined(PORTAR)
38#define TARGET_PAGE_SIZE 0x400
39#define SEGMENT_SIZE TARGET_PAGE_SIZE
40#endif
41
42#endif /*!defined(SEGMENT_SIZE)*/
43
Note: See TracBrowser for help on using the repository browser.