summaryrefslogtreecommitdiff
path: root/gas/symbols.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-07-04 11:14:59 +0000
committerNick Clifton <nickc@redhat.com>2007-07-04 11:14:59 +0000
commit5690b058396216a168100dccc548c4a7bb8640a6 (patch)
tree888ae3f1e5e4ddeaa53adb9606db3aafbe4ef5b9 /gas/symbols.c
parent500cf5298bc1ea54b44844b4119ecac09892d3da (diff)
downloadbinutils-redhat-5690b058396216a168100dccc548c4a7bb8640a6.tar.gz
* symbols.c (symbol_relc_make_value): Use bfd_sprintf_vma in order to get the
right length of printed value.
Diffstat (limited to 'gas/symbols.c')
-rw-r--r--gas/symbols.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/symbols.c b/gas/symbols.c
index 480e3e3507..e8c7154ede 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;
}