From e58ee0cdf866df75f9049faad4c67b83c7b4a4a0 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sun, 10 Feb 2002 20:37:45 +0000 Subject: [PATCH] * config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64 vectors. (sh-*-netbsdelf*): New, to trump sh*-*-netbsdelf* and add sh64 vectors. --- bfd/ChangeLog | 7 +++++++ bfd/config.bfd | 13 +++++++++++++ 2 files changed, 20 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ab71fcfc2bd..411a400c92a 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,10 @@ +2002-02-10 Hans-Peter Nilsson + + * config.bfd (sh-*-linux*, sh-*-elf* | sh-*-rtemself*): Add sh64 + vectors. + (sh-*-netbsdelf*): New, to trump sh*-*-netbsdelf* and add sh64 + vectors. + 2002-02-09 Richard Henderson * elf64-alpha.c (elf64_alpha_howto): Add R_ALPHA_BRSGP. diff --git a/bfd/config.bfd b/bfd/config.bfd index 253e2c42910..58c73156fca 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -857,6 +857,9 @@ case "${targ}" in sh-*-linux*) targ_defvec=bfd_elf32_shblin_vec targ_selvecs=bfd_elf32_shlin_vec +#ifdef BFD64 + targ_selvecs="${targ_selvecs} bfd_elf32_sh64_vec bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec" +#endif ;; sh*eb-*-linux*) targ_defvec=bfd_elf32_shblin_vec @@ -869,6 +872,13 @@ case "${targ}" in targ_defvec=bfd_elf32_shlnbsd_vec targ_selvecs="bfd_elf32_shnbsd_vec shcoff_vec shlcoff_vec" ;; + sh-*-netbsdelf*) + targ_defvec=bfd_elf32_shnbsd_vec + targ_selvecs="bfd_elf32_shlnbsd_vec shcoff_vec shlcoff_vec" +#ifdef BFD64 + targ_selvecs="${targ_selvecs} bfd_elf32_sh64_vec bfd_elf32_sh64l_vec bfd_elf64_sh64_vec bfd_elf64_sh64l_vec" +#endif + ;; sh*-*-netbsdelf*) targ_defvec=bfd_elf32_shnbsd_vec targ_selvecs="bfd_elf32_shlnbsd_vec shcoff_vec shlcoff_vec" @@ -877,6 +887,9 @@ case "${targ}" in 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" +#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-*-pe) -- 2.30.2