This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

add missing CRTSTUFF flags for Xtensa port



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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]