aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-09-19 00:43:54 +0000
committerNick Clifton <nickc@redhat.com>1997-09-19 00:43:54 +0000
commit46ad7d6ccb1590b1a2fee9c1ab06a5e3f2622921 (patch)
treecfe5d9b664ad6e948451e5b5ae352472c571a380
parent4a56e55061fddf61c446c5941b63f76ea46f38d3 (diff)
downloadgdb-46ad7d6ccb1590b1a2fee9c1ab06a5e3f2622921.zip
gdb-46ad7d6ccb1590b1a2fee9c1ab06a5e3f2622921.tar.gz
gdb-46ad7d6ccb1590b1a2fee9c1ab06a5e3f2622921.tar.bz2
Reset processor mask if specified by command line switch
-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;
}