This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
BFD patch for sh*-unknown-linux-gnu
- To: binutils at sources dot redhat dot com
- Subject: BFD patch for sh*-unknown-linux-gnu
- From: NIIBE Yutaka <gniibe at m17n dot org>
- Date: Mon, 29 Oct 2001 18:49:04 +0900 (JST)
Here's a patch to supports four specific targets.
bfd/ChangeLog
2001-10-29 NIIBE Yutaka <gniibe@m17n.org>
* config.bfd: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
targets.
Index: bfd/config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.69
diff -u -3 -p -r1.69 config.bfd
--- config.bfd 2001/10/08 19:11:36 1.69
+++ config.bfd 2001/10/29 09:37:00
@@ -50,8 +50,9 @@ mips*) targ_archs=bfd_mips_arch ;;
pdp11*) targ_archs=bfd_pdp11_arch ;;
pj*) targ_archs="bfd_pj_arch bfd_i386_arch";;
powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
-s390*) targ_archs=bfd_s390_arch ;;
rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
+s390*) targ_archs=bfd_s390_arch ;;
+sh*) targ_archs=bfd_sh_arch ;;
sparc*) targ_archs=bfd_sparc_arch ;;
v850*) targ_archs=bfd_v850_arch ;;
z8k*) targ_archs=bfd_z8k_arch ;;
@@ -807,6 +808,14 @@ case "${targ}" in
sh-*-linux*)
targ_defvec=bfd_elf32_shblin_vec
targ_selvecs=bfd_elf32_shlin_vec
+ ;;
+
+ sh*eb-*-linux*)
+ targ_defvec=bfd_elf32_shblin_vec
+ ;;
+
+ sh*-*-linux*)
+ targ_defvec=bfd_elf32_shlin_vec
;;
sh-*-elf* | sh-*-rtemself*)
--