+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
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"