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]

MIPS PATCH: no-crt0



I've commited the following.

                                      -gavin...



1999-12-01  Mark Salter <msalter@cygnus.com>

	* config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
	* config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
	* config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.

Index: devo/gcc/config/mips/elf.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/mips/elf.h,v
retrieving revision 1.24.16.1
diff -c -r1.24.16.1 elf.h
*** elf.h	1999/10/15 07:26:27	1.24.16.1
--- elf.h	1999/12/01 16:17:34
***************
*** 374,380 ****
  #define LIB_SPEC ""
  
  #undef  STARTFILE_SPEC
! #define STARTFILE_SPEC "crtbegin%O%s crt0%O%s"
  
  #undef  ENDFILE_SPEC
  #define ENDFILE_SPEC "crtend%O%s"
--- 374,380 ----
  #define LIB_SPEC ""
  
  #undef  STARTFILE_SPEC
! #define STARTFILE_SPEC "crtbegin%O%s %{!mno-crt0:crt0%O%s}"
  
  #undef  ENDFILE_SPEC
  #define ENDFILE_SPEC "crtend%O%s"
Index: devo/gcc/config/mips/elf64.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/mips/elf64.h,v
retrieving revision 1.42.28.1
diff -c -r1.42.28.1 elf64.h
*** elf64.h	1999/10/15 07:26:27	1.42.28.1
--- elf64.h	1999/12/01 16:17:34
***************
*** 376,382 ****
  #define LIB_SPEC ""
  
  #undef  STARTFILE_SPEC
! #define STARTFILE_SPEC "crtbegin%O%s crt0%O%s"
  
  #undef  ENDFILE_SPEC
  #define ENDFILE_SPEC "crtend%O%s"
--- 376,382 ----
  #define LIB_SPEC ""
  
  #undef  STARTFILE_SPEC
! #define STARTFILE_SPEC "crtbegin%O%s %{!mno-crt0:crt0%O%s}"
  
  #undef  ENDFILE_SPEC
  #define ENDFILE_SPEC "crtend%O%s"
Index: devo/gcc/config/mips/mips.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/mips/mips.h,v
retrieving revision 1.184.4.1.2.1
diff -c -r1.184.4.1.2.1 mips.h
*** mips.h	1999/10/15 07:26:29	1.184.4.1.2.1
--- mips.h	1999/12/01 16:17:36
***************
*** 462,467 ****
--- 462,469 ----
  
  #define TARGET_SWITCHES							\
  {									\
+   {"no-crt0",          0,                                               \
+      "No default crt0.o" },					 	\
    {"int64",		  MASK_INT64 | MASK_LONG64,			\
       "Use 64-bit int type"},						\
    {"long64",		  MASK_LONG64,					\








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