From: Kaz Kojima Date: Sat, 29 Aug 2009 23:50:31 +0000 (+0000) Subject: config.gcc (sh*-*-elf): Add superh stuff only for sh*-superh-elf. X-Git-Tag: releases/gcc-4.5.0~3782 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d606e03bfe59927590c5041588c32133ac32ea9;p=thirdparty%2Fgcc.git config.gcc (sh*-*-elf): Add superh stuff only for sh*-superh-elf. * config.gcc (sh*-*-elf): Add superh stuff only for sh*-superh-elf. From-SVN: r151213 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2f7d4d33991..377b64479f59 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-08-29 Kaz Kojima + + * config.gcc (sh*-*-elf): Add superh stuff only for sh*-superh-elf. + 2009-08-29 Kai Tietz PR/41184 diff --git a/gcc/config.gcc b/gcc/config.gcc index c8eb88e16656..426fe8899feb 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2121,9 +2121,13 @@ sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \ with_libgloss=yes tm_file="${tm_file} sh/newlib.h" fi - tm_file="${tm_file} sh/embed-elf.h sh/superh.h" - tmake_file="${tmake_file} sh/t-superh" - extra_options="${extra_options} sh/superh.opt" ;; + tm_file="${tm_file} sh/embed-elf.h" + case ${target} in + sh*-superh-elf) tm_file="${tm_file} sh/superh.h" + tmake_file="${tmake_file} sh/t-superh" + extra_options="${extra_options} sh/superh.opt" ;; + esac + ;; *) if test x$with_newlib = xyes \ && test x$with_libgloss = xyes; then tm_file="${tm_file} sh/newlib.h"