embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of --m4-340.
authorJoseph Myers <joseph@codesourcery.com>
Thu, 17 Feb 2011 00:15:11 +0000 (00:15 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Thu, 17 Feb 2011 00:15:11 +0000 (00:15 +0000)
* config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of
--m4-340.

From-SVN: r170230

gcc/ChangeLog
gcc/config/sh/embed-elf.h

index 006bd292fc9c746c1d49a743190b76fee9c6f336..c66c0a0c35073b0bb73ab6796ae807a8989e4375 100644 (file)
@@ -1,3 +1,8 @@
+2011-02-16  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of
+       --m4-340.
+
 2011-02-16  Joseph Myers  <joseph@codesourcery.com>
 
        * config/mn10300/mn10300.opt (mno-crt0): New.
index c67517812f8bf5115d56cf5136b865c309de5e1c..a9f6d9438e7fb0022f59e4ae13cb727aa9f270e5 100644 (file)
@@ -1,6 +1,6 @@
 /* Definitions of target machine for GNU compiler for Renesas / SuperH SH 
    non-Linux embedded targets.
-   Copyright (C) 2002, 2003, 2007, 2010 Free Software Foundation, Inc.
+   Copyright (C) 2002, 2003, 2007, 2010, 2011 Free Software Foundation, Inc.
    Contributed by J"orn Rennecke <joern.rennecke@superh.com>
 
 This file is part of GCC.
@@ -29,7 +29,7 @@ along with GCC; see the file COPYING3.  If not see
 #define LIBGCC_SPEC "%{!shared: \
   %{m4-100*:-lic_invalidate_array_4-100} \
   %{m4-200*:-lic_invalidate_array_4-200} \
-  %{m4-300*|-m4-340:-lic_invalidate_array_4a %{!Os: -lgcc-4-300}} \
+  %{m4-300*|m4-340:-lic_invalidate_array_4a %{!Os: -lgcc-4-300}} \
   %{m4a*:-lic_invalidate_array_4a}} \
   %{Os: -lgcc-Os-4-200} \
   -lgcc \