From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3969 invoked by alias); 25 May 2011 08:07:32 -0000 Received: (qmail 3942 invoked by uid 22791); 25 May 2011 08:07:30 -0000 X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_FN,TW_FX,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 May 2011 08:07:13 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p4P870Z8012942 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 25 May 2011 04:07:00 -0400 Received: from [10.36.7.219] (vpn1-7-219.ams2.redhat.com [10.36.7.219]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p4P7KM0w021035; Wed, 25 May 2011 03:20:23 -0400 Message-ID: <4DDCADE9.4020405@redhat.com> Date: Wed, 25 May 2011 08:07:00 -0000 From: Nick Clifton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10 MIME-Version: 1.0 To: Tristan Gingold CC: binutils Development Subject: Re: Ping [Patch v2] bfd elfxx-ia64: share code between elf32 and elf64 References: <1149AB82-D754-4792-98C1-C677ABE5E712@adacore.com> <9F58AE27-C095-4B50-B3D4-1DF60454A382@adacore.com> <6ACB9B6C-7640-473A-9047-7AFB4C789D49@adacore.com> <4DDBB7CD.40902@redhat.com> <9C0F5E39-7514-4996-AA9B-26478EEAAD79@adacore.com> In-Reply-To: <9C0F5E39-7514-4996-AA9B-26478EEAAD79@adacore.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00348.txt.bz2 Hi Tristan, > bfd/ > 2011-05-17 Tristan Gingold > > * configure.in (bfd_elf32_ia64_big_vec, bfd_elf32_ia64_hpux_big_vec) > (bfd_elf64_ia64_big_vec, bfd_elf64_ia64_hpux_big_vec) > (bfd_elf64_ia64_little_vec, bfd_elf64_ia64_vms_vec): Add elfxx-ia64.lo > * Makefile.am (BFD64_BACKENDS): Add elfxx-ia64.lo > (BFD64_BACKENDS_CFILES): Add elfxx-ia64.c > (elf32-ia64.c): Created from elfnn-ia64.c > (elf64-ia64.c): Likewise. > * elfxx-ia64.h: New file. > * elfxx-ia64.c: Split with elfnn-ia64.c. Keep only the following > functions.Includes elfxx-ia64.h. > (elfNN_ia64_reloc): Renames to ia64_elf_reloc. Adjust error message. > (IA64_HOWTO): Adjust. > (lookup_howto): Renames to ia64_elf_lookup_howto. Make it public. > (elfNN_ia64_reloc_type_lookup): Renames to > ia64_elf_reloc_type_lookup. Make it public. Adjust calls. > (elfNN_ia64_reloc_name_lookup): Renames to > ia64_elf_reloc_name_lookup. Make it public. > (elfNN_ia64_relax_br): Renames to ia64_elf_relax_br. Make it public. > (elfNN_ia64_relax_brl): Renames to ia64_elf_relax_brl. Make it > public. > (elfNN_ia64_relax_ldxmov): Renames to ia64_elf_relax_ldxmov. > Move it and make it public. Move prototype to elfxx-ia64.h > (elfNN_ia64_install_value): Renames to ia64_elf_install_value. > Move prototype to elfxx-ia64.h > * elfnn-ia64.c: New file, split from elfxx-ia64.c. > (elfNN_ia64_info_to_howto): Adjust calls. > (elfNN_ia64_relax_section): Adjust calls. > (count_dyn_reloc): Fix typo. > (elfNN_ia64_relocate_section): Adjust calls. > (elfNN_ia64_finish_dynamic_symbol): Likewise. > (bfd_elfNN_bfd_reloc_type_lookup) > (bfd_elfNN_bfd_reloc_name_lookup): Adjust macros. Approved - please apply. Cheers Nick