aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-10-31 09:50:09 +0000
committerNick Clifton <nickc@redhat.com>2001-10-31 09:50:09 +0000
commit7649aa5088856d6878555cf26427157d7b9d4312 (patch)
treeb07732d4652fdb4c0d673ff3a4358210a9a3d9a4 /bfd
parenta53ecf01a5b5f33b4ddb8f89b924d16d0273dcfd (diff)
downloadgdb-7649aa5088856d6878555cf26427157d7b9d4312.zip
gdb-7649aa5088856d6878555cf26427157d7b9d4312.tar.gz
gdb-7649aa5088856d6878555cf26427157d7b9d4312.tar.bz2
Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu targets
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/config.bfd53
2 files changed, 35 insertions, 23 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5308ac6..b84842e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-29 NIIBE Yutaka <gniibe@m17n.org>
+
+ * config.bfd: Supports sh3/sh4/sh3eb/sh4eb-unknown-linux-gnu
+ targets.
+
2001-10-31 Nick Clifton <nickc@cambridge.redhat.com>
* targets.c: Fix typo: bfd_mmo_mmix_vec => bfd_mmo_vec.
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 094fba4..3dd4111 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -31,31 +31,32 @@ targ_underscore=no
targ_cpu=`echo $targ | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
case "${targ_cpu}" in
-alpha*) targ_archs=bfd_alpha_arch ;;
-arm*) targ_archs=bfd_arm_arch ;;
-strongarm*) targ_archs=bfd_arm_arch ;;
-thumb*) targ_archs=bfd_arm_arch ;;
-xscale*) targ_archs=bfd_arm_arch ;;
-c30*) targ_archs=bfd_tic30_arch ;;
-c54x*) targ_archs=bfd_tic54x_arch ;;
-hppa*) targ_archs=bfd_hppa_arch ;;
-x86_64) targ_archs=bfd_i386_arch ;;
-i[3456]86) targ_archs=bfd_i386_arch ;;
-i370) targ_archs=bfd_i370_arch ;;
+alpha*) targ_archs=bfd_alpha_arch ;;
+arm*) targ_archs=bfd_arm_arch ;;
+c30*) targ_archs=bfd_tic30_arch ;;
+c54x*) targ_archs=bfd_tic54x_arch ;;
+hppa*) targ_archs=bfd_hppa_arch ;;
+i[3456]86) targ_archs=bfd_i386_arch ;;
+i370) targ_archs=bfd_i370_arch ;;
m6811*|m68hc11*) targ_archs="bfd_m68hc11_arch bfd_m68hc12_arch" ;;
m6812*|m68hc12*) targ_archs="bfd_m68hc12_arch bfd_m68hc11_arch" ;;
-m68*) targ_archs=bfd_m68k_arch ;;
-m88*) targ_archs=bfd_m88k_arch ;;
-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" ;;
-sparc*) targ_archs=bfd_sparc_arch ;;
-v850*) targ_archs=bfd_v850_arch ;;
-z8k*) targ_archs=bfd_z8k_arch ;;
-*) targ_archs=bfd_${targ_cpu}_arch ;;
+m68*) targ_archs=bfd_m68k_arch ;;
+m88*) targ_archs=bfd_m88k_arch ;;
+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" ;;
+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 ;;
+strongarm*) targ_archs=bfd_arm_arch ;;
+thumb*) targ_archs=bfd_arm_arch ;;
+v850*) targ_archs=bfd_v850_arch ;;
+x86_64) targ_archs=bfd_i386_arch ;;
+xscale*) targ_archs=bfd_arm_arch ;;
+z8k*) targ_archs=bfd_z8k_arch ;;
+*) targ_archs=bfd_${targ_cpu}_arch ;;
esac
@@ -814,6 +815,12 @@ case "${targ}" in
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*)
targ_defvec=bfd_elf32_sh_vec