From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31983 invoked by alias); 25 May 2011 12:03:15 -0000 Received: (qmail 31958 invoked by uid 22791); 25 May 2011 12:03:13 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,TW_FN,TW_FX X-Spam-Check-By: sourceware.org Received: from mel.act-europe.fr (HELO mel.act-europe.fr) (194.98.77.210) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 25 May 2011 12:02:53 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-smtp.eu.adacore.com (Postfix) with ESMTP id 909A8CB0291; Wed, 25 May 2011 14:02:52 +0200 (CEST) Received: from mel.act-europe.fr ([127.0.0.1]) by localhost (smtp.eu.adacore.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W+0dRrsykmir; Wed, 25 May 2011 14:02:49 +0200 (CEST) Received: from ulanbator.act-europe.fr (ulanbator.act-europe.fr [10.10.1.67]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mel.act-europe.fr (Postfix) with ESMTP id 8AF3CCB01FC; Wed, 25 May 2011 14:02:49 +0200 (CEST) Subject: Re: Ping [Patch v2] bfd elfxx-ia64: share code between elf32 and elf64 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Tristan Gingold In-Reply-To: <4DDCADE9.4020405@redhat.com> Date: Wed, 25 May 2011 12:03:00 -0000 Cc: binutils Development Content-Transfer-Encoding: 7bit Message-Id: <049A78A6-0E98-4631-BB9B-27A6B9527D37@adacore.com> 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> <4DDCADE9.4020405@redhat.com> To: Nick Clifton 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/msg00349.txt.bz2 On May 25, 2011, at 9:21 AM, Nick Clifton wrote: > 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. Thanks, committed. Tristan.