aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog2
-rw-r--r--gas/config/tc-v850.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index af553d1..1a31eff 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -4,6 +4,8 @@ Thu Sep 18 14:11:56 1997 Nick Clifton <nickc@cygnus.com>
relocation with a constant offset.
(md_assemble): Produce error message when special data area
relocations are used on instructions which do not support them.
+ (md_assemble): Reset processor mask if defined by command line
+ switch.
Thu Sep 18 11:24:01 1997 Doug Evans <dje@canuck.cygnus.com>
diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c
index 2af88ad..724030b 100644
--- a/gas/config/tc-v850.c
+++ b/gas/config/tc-v850.c
@@ -853,13 +853,14 @@ md_parse_option (c, arg)
if (strcmp (arg, "v850") == 0)
{
machine = 0;
+ processor_mask = PROCESSOR_V850;
return 1;
}
/* start-sanitize-v850e */
else if (strcmp (arg, "v850e") == 0)
{
machine = bfd_mach_v850e;
- processor_mask = PROCESSOR_V850 | PROCESSOR_V850E;
+ processor_mask = PROCESSOR_V850E;
return 1;
}