diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2010-07-03 08:27:23 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2010-07-03 08:27:23 +0000 |
commit | 7102e95e494350cc1df80b4163e6f0a20537315e (patch) | |
tree | 3512f932c3cef29a36be5e81b6a1d56c98ac0ab6 /gas/config | |
parent | bdc70b4a03fd884e60bfef2cc2fa7b864f51d6fe (diff) | |
download | gdb-7102e95e494350cc1df80b4163e6f0a20537315e.zip gdb-7102e95e494350cc1df80b4163e6f0a20537315e.tar.gz gdb-7102e95e494350cc1df80b4163e6f0a20537315e.tar.bz2 |
gas/:
* config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
before inverting.
binutils/:
* ppc-dis.c (powerpc_init_dialect): Cast PPC_OPCODE_xxx to
ppc_cpu_t before inverting.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-ppc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index df298db..1321cd4 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -1248,7 +1248,7 @@ ppc_set_cpu (void) const char *default_os = TARGET_OS; const char *default_cpu = TARGET_CPU; - if ((ppc_cpu & ~PPC_OPCODE_ANY) == 0) + if ((ppc_cpu & ~(ppc_cpu_t) PPC_OPCODE_ANY) == 0) { if (ppc_obj64) ppc_cpu |= PPC_OPCODE_PPC | PPC_OPCODE_64; |