Cygwin: pinfo: raise MAX_PID to 4194304
[newlib-cygwin.git] / libgloss / arc / arc-symbols.h
bloba41ee3953d8a14ec89d457947be362391c55acc8
1 /*
2 * arc-symbols.h -- provide ARC-specific symbols
4 * Copyright (c) 2024 Synopsys Inc.
6 * The authors hereby grant permission to use, copy, modify, distribute,
7 * and license this software and its documentation for any purpose, provided
8 * that existing copyright notices are retained in all copies and that this
9 * notice is included verbatim in any distributions. No written agreement,
10 * license, or royalty fee is required for any of the authorized uses.
11 * Modifications to this software may be copyrighted by their authors
12 * and need not follow the licensing terms described here, provided that
13 * the new terms are clearly indicated on the first page of each file where
14 * they apply.
18 #ifndef _ARC_SYMBOLS_H
19 #define _ARC_SYMBOLS_H
21 /* First check for MetaWare compiler as it also defines __GNUC__. */
22 #if defined (__CCAC__)
23 #define STACK_TOP _estack
24 #define SMALL_DATA_BASE _SDA_BASE_
25 #define SMALL_DATA_BSS_START _fsbss
26 #define SMALL_DATA_BSS_END _esbss
27 #define START_HEAP _fheap
28 #define END_HEAP _eheap
29 #elif defined (__GNUC__)
30 #define STACK_TOP __stack_top
31 #define SMALL_DATA_BASE __SDATA_BEGIN__
32 #define SMALL_DATA_BSS_START __sbss_start
33 #define SMALL_DATA_BSS_END _end
34 #define START_HEAP __start_heap
35 #define END_HEAP __end_heap
36 #else
37 #error "Unexpected compiler"
38 #endif
40 #endif /* _ARC_SYMBOLS_H */