+Wed Jun 5 20:42:31 2002 J"orn Rennecke <joern.rennecke@superh.com>
+
+ * config.gcc (sh-*-elf*, sh64*-*-elf*): Unify.
+ (shl*-*-elf*): Add.
+ * config/sh/t-be (MULTILIB_ENDIAN): Set.
+ * config/sh/t-le (MULTILIB_ENDIAN): Likewise.
+ * t-sh (MULTILIB_ENDIAN): Set.
+ (MULTILIB_OPTIONS): Use it.
+ * t-sh64 (MULTILIB_OPTIONS): Likewise.
+ (MULTILIB_DIRNAMES): Likewise.
+
2002-06-05 Gabriel Dos Reis <gdr@codesourcery.com>
* toplev.h (report_error_function): Remove.
thread_file='posix'
fi
;;
-sh-*-elf*)
+sh-*-elf* | shl*-*-elf* | sh64*-*-elf*)
tmake_file="sh/t-sh sh/t-elf"
+ case $machine in
+ shl* | sh64l*)
+ tm_file="sh/little.h ${tm_file}"
+ tmake_file="${tmake_file} sh/t-le"
+ ;;
+ esac
tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/embed-elf.h"
float_format=sh
- ;;
-sh64-*-elf*)
- tmake_file="sh/t-sh sh/t-elf sh/t-sh64"
- tm_file="${tm_file} dbxelf.h elfos.h svr4.h sh/embed-elf.h sh/sh64.h"
- float_format=sh
- extra_headers="shmedia.h ushmedia.h sshmedia.h"
- # Not strictly necessary to check this, but a good idea anyway.
- if test $machine = $target; then
- target_requires_64bit_host_wide_int=yes
- fi
+ case $machine in
+ sh64*)
+ tmake_file="${tmake_file} sh/t-sh64"
+ tm_file="${tm_file} sh/sh64.h"
+ extra_headers="shmedia.h ushmedia.h sshmedia.h"
+ # Not strictly necessary to check this, but a good idea anyway.
+ if test $machine = $target; then
+ target_requires_64bit_host_wide_int=yes
+ fi
+ ;;
+ esac
;;
sh-*-rtemself*)
xm_defines=POSIX
MULTILIB_OPTIONS= ml
+MULTILIB_ENDIAN = ml
MULTILIB_OPTIONS= mb
+MULTILIB_ENDIAN = mb
echo '#endif' >> fp-bit.c
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
-MULTILIB_OPTIONS= ml m2/m3e/m4-single-only/m4-single/m4
+MULTILIB_ENDIAN = ml
+MULTILIB_OPTIONS= $(MULTILIB_ENDIAN) m2/m3e/m4-single-only/m4-single/m4
MULTILIB_DIRNAMES=
MULTILIB_MATCHES = m2=m3 m2=m4-nofpu
_shcompact_incoming_args _ic_invalidate _nested_trampoline \
_push_pop_shmedia_regs
-MULTILIB_OPTIONS= ml m5-32media-nofpu/m5-compact/m5-compact-nofpu/m5-64media/m5-64media-nofpu
-MULTILIB_DIRNAMES= ml nofpu compact nofpu/compact media64 nofpu/media64
+MULTILIB_OPTIONS = $(MULTILIB_ENDIAN) m5-32media-nofpu/m5-compact/m5-compact-nofpu/m5-64media/m5-64media-nofpu
+MULTILIB_DIRNAMES= $(MULTILIB_ENDIAN) nofpu compact nofpu/compact media64 nofpu/media64
MULTILIB_MATCHES=