aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ppc.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-04-24 10:22:35 +0000
committerNick Clifton <nickc@redhat.com>2003-04-24 10:22:35 +0000
commit5ce8663f498b9305547763395c33260f19cda41c (patch)
tree88a783bc0e401fb77fd197f1a9053f52d5e7e035 /gas/config/tc-ppc.c
parentedbedb7125408dec95077d1b99a008c602e9af4d (diff)
downloadgdb-5ce8663f498b9305547763395c33260f19cda41c.zip
gdb-5ce8663f498b9305547763395c33260f19cda41c.tar.gz
gdb-5ce8663f498b9305547763395c33260f19cda41c.tar.bz2
Add '+' and '-' as valid symbol characters for PPC port.
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r--gas/config/tc-ppc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 7436fbd..f65f144 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -182,6 +182,10 @@ const char EXP_CHARS[] = "eE";
/* Characters which mean that a number is a floating point constant,
as in 0d1.0. */
const char FLT_CHARS[] = "dD";
+
+/* '+' and '-' can be used as postfix predicate predictors for conditional
+ branches. So they need to be accepted as symbol characters. */
+const char ppc_symbol_chars[] = "+-";
/* The target specific pseudo-ops which we support. */