Add a test for linker ASSERT.
[binutils.git] / bfd / hosts / symmetry.h
bloba5959055a1f57d089c6d5a31d7216948ead869ff
1 /* Copyright 2007 Free Software Foundation, Inc.
3 This file is part of BFD, the Binary File Descriptor library.
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
18 MA 02110-1301, USA. */
20 /* Symmetry running either dynix 3.1 (bsd) or ptx (sysv). */
22 #define NBPG 4096
23 #define UPAGES 1
25 #ifdef _SEQUENT_
26 /* ptx */
27 #define HOST_TEXT_START_ADDR 0
28 #define HOST_STACK_END_ADDR 0x3fffe000
29 #define TRAD_CORE_USER_OFFSET ((UPAGES * NBPG) - sizeof (struct user))
30 #else
31 /* dynix */
32 #define HOST_TEXT_START_ADDR 0x1000
33 #define HOST_DATA_START_ADDR (NBPG * u.u_tsize)
34 #define HOST_STACK_END_ADDR 0x3ffff000
35 #define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(core_bfd) \
36 ((core_bfd)->tdata.trad_core_data->u.u_arg[0])
37 #endif
39 #define TRAD_CORE_DSIZE_INCLUDES_TSIZE