Add '+' and '-' as valid symbol characters for PPC port.
authorNick Clifton <nickc@redhat.com>
Thu, 24 Apr 2003 10:22:35 +0000 (10:22 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 24 Apr 2003 10:22:35 +0000 (10:22 +0000)
gas/ChangeLog
gas/config/tc-ppc.c
gas/config/tc-ppc.h

index ac6ac66ccf32ce42cf1f65ebd4da4cac380bd569..fde70eda327d0e23bb4a047442183decd96a36fe 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-24  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-ppc.c (ppc_symbol_chars): Define.
+       * config/tc-ppc.h (tc_symbol_chars): Define.
+
 2003-04-23  J"orn Rennecke <joern.rennecke@superh.com>
 
        * config/tc-sh.c: Amend comment to refer to SuperH.
index 7436fbdd379fa0c09b5504da9088cd5292a929c9..f65f144fcb50477857a1b9d0beb25f67f4e601ef 100644 (file)
@@ -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[] = "+-";
 \f
 /* The target specific pseudo-ops which we support.  */
 
index f4f8ab517d0f39ae7601c3e5943fdf518b3c3fcf..2bac481e92674cefea6afc68dcd86c12c5f2e79a 100644 (file)
@@ -206,6 +206,9 @@ do {                                                                \
 
 #endif /* OBJ_XCOFF */
 
+extern const char       ppc_symbol_chars[];
+#define tc_symbol_chars ppc_symbol_chars
+
 #ifdef OBJ_ELF
 
 /* Support for SHF_EXCLUDE and SHT_ORDERED */