]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
(pa_build_unwind_subspace): Don't call
authorAlan Modra <amodra@gmail.com>
Thu, 8 Feb 2001 00:14:25 +0000 (00:14 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 8 Feb 2001 00:14:25 +0000 (00:14 +0000)
md_number_to_chars with size > sizeof (valueT).

gas/ChangeLog
gas/config/tc-hppa.c

index 0732f6ae24cf3f03f54ccc9a0a406a4c060107f8..649f86293c174adb85bb7888395270ceee2277b9 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-08  Alan Modra   <alan@linuxcare.com.au>
+
+       * config/tc-hppa.c (pa_build_unwind_subspace): Don't call
+       md_number_to_chars with size > sizeof (valueT).
+
 2001-02-05  Jim Wilson  <wilson@redhat.com>
 
        * config/tc-ia64.c (errata_nop_necessary_p): Return 0 instead of
index 1b3a4efc850456c5c25b4d15910d231fa044c0dc..e2905ecce470f7cf0cd34b70ea9f7ad6e192f6a6 100644 (file)
@@ -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,