From patchwork Tue Mar 12 11:09:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1055332 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-100581-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="ct6IG9LM"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44JXL26wZdz9s5c for ; Tue, 12 Mar 2019 22:09:30 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:to:subject:mime-version:content-type :content-transfer-encoding:message-id:from; q=dns; s=default; b= PbySH/BEMkkkFWNza5RcFKTTpowVk4ZtxPc/I3g2fam1wgg/yZ5JpDnivHS2w5EL i9mCjlpB/s1JpabJbNo4VMRdUPl0+eNsivJh4yaad1sZGgzaJvqExKvxmhvOKTrp Bpwdc/Z3B+rifJ7//Me6ghDY3agrMZ/pCa/cBtcsQhg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:to:subject:mime-version:content-type :content-transfer-encoding:message-id:from; s=default; bh=uYS1Lv xMr7XfwbBSHwxVa2Rkvlk=; b=ct6IG9LM7VRUxWccKe7ueImj9oCE6lxOhnKJDG ye/gH+qbMG15/dnSixHG7YTWViorZjiEjESITeeY0YZRMHAPlZeoXWXNLEP4tLWl DA60+0jQ1WtgD/ypzUUfEY0tHmQ2H0P8b/6aY9G1zkK62TYAcDL2sRL4eh1cvubh Bw268= Received: (qmail 1861 invoked by alias); 12 Mar 2019 11:09:25 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 1848 invoked by uid 89); 12 Mar 2019 11:09:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=9876 X-HELO: mx1.redhat.com Date: Tue, 12 Mar 2019 12:09:19 +0100 To: libc-alpha@sourceware.org Subject: [PATCH] elf: Add DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON to User-Agent: Heirloom mailx 12.5 7/5/10 MIME-Version: 1.0 Message-Id: <20190312110919.B87BC81E1D18@oldenburg2.str.redhat.com> From: Florian Weimer These constants (originally from Solaris) were part of the binutils 2.31 release. 2019-03-12 Florian Weimer * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define. diff --git a/elf/elf.h b/elf/elf.h index 01648bdb4c..28296c7efd 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -987,6 +987,9 @@ typedef struct #define DF_1_SINGLETON 0x02000000 /* Singleton symbols are used. */ #define DF_1_STUB 0x04000000 #define DF_1_PIE 0x08000000 +#define DF_1_KMOD 0x10000000 +#define DF_1_WEAKFILTER 0x20000000 +#define DF_1_NOCOMMON 0x40000000 /* Flags for the feature selection in DT_FEATURE_1. */ #define DTF_1_PARINIT 0x00000001