summaryrefslogtreecommitdiff
path: root/gas/symbols.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-03-01 22:24:14 +0000
committerAlan Modra <amodra@bigpond.net.au>2005-03-01 22:24:14 +0000
commitad32d93edb1b3ebbecfbce7c2468b01e0b4a62c7 (patch)
tree369e0eca93b04ce7ad7129e59d012e1bd9726a55 /gas/symbols.c
parent848b0a7d47d0b77177d469d6a83e1302a55af742 (diff)
downloadbinutils-redhat-ad32d93edb1b3ebbecfbce7c2468b01e0b4a62c7.tar.gz
* symbols.c (fb_label_name): Allow an augend of 2 for mmix.
also fix last changelog entry.
Diffstat (limited to 'gas/symbols.c')
-rw-r--r--gas/symbols.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/gas/symbols.c b/gas/symbols.c
index 3ea11ab25f..d1c7ad3021 100644
--- a/gas/symbols.c
+++ b/gas/symbols.c
@@ -1,6 +1,6 @@
/* symbols.c -symbol table-
Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
- 1999, 2000, 2001, 2002, 2003, 2004
+ 1999, 2000, 2001, 2002, 2003, 2004, 2005
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -1561,7 +1561,13 @@ fb_label_name (long n, /* We just saw "n:", "nf" or "nb" : n a number. */
char symbol_name_temporary[20]; /* Build up a number, BACKWARDS. */
know (n >= 0);
- know (augend == 0 || augend == 1);
+ know (
+#ifdef TC_MMIX
+ (unsigned long) augend <= 2 /* See mmix_fb_label. */
+#else
+ (unsigned long) augend <= 1
+#endif
+ );
p = symbol_name_build;
#ifdef LOCAL_LABEL_PREFIX
*p++ = LOCAL_LABEL_PREFIX;