aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/macro.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 4b73457..d8a9dcd 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+Mon May 1 08:54:23 2000 Catherine Moore <clm@cygnus.com>
+
+ * macro.c (macro_expand_body): Don't prepend macro number with zeroes.
+
Mon May 1 14:19:39 2000 Denis Chertykov <denisc@overta.ru>
* config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places.
diff --git a/gas/macro.c b/gas/macro.c
index 12a757e..df01bc5 100644
--- a/gas/macro.c
+++ b/gas/macro.c
@@ -700,7 +700,7 @@ macro_expand_body (in, out, formals, formal_hash, comment_char, locals)
char buffer[10];
src++;
- sprintf (buffer, "%05d", macro_number);
+ sprintf (buffer, "%d", macro_number);
sb_add_string (out, buffer);
}
else if (in->ptr[src] == '&')