Add '+' and '-' as valid symbol characters for PPC port.

This commit is contained in:
Nick Clifton 2003-04-24 10:22:35 +00:00
parent edbedb7125
commit 5ce8663f49
3 changed files with 12 additions and 0 deletions

View 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.

View 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[] = "+-";
/* The target specific pseudo-ops which we support. */

View 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 */