diff options
author | Jan Beulich <jbeulich@novell.com> | 2005-05-25 07:08:51 +0000 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2005-05-25 07:08:51 +0000 |
commit | 6baf2b51ce8a6a12005bafd47cd08aeab5d87b22 (patch) | |
tree | 2c6dfea3777ee1e06241175d143210d9303908b7 /gas/config/tc-ia64.c | |
parent | fa30c84f626e82e0e65204a51309aded401d9a10 (diff) | |
download | gdb-6baf2b51ce8a6a12005bafd47cd08aeab5d87b22.zip gdb-6baf2b51ce8a6a12005bafd47cd08aeab5d87b22.tar.gz gdb-6baf2b51ce8a6a12005bafd47cd08aeab5d87b22.tar.bz2 |
gas/
2005-05-25 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind
section entry.
Diffstat (limited to 'gas/config/tc-ia64.c')
-rw-r--r-- | gas/config/tc-ia64.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index ce392b1..4cb7b9c 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -4386,7 +4386,6 @@ dot_endp (dummy) int dummy ATTRIBUTE_UNUSED; { expressionS e; - char *ptr; int bytes_per_address; long where; segT saved_seg; @@ -4433,7 +4432,7 @@ dot_endp (dummy) /* Need space for 3 pointers for procedure start, procedure end, and unwind info. */ - ptr = frag_more (3 * md.pointer_size); + memset (frag_more (3 * md.pointer_size), 0, 3 * md.pointer_size); where = frag_now_fix () - (3 * md.pointer_size); bytes_per_address = bfd_arch_bits_per_address (stdoutput) / 8; @@ -4466,10 +4465,6 @@ dot_endp (dummy) ia64_cons_fix_new (frag_now, where + (bytes_per_address * 2), bytes_per_address, &e); } - else - md_number_to_chars (ptr + (bytes_per_address * 2), 0, - bytes_per_address); - } subseg_set (saved_seg, saved_subseg); |