diff options
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mn10300/mn10300.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 713a190..5b49d31 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2000-08-10 Drew Moseley <dmoseley@redhat.com> + + * config/mn10300/mn10300.h: Added no-crt0 option for explicitly + disabling just crt0.o. + 2000-08-10 Richard Earnshaw <rearnshaw@arm.com> & Nick Clifton <nickc@cygnus.com> * arm.h (CPP_SPEC): Use sub-spec cpp_interwork. diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h index c3912af..606f6f7 100644 --- a/gcc/config/mn10300/mn10300.h +++ b/gcc/config/mn10300/mn10300.h @@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */ #undef ENDFILE_SPEC #undef LINK_SPEC #undef STARTFILE_SPEC +#define STARTFILE_SPEC "%{!mno-crt0:%{!shared:%{pg:gcrt0%O%s}%{!pg:%{p:mcrt0%O%s}%{!p:crt0%O%s}}}}" /* Names to predefine in the preprocessor for this target machine. */ @@ -58,6 +59,7 @@ extern int target_flags; { "am33", 0x2, N_("Target the AM33 processor")}, \ { "am33", -(0x1), ""},\ { "no-am33", -0x2, ""}, \ + { "no-crt0", 0, N_("No default crt0.o") }, \ { "", TARGET_DEFAULT, NULL}} #ifndef TARGET_DEFAULT |