aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoern Rennecke <joern.rennecke@embecosm.com>2002-06-05 19:54:28 +0000
committerJoern Rennecke <joern.rennecke@embecosm.com>2002-06-05 19:54:28 +0000
commit7a33bc1016fa9a186afb5bbbeb584d122690abc8 (patch)
tree412f095e6dd1853b5fb399db67a6617469a10be6
parent4f2e4a4f1d49d2abb2b6415c902c4f42a296c9e0 (diff)
downloadfsf-binutils-gdb-7a33bc1016fa9a186afb5bbbeb584d122690abc8.zip
fsf-binutils-gdb-7a33bc1016fa9a186afb5bbbeb584d122690abc8.tar.gz
fsf-binutils-gdb-7a33bc1016fa9a186afb5bbbeb584d122690abc8.tar.bz2
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.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/config.bfd13
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/configure.tgt9
4 files changed, 30 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index f8c841a..ce42c48 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jun 5 20:43:27 2002 J"orn Rennecke <joern.rennecke@superh.com>
+
+ * config.bfd (sh64l*-*-elf*, shl*-*-elf*): New configurations.
+
2002-06-05 Alan Modra <amodra@bigpond.net.au>
* elf.c (group_signature): Swap in the whole symbol, and handle
diff --git a/bfd/config.bfd b/bfd/config.bfd
index ad57fe1..956e909 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 3531942..a003606 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jun 5 20:42:31 2002 J"orn Rennecke <joern.rennecke@superh.com>
+
+ * configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
+
2002-06-05 Jason Thorpe <thorpej@wasabisystems.com>
* emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.
diff --git a/ld/configure.tgt b/ld/configure.tgt
index d4af3a4..5a135c6 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"