diff options
author | Drew Moseley <dmoseley@redhat.com> | 2000-08-11 01:31:14 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2000-08-11 01:31:14 +0000 |
commit | dff55dbc71b08ecca61d1069f386d080ab9dbd0d (patch) | |
tree | 569def24ec00b43a6a5e089f18ec6d555b768c5b | |
parent | 6dcd26ea33adf4093ea90a2f061ef757e504c38b (diff) | |
download | gcc-dff55dbc71b08ecca61d1069f386d080ab9dbd0d.zip gcc-dff55dbc71b08ecca61d1069f386d080ab9dbd0d.tar.gz gcc-dff55dbc71b08ecca61d1069f386d080ab9dbd0d.tar.bz2 |
mn10300.h: Added no-crt0 option for explicitly disabling just crt0.o.
* config/mn10300/mn10300.h: Added no-crt0 option for explicitly
disabling just crt0.o.
From-SVN: r35615
-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 |