From: Catherine Moore Date: Mon, 1 May 2000 14:01:06 +0000 (+0000) Subject: * macro.c (macro_expand_body): Don't prepend macro number with zeroes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a2984248855c8b6895e02abe1c13c9f33e63ac83;p=binutils-gdb.git * macro.c (macro_expand_body): Don't prepend macro number with zeroes. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 4b734571d7e..d8a9dcd17f3 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +Mon May 1 08:54:23 2000 Catherine Moore + + * macro.c (macro_expand_body): Don't prepend macro number with zeroes. + Mon May 1 14:19:39 2000 Denis Chertykov * config/tc-avr.c: ATTRIBUTE_UNUSED added to the necessary places. diff --git a/gas/macro.c b/gas/macro.c index 12a757e2238..df01bc5ca0c 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] == '&')