Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/dist/toolchain/gas/config Add a missing == 0 to a strcmp...
details: https://anonhg.NetBSD.org/src/rev/8fd70c2bbdc9
branches: trunk
changeset: 525876:8fd70c2bbdc9
user: matt <matt%NetBSD.org@localhost>
date: Fri Apr 19 02:20:21 2002 +0000
description:
Add a missing == 0 to a strcmp of "vec"
diffstat:
gnu/dist/toolchain/gas/config/tc-ppc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 2f72a406bd42 -r 8fd70c2bbdc9 gnu/dist/toolchain/gas/config/tc-ppc.c
--- a/gnu/dist/toolchain/gas/config/tc-ppc.c Fri Apr 19 02:15:59 2002 +0000
+++ b/gnu/dist/toolchain/gas/config/tc-ppc.c Fri Apr 19 02:20:21 2002 +0000
@@ -849,7 +849,7 @@
|| strcmp (arg, "603") == 0
|| strcmp (arg, "604") == 0)
ppc_cpu = PPC_OPCODE_PPC;
- else if (strcmp (arg, "7400") == 0 || strcmp (arg, "vec")
+ else if (strcmp (arg, "7400") == 0 || strcmp (arg, "vec") == 0
|| strcmp (arg, "altivec") == 0)
ppc_cpu = PPC_OPCODE_PPC | PPC_OPCODE_ALTIVEC;
/* -mppc64 and -m620 mean to assemble for the 64-bit PowerPC
Home |
Main Index |
Thread Index |
Old Index