From: Joern Rennecke Date: Wed, 5 Jun 2002 19:54:28 +0000 (+0000) Subject: gcc: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a33bc1016fa9a186afb5bbbeb584d122690abc8;p=binutils-gdb.git 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. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f8c841a1e22..ce42c48406c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 5 20:43:27 2002 J"orn Rennecke + + * config.bfd (sh64l*-*-elf*, shl*-*-elf*): New configurations. + 2002-06-05 Alan Modra * elf.c (group_signature): Swap in the whole symbol, and handle diff --git a/bfd/config.bfd b/bfd/config.bfd index ad57fe1a428..956e90931e2 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -876,6 +876,11 @@ case "${targ}" in #endif #ifdef BFD64 + sh64l*-*-elf*) + targ_defvec=bfd_elf32_sh64l_vec + targ_selvecs="bfd_elf32_sh64_vec bfd_elf64_sh64l_vec bfd_elf64_sh64_vec bfd_elf32_shl_vec bfd_elf32_sh_vec" + targ_underscore=yes + ;; sh64-*-elf*) targ_defvec=bfd_elf32_sh64_vec targ_selvecs="bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec bfd_elf32_sh_vec bfd_elf32_shl_vec" @@ -948,6 +953,14 @@ case "${targ}" in targ_selvecs="bfd_elf32_shlnbsd_vec shcoff_vec shlcoff_vec" ;; + shl*-*-elf*) + targ_defvec=bfd_elf32_shl_vec + targ_selvecs="bfd_elf32_sh_vec shlcoff_vec shcoff_vec shlcoff_small_vec shcoff_small_vec" +#ifdef BFD64 + targ_selvecs="${targ_selvecs} bfd_elf32_sh64_vec bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec" +#endif + targ_underscore=yes + ;; sh-*-elf* | sh-*-rtemself*) targ_defvec=bfd_elf32_sh_vec targ_selvecs="bfd_elf32_shl_vec shcoff_vec shlcoff_vec shcoff_small_vec shlcoff_small_vec" diff --git a/ld/ChangeLog b/ld/ChangeLog index 3531942d27e..a0036064f78 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 5 20:42:31 2002 J"orn Rennecke + + * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations. + 2002-06-05 Jason Thorpe * emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0. diff --git a/ld/configure.tgt b/ld/configure.tgt index d4af3a4b79d..5a135c60f12 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -294,6 +294,10 @@ sh*-*-netbsdelf*) targ_emul=shelf_nbsd targ_extra_emuls=shlelf_nbsd ;; +shle*-*-elf*) + targ_emul=shlelf + targ_extra_emuls="shelf shl sh" + ;; sh-*-elf* | sh-*-rtemself*) targ_emul=shelf targ_extra_emuls="shlelf sh shl" @@ -301,6 +305,11 @@ sh-*-elf* | sh-*-rtemself*) sh-*-pe) targ_emul=shpe ; targ_extra_ofiles="deffilep.o pe-dll.o" ;; sh-*-*|sh-*-rtems*) targ_emul=sh; targ_extra_emuls=shl ;; +sh64le-*-elf*) + targ_emul=shlelf + targ_extra_emuls="shelf shlelf32 shelf32 shlelf64 shelf64" + targ_extra_libpath=$targ_extra_emuls + ;; sh64-*-elf*) targ_emul=shelf targ_extra_emuls="shlelf shelf32 shlelf32 shelf64 shlelf64"