From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 50294 invoked by alias); 11 Dec 2018 03:17:20 -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 50259 invoked by uid 89); 11 Dec 2018 03:17:19 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.100.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Which, Hx-languages-length:1599 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-Spam-User: qpsmtpd, 3 recipients X-HELO: mail-ot1-f68.google.com Received: from mail-ot1-f68.google.com (HELO mail-ot1-f68.google.com) (209.85.210.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 11 Dec 2018 03:17:18 +0000 Received: by mail-ot1-f68.google.com with SMTP id i20so12698058otl.0; Mon, 10 Dec 2018 19:17:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9AUE8zARYprpnqCLK6DMI5ddMGjy2AfABniUdPxda+c=; b=SRZ9W+pvFhe30z3fiSHlCCAyGo5WIWZDH2Bwja4wLGc2Cr4FvCOshVf9ARUyyL4Kr/ /DjO2gghS9BceZnLb8fY1dwumBgryxwpBBhGlpyDbMNJKMa0mHlwezahitE2NXO7ARoD BuDVwbLsZgh/F4SQkoE7UvvtjBiIgfOALCyHFmaFZ1/dQG9xDu+VAAlLmGu1i1NN+xWw wtrAexBtNWnZYGDHB2zgmCyVslq1wCw0eQkgvtF1EoGVZRYlZkiB9g7eZOqheW/JRY9A hN4NTA4+ZSI7T/s8dVwHCGYxf2hbCJUpKovltC0KKw3h4JTGMrEmHc0IZbJztNxx9bNx cj+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9AUE8zARYprpnqCLK6DMI5ddMGjy2AfABniUdPxda+c=; b=fjD0SUL4Pfy8jwoo6JpplYapewtEamdkWf5kEj8j51OMtd4/KlOFaJ63N4wqEAs2is Eh2nn+KEo/mGKgcwlqmDjRTLApKvBV4MegT6OLnfiLkQFF3Arg+IkNA52JuaBOe2fbbG hMwK1u8Ka2Z4w5WQIxPjJbIpG50kfyxGN+cq5WZFQPZ96Ot8XoQE8ovxMPgGfWHO2nZN rl1co3TW/IGMunsunXweclpLLAvv6i9q/20wYgRrK3RtALZIp1YxnCu2ro6RtTalfDcu 7s5BniWvXpkRpqKH7ehjb1lErUpFlZXXFg/MzZ8iZ/Bzzyn3uQEppmss4w7lhUmoTgjz d35Q== X-Gm-Message-State: AA+aEWZmW3i8NXxf3rawDfmmfUO5jm+CI579mZmF9rYyFO0TNmo447Yc 4aAlrc3ux6+YMclziM2bG2rX+7MSLdvIhlDzPwpHJg== X-Google-Smtp-Source: AFSGD/UN7a8VWv1PvElPLU06LAnSyy+msc9SEhkB96CabUpMXlaXNpVTFkiuRp0RHFNmPLnJoYSBUCiXNT1MFAg1J8g= X-Received: by 2002:a9d:4b17:: with SMTP id q23mr10552446otf.121.1544498236425; Mon, 10 Dec 2018 19:17:16 -0800 (PST) MIME-Version: 1.0 References: <87ftvoouda.fsf@oldenburg.str.redhat.com> <87k1kyhbki.fsf@oldenburg.str.redhat.com> In-Reply-To: From: "H.J. Lu" Date: Mon, 01 Jan 2018 00:00:00 -0000 Message-ID: Subject: Re: RFC: Add PT_GNU_PROPERTY to cover .note.gnu.property section To: Cary Coutant Cc: Florian Weimer , Binutils , GNU C Library , gnu-gabi@sourceware.org, x86-64-abi Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-q4/txt/msg00029.txt.bz2 On Tue, Dec 4, 2018 at 5:57 AM H.J. Lu wrote: > > On Wed, Nov 28, 2018 at 9:27 AM H.J. Lu wrote: > > > > On Tue, Nov 27, 2018 at 3:59 PM H.J. Lu wrote: > > > > > > On Tue, Nov 27, 2018 at 11:25 AM H.J. Lu wrote: > > > > > > > > On Tue, Nov 27, 2018 at 9:56 AM Cary Coutant wrote: > > > > > > > > > > > > > PT_GNU_PROPERTY isn't compatible with existing loaders. This needs > > > > > > > > to be both forward and backward compatible. > > > > > > > > > > > > > > Which loaders? The kernel? > > > > > > > > > > > > Kernel, glibc, gdb, ..... > > > > > > > > > > How is that any different from using PT_NOTE? Existing loaders don't > > > > > handle that either. > > > > > > > > > > If you're claiming that a new PT_ value in the program header table > > > > > will be rejected by existing loaders, that's a bug. It should be > > > > > fixed. The whole principle of ELF extensibility relies on that. > > > > > > > > Add PT_GNU_PROPERTY to cover .note.gnu.property section? > > > > > > Like: > > > > > > 1. Add PT_GNU_PROPERTY segment type. > > > > > > # define PT_GNU_PROPERTY (PT_LOOS + 0x474e553) > > > > > > which covers .note.gnu.property section. > > > 2. Remove GNU_PROPERTY_X86_UINT32_VALID. > > > > > > > Here is a patch. The updated pdf is at > > > > https://github.com/hjl-tools/linux-abi/wiki/linux-abi-draft.pdf > > Here is the patch to support PT_GNU_PROPERTY. Any comments? > I am checking it in tomorrow. -- H.J.