config.gcc (sh-*-elf*, [...]): Unify.
gcc: * 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. bfd: * config.bfd (sh64l*-*-elf*, shl*-*-elf*): New configurations. ld: configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations. From-SVN: r54292
This commit is contained in:
parent
47b69537e4
commit
dbf87f32ae
6 changed files with 35 additions and 14 deletions
|
@ -1,3 +1,14 @@
|
|||
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.
|
||||
|
|
|
@ -2207,20 +2207,27 @@ s390x-*-linux*)
|
|||
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
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
MULTILIB_OPTIONS= ml
|
||||
MULTILIB_ENDIAN = ml
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
MULTILIB_OPTIONS= mb
|
||||
MULTILIB_ENDIAN = mb
|
||||
|
|
|
@ -30,7 +30,8 @@ fp-bit.c: $(srcdir)/config/fp-bit.c
|
|||
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
|
||||
|
||||
|
|
|
@ -6,6 +6,6 @@ LIB1ASMFUNCS = \
|
|||
_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=
|
||||
|
|
Loading…
Add table
Reference in a new issue