From 8350bcd967852fa3d68b8d935331fe2b3e81bbfe Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 4 Dec 2001 11:28:29 +0000 Subject: Only clear cpu part when specifying 'xscale' cpu (don't change the fpu part) --- gas/config/tc-arm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gas/config/tc-arm.c') diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 429cfa5..62c4bce 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -8988,7 +8988,8 @@ md_parse_option (c, arg) case 'x': if (streq (str, "xscale")) - cpu_variant = ARM_9 | ARM_ARCH_XSCALE; + cpu_variant = (cpu_variant & ~ARM_ANY) + | ARM_9 | ARM_ARCH_XSCALE; else goto bad; break; -- cgit v1.1