diff options
author | Nick Clifton <nickc@redhat.com> | 2007-07-04 11:14:59 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-07-04 11:14:59 +0000 |
commit | 1a412f5fd37a833c417bde3ac16e1cbf15433b49 (patch) | |
tree | ba0b7007b3450cd59d6879650533ac6405600eea /gas/symbols.c | |
parent | a9d8f065563f4ec79f44731aaf4333ea1b2ef8ec (diff) | |
download | fsf-binutils-gdb-1a412f5fd37a833c417bde3ac16e1cbf15433b49.zip fsf-binutils-gdb-1a412f5fd37a833c417bde3ac16e1cbf15433b49.tar.gz fsf-binutils-gdb-1a412f5fd37a833c417bde3ac16e1cbf15433b49.tar.bz2 |
* 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |