From 1a412f5fd37a833c417bde3ac16e1cbf15433b49 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 4 Jul 2007 11:14:59 +0000 Subject: * symbols.c (symbol_relc_make_value): Use bfd_sprintf_vma in order to get the right length of printed value. --- gas/symbols.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/symbols.c') diff --git a/gas/symbols.c b/gas/symbols.c index 480e3e3..e8c7154 100644 --- a/gas/symbols.c +++ b/gas/symbols.c @@ -3004,7 +3004,7 @@ symbol_relc_make_value (offsetT val) char * terminal = xmalloc (28); /* Enough for long long. */ terminal[0] = '#'; - sprintf_vma (& terminal[1], val); + bfd_sprintf_vma (stdoutput, terminal + 1, val); return terminal; } -- cgit v1.1