Reset processor mask if specified by command line switch

This commit is contained in:
Nick Clifton 1997-09-19 00:43:54 +00:00
parent 4a56e55061
commit 46ad7d6ccb
2 changed files with 4 additions and 1 deletions

View file

@ -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>

View file

@ -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;
}