diff options
author | Alan Modra <amodra@gmail.com> | 2001-02-08 00:15:36 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-02-08 00:15:36 +0000 |
commit | 8ea46bbdec0bc6ad5fe3afac43fae1cae616bd2f (patch) | |
tree | 80ba61cfe741f2c5b302714a7683db12526688f0 /gas/config/tc-hppa.c | |
parent | 4ca29a6acf8ea8917ce12bd7435dff7afbdc2ba6 (diff) | |
download | binutils-gdb-8ea46bbdec0bc6ad5fe3afac43fae1cae616bd2f.tar.gz |
(pa_build_unwind_subspace): Don't call
md_number_to_chars with size > sizeof (valueT).
Diffstat (limited to 'gas/config/tc-hppa.c')
-rw-r--r-- | gas/config/tc-hppa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c index 1b3a4efc850..e2905ecce47 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, |