aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2005-05-25 07:08:51 +0000
committerJan Beulich <jbeulich@novell.com>2005-05-25 07:08:51 +0000
commit6baf2b51ce8a6a12005bafd47cd08aeab5d87b22 (patch)
tree2c6dfea3777ee1e06241175d143210d9303908b7 /gas
parentfa30c84f626e82e0e65204a51309aded401d9a10 (diff)
downloadgdb-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')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ia64.c7
2 files changed, 6 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a350c8a..e014f82 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2005-05-25 Jan Beulich <jbeulich@novell.com>
+ * config/tc-ia64.c (dot_endp): Clear out all three pointers in unwind
+ section entry.
+
+2005-05-25 Jan Beulich <jbeulich@novell.com>
+
* config/tc-ia64.c (dot_radix): Rewrite.
2005-05-25 Jan Beulich <jbeulich@novell.com>
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);