From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8780 invoked by alias); 5 Jan 2010 16:04:52 -0000 Received: (qmail 8253 invoked by uid 22791); 5 Jan 2010 16:04:49 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS 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; Tue, 05 Jan 2010 16:04:45 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o05G3svr025102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 5 Jan 2010 11:03:54 -0500 Received: from host0.dyn.jankratochvil.net (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o05G3npT015084 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 5 Jan 2010 11:03:51 -0500 Received: from host0.dyn.jankratochvil.net (localhost [127.0.0.1]) by host0.dyn.jankratochvil.net (8.14.3/8.14.3) with ESMTP id o05G3nRX001529; Tue, 5 Jan 2010 17:03:49 +0100 Received: (from jkratoch@localhost) by host0.dyn.jankratochvil.net (8.14.3/8.14.3/Submit) id o05G3n4k001528; Tue, 5 Jan 2010 17:03:49 +0100 Date: Tue, 05 Jan 2010 16:04:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Cc: Tristan Gingold Subject: [commit] syms_from_objfile: Relativize also MAINLINE Message-ID: <20100105160349.GA1277@host0.dyn.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-08-17) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-01/txt/msg00080.txt.bz2 Hi, checked-in a part of already approved patch: [patch 08/15] PIE: Base functionality http://sourceware.org/ml/gdb-patches/2009-11/msg00175.html as it is required to have no regression of: Re: Regression on prelinked-sepdebug-shlibs http://sourceware.org/ml/gdb-patches/2010-01/msg00076.html patch fixing a regression of: Re: [RFA] Make sym_read routines handle separate debug files http://sourceware.org/ml/gdb-patches/2009-12/msg00117.html http://sourceware.org/ml/gdb-cvs/2009-12/msg00042.html ffb64a120e667bad7b2a79c5e617bdea7328f996 No regressions on {x86_64,x86_64-m32,i686}-fedora12-linux-gnu. I do not fully understand the reasons but the !MAINLINE conditional was there since initial import(s) of 1999. Thanks, Jan http://sourceware.org/ml/gdb-cvs/2010-01/msg00039.html --- src/gdb/ChangeLog 2010/01/04 15:06:09 1.11198 +++ src/gdb/ChangeLog 2010/01/05 15:51:01 1.11199 @@ -1,3 +1,7 @@ +2010-01-05 Jan Kratochvil + + * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional. + 2010-01-04 Ulrich Weigand * features/Makefile (WHICH): Add s390-linux32, s390-linux64, --- src/gdb/symfile.c 2010/01/01 07:31:42 1.262 +++ src/gdb/symfile.c 2010/01/05 15:51:02 1.263 @@ -799,7 +799,7 @@ We no longer warn if the lowest section is not a text segment (as happens for the PA64 port. */ - if (!mainline && addrs && addrs->other[0].name) + if (addrs && addrs->other[0].name) { asection *lower_sect; asection *sect;