From 46ad7d6ccb1590b1a2fee9c1ab06a5e3f2622921 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 19 Sep 1997 00:43:54 +0000 Subject: Reset processor mask if specified by command line switch --- gas/ChangeLog | 2 ++ gas/config/tc-v850.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'gas') 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 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 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; } -- cgit v1.1