aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-sh.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-01-17 14:08:17 +0000
committerNick Clifton <nickc@redhat.com>2005-01-17 14:08:17 +0000
commite38bc3b5244a70367b51990962e12f6847eee6fd (patch)
tree94829d7afe5b744b2f9e4cd58e475ad093036a64 /gas/config/tc-sh.c
parent12b21d12565a077ddad83d353bd72e9806681f32 (diff)
downloadgdb-e38bc3b5244a70367b51990962e12f6847eee6fd.zip
gdb-e38bc3b5244a70367b51990962e12f6847eee6fd.tar.gz
gdb-e38bc3b5244a70367b51990962e12f6847eee6fd.tar.bz2
Fix SH2A machine variants in order to correctly select instruction inheritance
Diffstat (limited to 'gas/config/tc-sh.c')
-rw-r--r--gas/config/tc-sh.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gas/config/tc-sh.c b/gas/config/tc-sh.c
index a7ac792..da02541 100644
--- a/gas/config/tc-sh.c
+++ b/gas/config/tc-sh.c
@@ -1,6 +1,6 @@
/* tc-sh.c -- Assemble code for the Renesas / SuperH SH
Copyright 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
- 2003, 2004 Free Software Foundation, Inc.
+ 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -839,7 +839,7 @@ md_begin (void)
unsigned int target_arch;
target_arch
- = preset_target_arch ? preset_target_arch : arch_sh1_up & ~arch_sh_has_dsp;
+ = preset_target_arch ? preset_target_arch : arch_sh_up & ~arch_sh_has_dsp;
valid_arch = target_arch;
#ifdef HAVE_SH64
@@ -3083,7 +3083,7 @@ md_parse_option (int c, char *arg ATTRIBUTE_UNUSED)
break;
case OPTION_DSP:
- preset_target_arch = arch_sh1_up & ~(arch_sh_sp_fpu|arch_sh_dp_fpu);
+ preset_target_arch = arch_sh_up & ~(arch_sh_sp_fpu|arch_sh_dp_fpu);
break;
case OPTION_RENESAS:
@@ -3092,11 +3092,11 @@ md_parse_option (int c, char *arg ATTRIBUTE_UNUSED)
case OPTION_ISA:
if (strcasecmp (arg, "dsp") == 0)
- preset_target_arch = arch_sh1_up & ~(arch_sh_sp_fpu|arch_sh_dp_fpu);
+ preset_target_arch = arch_sh_up & ~(arch_sh_sp_fpu|arch_sh_dp_fpu);
else if (strcasecmp (arg, "fp") == 0)
- preset_target_arch = arch_sh1_up & ~arch_sh_has_dsp;
+ preset_target_arch = arch_sh_up & ~arch_sh_has_dsp;
else if (strcasecmp (arg, "any") == 0)
- preset_target_arch = arch_sh1_up;
+ preset_target_arch = arch_sh_up;
#ifdef HAVE_SH64
else if (strcasecmp (arg, "shmedia") == 0)
{