From: Jan Beulich Date: Wed, 25 May 2005 07:08:51 +0000 (+0000) Subject: gas/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6baf2b51ce8a6a12005bafd47cd08aeab5d87b22;p=binutils-gdb.git gas/ 2005-05-25 Jan Beulich * config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind section entry. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index a350c8a04a5..e014f826f27 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2005-05-25 Jan Beulich + + * config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind + section entry. + 2005-05-25 Jan Beulich * config/tc-ia64.c (dot_radix): Rewrite. diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index ce392b17453..4cb7b9c7507 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);