This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
add missing CRTSTUFF flags for Xtensa port
- From: Bob Wilson <bwilson at tensilica dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 18 Mar 2002 13:36:05 -0800
- Subject: add missing CRTSTUFF flags for Xtensa port
- Organization: Tensilica, Inc.
The Xtensa port needs a special "-mlongcalls" option to build the crt
files. I had defined CRTSTUFF_T_CFLAGS but missed CRTSTUFF_T_CFLAGS_S.
This patch fixes that. I've applied the patch on the 3.0 and 3.1
branches and the top-of-trunk.
2002-03-12 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
Index: t-xtensa
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/xtensa/t-xtensa,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -3 -r1.1 -r1.2
*** t-xtensa 2002/01/23 21:03:50 1.1
--- t-xtensa 2002/03/12 18:34:55 1.2
***************
*** 18,23 ****
--- 18,24 ----
# Build crtbegin and crtend with the "longcalls" option
CRTSTUFF_T_CFLAGS += -mlongcalls
+ CRTSTUFF_T_CFLAGS_S += -mlongcalls
CROSS_LIBGCC1 = libgcc1-asm.a
LIB1ASMSRC = xtensa/lib1funcs.asm