[PATCH/RFA] Include sh64 support for shle-*-netbsdelf*
Jason R Thorpe
thorpej@wasabisystems.com
Sat May 11 11:56:00 GMT 2002
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.
opcodes:
* configure.in (shle-*-*elf*): Include sh64 support.
* configure: Regenerate.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
-------------- next part --------------
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"
Index: opcodes/configure.in
===================================================================
RCS file: /cvs/src/src/opcodes/configure.in,v
retrieving revision 1.34
diff -u -r1.34 configure.in
--- opcodes/configure.in 24 Apr 2002 09:01:46 -0000 1.34
+++ opcodes/configure.in 11 May 2002 18:42:46 -0000
@@ -215,7 +215,8 @@
# Include it just for ELF targets, since the SH5 bfd:s are ELF only.
for t in $target $canon_targets; do
case $t in
- all | sh64-* | sh-*-*elf* | shl-*-*elf* | sh-*-linux* | shl-*-linux*)
+ all | sh64-* | sh-*-*elf* | shl-*-*elf* | shle-*-*elf* | \
+ sh-*-linux* | shl-*-linux*)
ta="$ta sh64-dis.lo sh64-opc.lo"
archdefs="$archdefs -DINCLUDE_SHMEDIA"
break;;
More information about the Binutils
mailing list