From: kkojima 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-Url: http://git.sourceforge.jp/view?a=commitdiff_plain;h=0e6b63604ef69379c987d958bd2c2d2e0a164ade;p=pf3gnuchains%2Fgcc-fork.git * config.gcc (sh*-*-elf): Add superh stuff only for sh*-superh-elf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151213 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2f7d4d3399..377b64479f5 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 c8eb88e1665..426fe8899fe 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"