[PATCH] a little ia64 cleanup
Jan Beulich
JBeulich@novell.com
Fri May 20 15:26:00 GMT 2005
This removes two orphaned structure members.
Built and tested on ia64-unknown-linux-gnu.
Jan
gas/
2005-05-20 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number
and next_slot_frag.
(alloc_record): Remove references to next_slot_number and
next_slot_frag.
(emit_one_bundle): Likewise.
--- /home/jbeulich/src/binutils/mainline/2005-05-18/gas/config/tc-ia64.c 2005-05-09 08:31:38.000000000 +0200
+++ 2005-05-18/gas/config/tc-ia64.c 2005-05-20 16:42:38.439810388 +0200
@@ -695,8 +695,6 @@ typedef struct unw_rec_list {
unwind_record r;
unsigned long slot_number;
fragS *slot_frag;
- unsigned long next_slot_number;
- fragS *next_slot_frag;
struct unw_rec_list *next;
} unw_rec_list;
@@ -1750,8 +1746,6 @@ alloc_record (unw_record_type t)
ptr->next = NULL;
ptr->slot_number = SLOT_NUM_NOT_SET;
ptr->r.type = t;
- ptr->next_slot_number = 0;
- ptr->next_slot_frag = 0;
return ptr;
}
@@ -6916,12 +6860,6 @@ emit_one_bundle ()
number_to_chars_littleendian (f + 0, t0, 8);
number_to_chars_littleendian (f + 8, t1, 8);
-
- if (unwind.list)
- {
- unwind.list->next_slot_number = (unsigned long) f + 16;
- unwind.list->next_slot_frag = frag_now;
- }
}
int
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils-mainline-ia64-next-slot.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20050520/e5030e9d/attachment.ksh>
More information about the Binutils
mailing list