diff options
author | Kaz Kojima <kkojima@gcc.gnu.org> | 2009-08-29 23:50:31 +0000 |
---|---|---|
committer | Kaz Kojima <kkojima@gcc.gnu.org> | 2009-08-29 23:50:31 +0000 |
commit | 2d606e03bfe59927590c5041588c32133ac32ea9 (patch) | |
tree | 285be49779cfcf853e40c1d8a43b1e057a7a437e /gcc | |
parent | 8c53cbed4f3fa859afeb6a4189320013cdfc7c8f (diff) | |
download | gcc-2d606e03bfe59927590c5041588c32133ac32ea9.zip gcc-2d606e03bfe59927590c5041588c32133ac32ea9.tar.gz gcc-2d606e03bfe59927590c5041588c32133ac32ea9.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config.gcc | 10 |
2 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c2f7d4d..377b644 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-08-29 Kaz Kojima <kkojima@gcc.gnu.org> + + * config.gcc (sh*-*-elf): Add superh stuff only for sh*-superh-elf. + 2009-08-29 Kai Tietz<kai.tietz@onevision.com> PR/41184 diff --git a/gcc/config.gcc b/gcc/config.gcc index c8eb88e..426fe88 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" |