From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10035 invoked by alias); 7 May 2012 09:25:02 -0000 Received: (qmail 10009 invoked by uid 22791); 7 May 2012 09:25:01 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-pz0-f41.google.com (HELO mail-pz0-f41.google.com) (209.85.210.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 07 May 2012 09:24:47 +0000 Received: by dakp5 with SMTP id p5so6327281dak.0 for ; Mon, 07 May 2012 02:24:47 -0700 (PDT) Received: by 10.68.197.3 with SMTP id iq3mr4040985pbc.139.1336382687227; Mon, 07 May 2012 02:24:47 -0700 (PDT) Received: from bubble.grove.modra.org ([115.187.252.19]) by mx.google.com with ESMTPS id nk2sm4359126pbc.54.2012.05.07.02.24.44 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 May 2012 02:24:46 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 3A04FEA1D74; Mon, 7 May 2012 18:54:41 +0930 (CST) Date: Mon, 07 May 2012 09:25:00 -0000 From: Alan Modra To: Hans-Peter Nilsson Cc: macro@linux-mips.org, binutils@sourceware.org Subject: Re: [PATCH] MIPS/BFD: Handle linker garbage collection with n64 relocs Message-ID: <20120507092441.GH17181@bubble.grove.modra.org> Mail-Followup-To: Hans-Peter Nilsson , macro@linux-mips.org, binutils@sourceware.org References: <201205070545.q475jgC8021977@ignucius.se.axis.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201205070545.q475jgC8021977@ignucius.se.axis.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 2012-05/txt/msg00069.txt.bz2 This one was missed too. * elf64-ia64-vms.c (elf64_ia64_relocate_section): Update RELOC_AGAINST_DISCARDED_SECTION invocation. Index: bfd/elf64-ia64-vms.c =================================================================== RCS file: /cvs/src/src/bfd/elf64-ia64-vms.c,v retrieving revision 1.2 diff -u -p -r1.2 elf64-ia64-vms.c --- bfd/elf64-ia64-vms.c 24 Apr 2012 05:12:35 -0000 1.2 +++ bfd/elf64-ia64-vms.c 7 May 2012 09:23:27 -0000 @@ -3508,7 +3508,7 @@ elf64_ia64_relocate_section (bfd *output section contents zeroed. Avoid any special processing. */ if (sym_sec != NULL && discarded_section (sym_sec)) RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section, - rel, relend, howto, contents); + rel, 1, relend, howto, 0, contents); if (info->relocatable) continue; -- Alan Modra Australia Development Lab, IBM