From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11236 invoked by alias); 20 May 2005 15:26:14 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 10002 invoked from network); 20 May 2005 15:25:42 -0000 Received: from unknown (HELO emea1-mh.id2.novell.com) (195.33.99.129) by sourceware.org with SMTP; 20 May 2005 15:25:42 -0000 Received: from EMEA1-MTA by emea1-mh.id2.novell.com with Novell_GroupWise; Fri, 20 May 2005 16:25:41 +0200 Message-Id: Date: Fri, 20 May 2005 15:26:00 -0000 From: "Jan Beulich" To: Subject: [PATCH] a little ia64 cleanup Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=__PartC3E00266.0__=" X-SW-Source: 2005-05/txt/msg00619.txt.bz2 This is a MIME message. If you are reading this text, you may want to consider changing to a mail reader or gateway that understands how to properly handle MIME multipart messages. --=__PartC3E00266.0__= Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-length: 1292 This removes two orphaned structure members. Built and tested on ia64-unknown-linux-gnu. Jan gas/ 2005-05-20 Jan Beulich * 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 20= 05-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; =20 @@ -1750,8 +1746,6 @@ alloc_record (unw_record_type t) ptr->next =3D NULL; ptr->slot_number =3D SLOT_NUM_NOT_SET; ptr->r.type =3D t; - ptr->next_slot_number =3D 0; - ptr->next_slot_frag =3D 0; return ptr; } =20 @@ -6916,12 +6860,6 @@ emit_one_bundle () =20 number_to_chars_littleendian (f + 0, t0, 8); number_to_chars_littleendian (f + 8, t1, 8); - - if (unwind.list) - { - unwind.list->next_slot_number =3D (unsigned long) f + 16; - unwind.list->next_slot_frag =3D frag_now; - } } =20 int --=__PartC3E00266.0__= Content-Type: text/plain; name="binutils-mainline-ia64-next-slot.patch" Content-Transfer-Encoding: 8bit Content-Disposition: attachment; filename="binutils-mainline-ia64-next-slot.patch" Content-length: 1266 This removes two orphaned structure members. Built and tested on ia64-unknown-linux-gnu. Jan gas/ 2005-05-20 Jan Beulich * 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 --=__PartC3E00266.0__=--