Re: [PATCH/RFA] Include sh64 support for shle-*-netbsdelf*

Nick Clifton
2002-05-13T08:48:42Z

Hi Jason,

> sh64 support is already present for sh-*-netbsdelf*, but shle-*-netbsdelf*
> was apparently missed when this was added.
>
> This patch is necessary in order to build GDB for shle-*-netbsdelf*, now
> that sh64 support has been added to GDB.
>
> OK to commit?
>
> bfd:
> * config.bfd (shle-*-netbsdelf*): Add target which includes
> sh64 support.

See below,

> opcodes:
> * configure.in (shle-*-*elf*): Include sh64 support.
> * configure: Regenerate.

Approved - please apply.

> Index: bfd/config.bfd
> ===================================================================
> RCS file: /cvs/src/src/bfd/config.bfd,v
> retrieving revision 1.89
> diff -u -r1.89 config.bfd
> --- bfd/config.bfd 11 May 2002 09:10:14 -0000 1.89
> +++ bfd/config.bfd 11 May 2002 18:42:46 -0000
> @@ -879,6 +879,13 @@
> targ_defvec=bfd_elf32_shlin_vec
> ;;
>
> + shle-*-netbsdelf*)
> + targ_defvec=bfd_elf32_shlnbsd_vec
> + targ_selvecs="bfd_elf32_shnbsd_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*le-*-netbsdelf*)
> targ_defvec=bfd_elf32_shlnbsd_vec
> targ_selvecs="bfd_elf32_shnbsd_vec shcoff_vec shlcoff_vec"

Doesn't the "sh*le-*-netbsdelf*" target (immediately below the lines
you have added) already cover this situation ?

Cheers
Nick