diff options
author | Mark Salter <msalter@cygnus.com> | 1999-12-01 19:50:46 +0000 |
---|---|---|
committer | Gavin Romig-Koch <gavin@gcc.gnu.org> | 1999-12-01 19:50:46 +0000 |
commit | c45fd7f9b23593029bd4d846b7d8fc4fe140de25 (patch) | |
tree | 03bbf898811083ee9a3f62e17887428ca72f42b1 /gcc | |
parent | a09ba2e041cf218a125d38644457449f70f40092 (diff) | |
download | gcc-c45fd7f9b23593029bd4d846b7d8fc4fe140de25.zip gcc-c45fd7f9b23593029bd4d846b7d8fc4fe140de25.tar.gz gcc-c45fd7f9b23593029bd4d846b7d8fc4fe140de25.tar.bz2 |
elf.h (STARTFILE_SPEC): Add no-crt0.
* 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.
From-SVN: r30744
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/mips/elf.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/elf64.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/mips.h | 2 |
4 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bcc9e4b..5c0ab9c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +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. + Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz> * i386.c (ix86_expand_move): Never add clobbers to move patterns. diff --git a/gcc/config/mips/elf.h b/gcc/config/mips/elf.h index 690b005..9299ac8 100644 --- a/gcc/config/mips/elf.h +++ b/gcc/config/mips/elf.h @@ -358,7 +358,7 @@ func_ptr __DTOR_END__[1] = { (func_ptr) 0 }; #define LIB_SPEC "" #undef STARTFILE_SPEC -#define STARTFILE_SPEC "crtbegin%O%s crt0%O%s" +#define STARTFILE_SPEC "crtbegin%O%s %{!mno-crt0:crt0%O%s}" #undef ENDFILE_SPEC #define ENDFILE_SPEC "crtend%O%s" diff --git a/gcc/config/mips/elf64.h b/gcc/config/mips/elf64.h index 248dd32..5d6632e 100644 --- a/gcc/config/mips/elf64.h +++ b/gcc/config/mips/elf64.h @@ -338,7 +338,7 @@ func_ptr __DTOR_END__[1] = { (func_ptr) 0 }; #define LIB_SPEC "" #undef STARTFILE_SPEC -#define STARTFILE_SPEC "crtbegin%O%s crt0%O%s" +#define STARTFILE_SPEC "crtbegin%O%s %{!mno-crt0:crt0%O%s}" #undef ENDFILE_SPEC #define ENDFILE_SPEC "crtend%O%s" diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h index e792226..0f54a8f 100644 --- a/gcc/config/mips/mips.h +++ b/gcc/config/mips/mips.h @@ -329,6 +329,8 @@ extern void sbss_section PARAMS ((void)); #define TARGET_SWITCHES \ { \ + {"no-crt0", 0, \ + "No default crt0.o" }, \ {"int64", MASK_INT64 | MASK_LONG64, \ "Use 64-bit int type"}, \ {"long64", MASK_LONG64, \ |