mn10300.h: Added no-crt0 option for explicitly disabling just crt0.o.
authorDrew Moseley <dmoseley@redhat.com>
Fri, 11 Aug 2000 01:31:14 +0000 (01:31 +0000)
committerAlexandre Oliva <aoliva@gcc.gnu.org>
Fri, 11 Aug 2000 01:31:14 +0000 (01:31 +0000)
* config/mn10300/mn10300.h: Added no-crt0 option for explicitly
disabling just crt0.o.

From-SVN: r35615

gcc/ChangeLog
gcc/config/mn10300/mn10300.h

index 713a190c18f84e6fa3fa79a3815cda3eea8c4192..5b49d3111679bd21f34347be210ec59df301f4d1 100644 (file)
@@ -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.
index c3912af9ab5320a100850d187c9576b50b2eb15d..606f6f774680a30103657234cb56bade55e5f041 100644 (file)
@@ -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