enable SH libgloss build

From-SVN: r150314
This commit is contained in:
Christian Bruel 2009-07-31 14:51:10 +02:00 committed by Christian Bruel
parent 3ce1cf6943
commit ea2002ba74
5 changed files with 22 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2009-07-31 Christian Bruel <christian.bruel@st.com>
* configure.ac (sh*-*-elf): Don't add target-libgloss to noconfigdirs.
* configure: Regenerate.
2009-07-28 Rask Ingemann Lambertsen <ccc94453@vip.cybercity.dk>
* MAINTAINERS (Write After Approval): Update my e-mail address.

7
configure vendored
View file

@ -2650,7 +2650,12 @@ case "${target}" in
i[3456789]86-*-msdosdjgpp*) ;; # don't add gprof back in
*) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
esac
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
case "${target}" in
sh*-*-elf)
noconfigdirs="$noconfigdirs ${libgcj}" ;;
*)
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" ;;
esac
;;
sparclet-*-aout* | sparc86x-*-*)
libgloss_dir=sparc

View file

@ -874,7 +874,12 @@ case "${target}" in
i[[3456789]]86-*-msdosdjgpp*) ;; # don't add gprof back in
*) skipdirs=`echo " ${skipdirs} " | sed -e 's/ gprof / /'` ;;
esac
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
case "${target}" in
sh*-*-elf)
noconfigdirs="$noconfigdirs ${libgcj}" ;;
*)
noconfigdirs="$noconfigdirs target-libgloss ${libgcj}" ;;
esac
;;
sparclet-*-aout* | sparc86x-*-*)
libgloss_dir=sparc

View file

@ -1,3 +1,7 @@
2009-07-31 Christian Bruel <christian.bruel@st.com>
* gcc/config.gcc (sh*-*-elf): test with_libgloss.
2009-07-31 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/arm.c (arm_arm_address_cost): Fix typo.

View file

@ -2096,7 +2096,7 @@ sh-*-symbianelf* | sh[12346l]*-*-symbianelf* | \
sh*-*-linux*) tmake_file="${tmake_file} sh/t-linux"
tm_file="${tm_file} linux.h glibc-stdint.h sh/linux.h" ;;
sh*-*-netbsd*) tm_file="${tm_file} netbsd.h netbsd-elf.h sh/netbsd-elf.h" ;;
sh*-superh-elf) if test x$with_libgloss != xno; then
sh*-*-elf) if test x$with_libgloss != xno; then
with_libgloss=yes
tm_file="${tm_file} sh/newlib.h"
fi