From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6935 invoked by alias); 17 Jan 2005 16:51:11 -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 6631 invoked from network); 17 Jan 2005 16:50:42 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 17 Jan 2005 16:50:42 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11/8.12.11) with ESMTP id j0HGogrB027993 for ; Mon, 17 Jan 2005 11:50:42 -0500 Received: from pobox.surrey.redhat.com (pobox.surrey.redhat.com [172.16.10.17]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id j0HGofO10874 for ; Mon, 17 Jan 2005 11:50:41 -0500 Received: from [172.31.0.98] (vpnuser4.surrey.redhat.com [172.16.9.4]) by pobox.surrey.redhat.com (8.12.8/8.12.8) with ESMTP id j0HGoexg028724; Mon, 17 Jan 2005 16:50:40 GMT Message-ID: <41EBEEDC.4080109@redhat.com> Date: Mon, 17 Jan 2005 16:51:00 -0000 From: Nick Clifton User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) MIME-Version: 1.0 To: Richard Sandiford CC: binutils@sources.redhat.com Subject: Re: Follow-up to November's .eh_frame optimisations (2/3) References: <877jmg3ow3.fsf@redhat.com> <873bx43oi9.fsf@redhat.com> In-Reply-To: <873bx43oi9.fsf@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-01/txt/msg00181.txt.bz2 Hi Richard, > * elf-bfd.h (struct cie): Use bfd_vmas for code_align, ra_column and > augmentation_size. Use bfd_signed_vmas for data_align. > * elf-eh-frame.c (read_unsigned_leb128, read_signed_leb128) > (read_uleb128, read_sleb128): Delete in favor of... > (read_byte, skip_leb128, read_uleb128, read_sleb128): ...these new > functions. Don't read past the end of the enclosing CIE or FDE. > (skip_bytes): New utility function. > (_bfd_elf_discard_section_eh_frame): Use new functions, adding more > sanity checking. > (_bfd_elf_write_section_eh_frame): Use new functions. Approved - please apply. Cheers Nick