comparison src/m/tower32v3.h @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 376386a54a3c
children a86b2b5e0111
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
74 in the file alloca.s should be used. */ 74 in the file alloca.s should be used. */
75 75
76 #ifdef __GNUC__ 76 #ifdef __GNUC__
77 #define HAVE_ALLOCA 77 #define HAVE_ALLOCA
78 #define alloca __builtin_alloca 78 #define alloca __builtin_alloca
79 #define C_OPTIMIZE_SWITCH -O -fstrength-reduce -fomit-frame-pointer 79 #define C_OPTIMIZE_SWITCH "-O -fstrength-reduce -fomit-frame-pointer"
80 #define LIB_STANDARD -lc /lib/crtn.o 80 #define LIB_STANDARD "-lc /lib/crtn.o"
81 #else 81 #else
82 /* This section is correct if you do *not* change src/ymakefile so that 82 /* This section is correct if you do *not* change src/ymakefile so that
83 CFLAGS includes C_OPTIMIZE_SWITCH rather than C_DEBUG_SWITCH. */ 83 CFLAGS includes C_OPTIMIZE_SWITCH rather than C_DEBUG_SWITCH. */
84 #define HAVE_ALLOCA 84 #define HAVE_ALLOCA
85 #define C_DEBUG_SWITCH -g -O0 85 #define "C_DEBUG_SWITCH -g -O0"
86 #define LIB_STANDARD -lc -lPW /lib/crtn.o 86 #define LIB_STANDARD "-lc -lPW /lib/crtn.o"
87 /* This section is correct if you do enable C_OPTIMIZE_SWITCH. */ 87 /* This section is correct if you do enable C_OPTIMIZE_SWITCH. */
88 /* #define C_ALLOCA */ 88 /* #define C_ALLOCA */
89 /* #define STACK_DIRECTION -1 */ 89 /* #define STACK_DIRECTION -1 */
90 /* #define C_OPTIMIZE_SWITCH -O2 */ 90 /* #define C_OPTIMIZE_SWITCH -O2 */
91 /* #define LIB_STANDARD -lc /lib/crtn.o */ 91 /* #define LIB_STANDARD -lc /lib/crtn.o */
92 #endif 92 #endif
93 93
94 /* The OS maps the data section far away from the text section. */ 94 /* The OS maps the data section far away from the text section. */
95 #define NO_REMAP 95 #define NO_REMAP
96 #define TEXT_START 0 96 #define TEXT_START 0
97 #define START_FILES pre-crt0.o /lib/crt1.o 97 #define START_FILES "pre-crt0.o /lib/crt1.o"
98 98
99 /* The OS has an implementation of symlinks that is semantically different 99 /* The OS has an implementation of symlinks that is semantically different
100 from BSD, but for some silly reason it partly has the same syntax. */ 100 from BSD, but for some silly reason it partly has the same syntax. */
101 #undef S_IFLNK 101 #undef S_IFLNK
102 102