aboutsummaryrefslogtreecommitdiff
path: root/gas/macro.c
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>2000-05-01 14:01:06 +0000
committerCatherine Moore <clm@redhat.com>2000-05-01 14:01:06 +0000
commita2984248855c8b6895e02abe1c13c9f33e63ac83 (patch)
treed798727cc889d7ee345663e26993cb15c3d2abd7 /gas/macro.c
parentdf13624506adcef32e6bea7d4f7785b9c8e1cf0b (diff)
downloadgdb-a2984248855c8b6895e02abe1c13c9f33e63ac83.zip
gdb-a2984248855c8b6895e02abe1c13c9f33e63ac83.tar.gz
gdb-a2984248855c8b6895e02abe1c13c9f33e63ac83.tar.bz2
* macro.c (macro_expand_body): Don't prepend macro number with zeroes.
Diffstat (limited to 'gas/macro.c')
-rw-r--r--gas/macro.c2
1 files changed, 1 insertions, 1 deletions
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] == '&')