From patchwork Mon Nov 2 02:34:32 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 56921 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nA22YfN4005947 for ; Mon, 2 Nov 2009 02:34:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751774AbZKBCed (ORCPT ); Sun, 1 Nov 2009 21:34:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752420AbZKBCed (ORCPT ); Sun, 1 Nov 2009 21:34:33 -0500 Received: from hiauly1.hia.nrc.ca ([132.246.100.193]:4505 "EHLO hiauly1.hia.nrc.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751774AbZKBCed (ORCPT ); Sun, 1 Nov 2009 21:34:33 -0500 Received: by hiauly1.hia.nrc.ca (Postfix, from userid 1000) id D537C4EF8; Sun, 1 Nov 2009 21:34:33 -0500 (EST) Date: Sun, 1 Nov 2009 21:34:32 -0500 From: John David Anglin To: Helge Deller Cc: dave.anglin@nrc-cnrc.gc.ca, linux-parisc@vger.kernel.org, carlos@systemhalted.org, randolph@tausq.org Subject: Re: Out of order unwind entry warning Message-ID: <20091102023432.GA12425@hiauly1.hia.nrc.ca> Reply-To: John David Anglin References: <20091029233501.152D1500F@hiauly1.hia.nrc.ca> <4AEB6CEB.6010205@gmx.de> <20091101231654.GA11493@hiauly1.hia.nrc.ca> <20091102014025.GA12169@hiauly1.hia.nrc.ca> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20091102014025.GA12169@hiauly1.hia.nrc.ca> Organization: nrc.ca User-Agent: Mutt/1.5.16 (2007-06-09) Sender: linux-parisc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-parisc@vger.kernel.org Index: elf32-hppa.c =================================================================== RCS file: /cvs/src/src/bfd/elf32-hppa.c,v retrieving revision 1.168 diff -u -3 -p -r1.168 elf32-hppa.c --- elf32-hppa.c 18 Jun 2009 14:18:28 -0000 1.168 +++ elf32-hppa.c 2 Nov 2009 02:32:05 -0000 @@ -3238,6 +3238,9 @@ elf32_hppa_final_link (bfd *abfd, struct /* If we're producing a final executable, sort the contents of the unwind section. */ + if (info->relocatable) + return TRUE; + return elf_hppa_sort_unwind (abfd); } Index: elf64-hppa.c =================================================================== RCS file: /cvs/src/src/bfd/elf64-hppa.c,v retrieving revision 1.92 diff -u -3 -p -r1.92 elf64-hppa.c --- elf64-hppa.c 21 May 2009 14:15:49 -0000 1.92 +++ elf64-hppa.c 2 Nov 2009 02:32:05 -0000 @@ -3033,7 +3033,7 @@ elf_hppa_final_link (bfd *abfd, struct b /* If we're producing a final executable, sort the contents of the unwind section. */ - if (retval) + if (retval && !info->relocatable) retval = elf_hppa_sort_unwind (abfd); return retval;