aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-z80.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-11-07 02:15:47 +0000
committerAlan Modra <amodra@gmail.com>2005-11-07 02:15:47 +0000
commitfb7ccfc159511562e051e679bf046cdee0d995a7 (patch)
treebd6a672b1da712dbd5059fa873282de7781fb23b /gas/config/tc-z80.h
parent0e470c55e8f94578da761b5c08201b8bb2914902 (diff)
downloadbinutils-fb7ccfc159511562e051e679bf046cdee0d995a7.zip
binutils-fb7ccfc159511562e051e679bf046cdee0d995a7.tar.gz
binutils-fb7ccfc159511562e051e679bf046cdee0d995a7.tar.bz2
* expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined.
* config/tc-z80.h: Define O_SINGLE_EQ as O_eq.
Diffstat (limited to 'gas/config/tc-z80.h')
-rw-r--r--gas/config/tc-z80.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-z80.h b/gas/config/tc-z80.h
index 90073ab..ff2c640 100644
--- a/gas/config/tc-z80.h
+++ b/gas/config/tc-z80.h
@@ -78,10 +78,12 @@ extern int z80_optimize_expr (expressionS *, operatorT, expressionS *);
#define LISTING_WORD_SIZE 2
+/* A single '=' is accepted as a comparison operator. */
+#define O_SINGLE_EQ O_eq
+
/* A '$' is used to refer to the current location or as a hex. prefix. */
#define DOLLAR_DOT
#define DOLLAR_AMBIGU 1
-#define SINGLE_EQ_COMPARES
#define LOCAL_LABELS_FB 1
#define LITERAL_PREFIXPERCENT_BIN
#define NUMBERS_WITH_SUFFIX 1