From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 118839 invoked by alias); 27 Sep 2018 17:06:11 -0000 Mailing-List: contact gnu-gabi-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: gnu-gabi-owner@sourceware.org Received: (qmail 118816 invoked by uid 89); 27 Sep 2018 17:06:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: mail-qt1-f179.google.com Received: from mail-qt1-f179.google.com (HELO mail-qt1-f179.google.com) (209.85.160.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 27 Sep 2018 17:06:09 +0000 Received: by mail-qt1-f179.google.com with SMTP id e26-v6so3568414qtq.3 for ; Thu, 27 Sep 2018 10:06:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=BaNsdCdrRHP1S5nvjeo+kBUfvIoqI5m2uox8cqnkxX8=; b=tHU6wxbPSREpTBY0LVxonMp4EwR6Ko9v8ql2pl+jVwWtwi/S7lj5jO8PXZL3C7VtTI U085HxLtyv7oIZK9uaIa3WqHjT9fVTkpwHUkVI7fqvHySOmGQk+OALTj2wzjZrlBrb4M IYg003bZYWU1DQwutTXL7+w6hAZJVpkfkJB5iDDd4drc0eqCcF9Wn/tQGTQ+KITmHdag OjQBb73CelTGnzVL52YYQ7a4GVFuVyWLSDZrdgLBWbFgNUPifVkDZI7Lowquc22xb38G egQM7LzNKm4K8uMVbOGEnv0X0Ffk1mDZzriU1Rp7+At6Ii2xsNoFlQMiIPNbbWnKFOpj mMWQ== X-Gm-Message-State: ABuFfohPLDPT5+Fxf+G8u3lTTOPULHw4Kyo/dctFUqzO7HH/7imBxGmv n0pTa3Sm76l4l3zH0/hWYxBI3rE68Sn+yA== X-Google-Smtp-Source: ACcGV63aS4RkcdYnJY5SVJP1eVCei8pZ47j7qYssk93ts25eY7maSDqwXVE0BJQXtsyCpwGmBpbkVg== X-Received: by 2002:aed:39e8:: with SMTP id m95-v6mr9258072qte.30.1538067967000; Thu, 27 Sep 2018 10:06:07 -0700 (PDT) Received: from [10.150.73.190] (247.sub-174-196-128.myvzw.com. [174.196.128.247]) by smtp.gmail.com with ESMTPSA id s64-v6sm1357448qkc.70.2018.09.27.10.06.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 10:06:06 -0700 (PDT) Subject: Re: RFC: Add SHT_GNU_PHDRS To: "H.J. Lu" Cc: Florian Weimer , Szabolcs Nagy , Jan Beulich , Rich Felker , Binutils , gnu-gabi@sourceware.org References: <87tvmbv8hp.fsf@oldenburg.str.redhat.com> <5BAC7D6802000078001EC6D1@prv1-mh.provo.novell.com> <87pnwzuz8r.fsf@oldenburg.str.redhat.com> <20180927103539.GJ10209@port70.net> <87va6rqfg6.fsf@oldenburg.str.redhat.com> <87r2hfqes1.fsf@oldenburg.str.redhat.com> <73bd396c-43be-2922-fce4-17ee835d862e@redhat.com> <0d529e75-beb2-3ba6-f4cc-e99d50880220@redhat.com> From: Carlos O'Donell Openpgp: preference=signencrypt Organization: Red Hat Message-ID: <15841ff4-88dc-04b5-487c-478fcb2a66cf@redhat.com> Date: Mon, 01 Jan 2018 00:00:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2018-q3/txt/msg00023.txt.bz2 On 9/27/18 12:26 PM, H.J. Lu wrote: > [hjl@gnu-cfl-1 ld]$ ../binutils/objcopy ./foo bar > ../binutils/objcopy: bar: section .gnu.phdrs lma 0x400040 adjusted to 0x401040 What is it doing here? Why is it adjusting the lma? How odd. > [hjl@gnu-cfl-1 ld]$ > > I can fix objcopy. Other tools may also need adjustment. Yes, this just looks like bugs. * Unknown section types should not be adjusted or touched and minimally passed through during a copy. We should not adjust them to the next PROGBITS section. * Backports of the fix to active branches to enable distributions to easily pickup the fixes. ... and keep moving forward with a proper fix (and consensus around it). -- Cheers, Carlos.