From: Alan Modra Date: Thu, 8 Feb 2001 00:15:36 +0000 (+0000) Subject: (pa_build_unwind_subspace): Don't call X-Git-Tag: jimb_gnu_v3_branchpoint~257 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ea46bbdec0bc6ad5fe3afac43fae1cae616bd2f;p=external%2Fbinutils.git (pa_build_unwind_subspace): Don't call md_number_to_chars with size > sizeof (valueT). --- diff --git a/gas/ChangeLog b/gas/ChangeLog index d49e15c..8824fe5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-02-08 Alan Modra + + * config/tc-hppa.c (pa_build_unwind_subspace): Don't call + md_number_to_chars with size > sizeof (valueT). + 2001-02-06 H.J. Lu * config/tc-ia64.h (TC_RELOC_RTSYM_LOC_FIXUP): Do fixup if diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 1b3a4ef..e2905ec 100644 --- a/gas/config/tc-hppa.c +++ b/gas/config/tc-hppa.c @@ -6108,9 +6108,9 @@ pa_build_unwind_subspace (call_info) /* Get some space to hold relocation information for the unwind descriptor. */ p = frag_more (16); - md_number_to_chars (p, 0, 8); /* Relocation info. for start offset of the function. */ + md_number_to_chars (p, 0, 4); fix_new_hppa (frag_now, p - frag_now->fr_literal, 4, call_info->start_symbol, (offsetT) 0, (expressionS *) NULL, 0, reloc, @@ -6123,7 +6123,7 @@ pa_build_unwind_subspace (call_info) symbol into the symbol table. It (should) end up giving the same value as call_info->start_symbol + function size once the linker is finished with its work. */ - + md_number_to_chars (p + 4, 0, 4); fix_new_hppa (frag_now, p + 4 - frag_now->fr_literal, 4, call_info->end_symbol, (offsetT) 0, (expressionS *) NULL, 0, reloc,