Patchwork Add -mno-crt0 from specs to mn10300.opt

login
register
mail settings
Submitter Joseph S. Myers
Date Feb. 16, 2011, 11:24 p.m.
Message ID <Pine.LNX.4.64.1102162323250.15478@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/83411/
State New
Headers show

Comments

Joseph S. Myers - Feb. 16, 2011, 11:24 p.m.
mn10300's STARTFILE_SPEC handles a -mno-crt0 option.  I've committed
this patch to add it to mn10300.opt, similar to another link-time-only
option already there.  Tested building cc1 and xgcc for cross to
mn10300-elf.

2011-02-16  Joseph Myers  <joseph@codesourcery.com>

	* config/mn10300/mn10300.opt (mno-crt0): New.

Patch

Index: gcc/config/mn10300/mn10300.opt
===================================================================
--- gcc/config/mn10300/mn10300.opt	(revision 170227)
+++ gcc/config/mn10300/mn10300.opt	(working copy)
@@ -39,6 +39,10 @@  Target Report Mask(MULT_BUG)
 Work around hardware multiply bug
 
 ; Ignored by the compiler
+mno-crt0
+Target RejectNegative
+
+; Ignored by the compiler
 mrelax
 Target RejectNegative
 Enable linker relaxations