From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id 405DF3983020; Thu, 17 Jun 2021 19:00:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 405DF3983020 Received: by mail-pf1-x42a.google.com with SMTP id z26so5762511pfj.5; Thu, 17 Jun 2021 12:00:00 -0700 (PDT) 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; bh=DdcQwHrtnHiNySs2Qz1u9O1+pK51nyJkDMyMDrylNzw=; b=pR/VatCa8pYCMF0tyKCQ7B0roFZ3ewtGXLCQMgRYjRdmAbO3CHrzpTduIapM1n0694 +QgKbnrxthCzG3eZXWuRuarp1FXa1wWfz7uY/mUkJeb7VKshUWiT5jrfXf7U5sGk43uT ekZxplqIGcN2qZxfCE+N7AxbfGq2ObXPA/r9baefqhjF1gsPyKgN50+rKRGpV0rZUlk5 4CzbdkrdIP/0543XDowy/F08UyPZISaKhTwNjH3uFfeBcaB/u0iTBleNRHNqq/Zf7d6e mv53X6HGueY06I+iljFGh37LuYyFRWam8zPZzXSO5ZJUhI9Q7Rl+zSXfu5Sy0C9Vl7go F2uQ== X-Gm-Message-State: AOAM5302w8KXjerkoPDGEppHNRyChhUQ5N+NjqlTIMZD4QLgj1hjpl6T fk/cZ6TItDHuP7cR3UUqFIPU2X0JMcXVGPwnM+2UUtjn X-Google-Smtp-Source: ABdhPJw3SVxsPCPSfD0n5KaCZjNEzMDGYMzsGA1bUYAnXznAF1Eiw0XzZEzhMjLSr4dSdV/rfD1FZmgwdKKJ6KmaR/A= X-Received: by 2002:a63:180c:: with SMTP id y12mr6462394pgl.180.1623956398818; Thu, 17 Jun 2021 11:59:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "H.J. Lu" Date: Thu, 17 Jun 2021 11:59:22 -0700 Message-ID: Subject: Re: RFC: Add GNU_PROPERTY_UINT32_AND_XXX/GNU_PROPERTY_UINT32_OR_XXX To: GNU gABI gnu-gabi , GCC Development , Binutils , GNU C Library , llvm-dev@lists.llvm.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3026.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gnu-gabi@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gnu-gabi mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jun 2021 19:00:01 -0000 On Thu, Jan 21, 2021 at 7:02 AM H.J. Lu wrote: > > On Wed, Jan 13, 2021 at 9:06 AM H.J. Lu wrote: > > > > 1. GNU_PROPERTY_UINT32_AND_LO..GNU_PROPERTY_UINT32_AND_HI > > > > #define GNU_PROPERTY_UINT32_AND_LO 0xb0000000 > > #define GNU_PROPERTY_UINT32_AND_HI 0xb0007fff > > > > A bit in the output pr_data field is set only if it is set in all > > relocatable input pr_data fields. If all bits in the the output > > pr_data field are zero, this property should be removed from output. > > > > If the bit is 1, all input relocatables have the feature. If the > > bit is 0 or the property is missing, the info is unknown. > > > > 2. GNU_PROPERTY_UINT32_OR_LO..GNU_PROPERTY_UINT32_OR_HI > > > > #define GNU_PROPERTY_UINT32_OR_LO 0xb0008000 > > #define GNU_PROPERTY_UINT32_OR_HI 0xb000ffff > > > > A bit in the output pr_data field is set if it is set in any > > relocatable input pr_data fields. If all bits in the the output > > pr_data field are zero, this property should be removed from output. > > > > If the bit is 1, some input relocatables have the feature. If the > > bit is 0 or the property is missing, the info is unknown. > > > > The PDF is at > > > > https://gitlab.com/x86-psABIs/Linux-ABI/-/wikis/uploads/0690db0a3b7e5d8a44e0271a4be54aa7/linux-gABI-and-or-2021-01-13.pdf > > > > -- > > H.J. > > Here is the binutils patch to implement it. > If there are no objections, I will check it in tomorrow. -- H.J.