From patchwork Fri May 15 14:40:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Szabolcs Nagy X-Patchwork-Id: 1291240 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=libc-alpha-bounces@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-armh-onmicrosoft-com header.b=BdoJ5mLL; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.a=rsa-sha256 header.s=selector2-armh-onmicrosoft-com header.b=BdoJ5mLL; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 49NrjL0JF0z9sWd for ; Sat, 16 May 2020 00:42:30 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8973B3985C08; Fri, 15 May 2020 14:41:28 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2050.outbound.protection.outlook.com [40.107.20.50]) by sourceware.org (Postfix) with ESMTPS id C23133985817 for ; Fri, 15 May 2020 14:41:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C23133985817 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Szabolcs.Nagy@arm.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sWJ5vL2xW0xPYJtIyC0QbZYF+Ts1pzZ8oqZDM9eqNZ8=; b=BdoJ5mLLEb5jJApLJ/Laqv/NLdq2L/b+T3J/MYzAhA810j64Ltis41pOJX4qxyLqTJUp3uFEN1uUGu+q2uHgCZa00lULRp+CkwzQpa455sBQmSNr+KZymo0jYUWJjKObe3qBr6v3uSu8U8RY1E51jww+Q25/rBBXCAK4rxaKC3Q= Received: from AM6P193CA0072.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:8e::49) by VI1PR08MB4301.eurprd08.prod.outlook.com (2603:10a6:803:f7::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.34; Fri, 15 May 2020 14:41:11 +0000 Received: from AM5EUR03FT015.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:8e:cafe::db) by AM6P193CA0072.outlook.office365.com (2603:10a6:209:8e::49) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.20 via Frontend Transport; Fri, 15 May 2020 14:41:11 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; sourceware.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; sourceware.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT015.mail.protection.outlook.com (10.152.16.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.19 via Frontend Transport; Fri, 15 May 2020 14:41:11 +0000 Received: ("Tessian outbound 4cdf5642225a:v54"); Fri, 15 May 2020 14:41:11 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 702fcc67155b7dc9 X-CR-MTA-TID: 64aa7808 Received: from d8c8fe1eabb3.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C3AC0069-FE5B-4799-BCA1-8F79CF1FDD2D.1; Fri, 15 May 2020 14:41:04 +0000 Received: from EUR03-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id d8c8fe1eabb3.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 15 May 2020 14:41:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g3iiIGKANX03TQwueoJctdOGwFR3S2oIGqJs3iOJ9++jNwfn1OWBJg8+NEELgKIYHhu8vqcVsVSjVpotsyeHmg6Bwrtq6oFiA5hzLVZKUNxo+wAyY/O6eNtdarub6JWaJpBuCIKBFxB3mfIrVaIbNFgHKLLR/uiMbqVLOthJgMkA49Y1pyUyiDrck2WpR265CRSIFHVGDwl0HymyNVtcgnqgUobrI5DjZSUKduMgE3Px2eCx8IkZ89ivVNvzR8fzDsvXC2Z122Sjp+hw7qVRIVJgTSx6ZkoCKh2bNIyWiJR4D+hFzvIpY8HcT4Tsw4RhxulAwE29VT8xTFodSVnrUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sWJ5vL2xW0xPYJtIyC0QbZYF+Ts1pzZ8oqZDM9eqNZ8=; b=WTBjulhKarq8HEShf4BN+Epyeu5NFRykKW2blk9nSkrZPQJWX5AYekz6lvl2IFklwGNcMjFgfGu6qubr3B3hrYUXXzN8qwCvVqStChV/8bh/kUctKnzdAuO945HngYzvTDAdzvXDJkXPNXix96/Fz3wBfiv3LKFxmMV/maXcVGZBjo18iaAqRVGPUurWcTuQYe71ecFb3gNNtRNkA64tlOyb9tywhYwvD6dfqVyTLhLvSNK3YhWNiOBgXmy1vAzNTUevsOeRJhbpLtbj77G6xemtKS1pGWVdsvdeb8wfIa7eeTE9T3mQT2sjBqBc6q8YBW+taJf9I/de/OseuNu69g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sWJ5vL2xW0xPYJtIyC0QbZYF+Ts1pzZ8oqZDM9eqNZ8=; b=BdoJ5mLLEb5jJApLJ/Laqv/NLdq2L/b+T3J/MYzAhA810j64Ltis41pOJX4qxyLqTJUp3uFEN1uUGu+q2uHgCZa00lULRp+CkwzQpa455sBQmSNr+KZymo0jYUWJjKObe3qBr6v3uSu8U8RY1E51jww+Q25/rBBXCAK4rxaKC3Q= Authentication-Results-Original: sourceware.org; dkim=none (message not signed) header.d=none;sourceware.org; dmarc=none action=none header.from=arm.com; Received: from AM6PR08MB3047.eurprd08.prod.outlook.com (2603:10a6:209:4c::23) by AM6PR08MB3528.eurprd08.prod.outlook.com (2603:10a6:20b:4b::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.34; Fri, 15 May 2020 14:41:03 +0000 Received: from AM6PR08MB3047.eurprd08.prod.outlook.com ([fe80::49fd:6ded:4da7:8862]) by AM6PR08MB3047.eurprd08.prod.outlook.com ([fe80::49fd:6ded:4da7:8862%7]) with mapi id 15.20.2979.033; Fri, 15 May 2020 14:41:03 +0000 From: Szabolcs Nagy To: libc-alpha@sourceware.org Subject: [PATCH v3 01/13] elf.h: Add PT_GNU_PROPERTY Date: Fri, 15 May 2020 15:40:45 +0100 Message-Id: X-Mailer: git-send-email 2.17.1 In-Reply-To: References: X-ClientProxiedBy: LO2P265CA0309.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a5::33) To AM6PR08MB3047.eurprd08.prod.outlook.com (2603:10a6:209:4c::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (217.140.106.55) by LO2P265CA0309.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a5::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.24 via Frontend Transport; Fri, 15 May 2020 14:41:03 +0000 X-Mailer: git-send-email 2.17.1 X-Originating-IP: [217.140.106.55] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 71509865-c7bb-4304-4efd-08d7f8de02ec X-MS-TrafficTypeDiagnostic: AM6PR08MB3528:|VI1PR08MB4301: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:1388;OLM:1388; X-Forefront-PRVS: 04041A2886 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 0+fcdKtQSZnmYZKeKmHrqHbq99DuNO/Cs/2+pObm0YrCRFKyr3JS7kBkAcyTyc0WTvr87e1NXS9gtnHNU2/BUZey4SVtY//n5WrcJlsvSQC00bYeyW9TJ4dslF6NmmcQIUpcLZQdDzySNxWdJcyWsY/OLyG4Zn9J4Dra3LVGMCZ5sGrhF/5bpUSdZijeVhaQMLcFLvNqW9fLm6GlCmS6RxvlK1/xVqiTUUx/TPhj3thilZqaXWuuy0ghoXrNVt0adC8bwa4cFojxiimDyvg7rwK+7/B8Xw4NdjFEKQDKgB+SUBbcq7K3+gSE8QQNCYSNi9iwuP4NA5Pxu01N0NQrda6UQad+z4DD/cZwMzqF2LcNsKmXykK3VvVYZE4kKzd1tQlfu727bNlzzr384evrCO4M9y0Xcw28wECoaWZ+df9o6XeteAazHZLKwYSxKphU9fWl5mKkKMEWU9fQUbgj/KcT95SMr4vMRPWMGzGBE09xjnlwR/M4tVHHMpzscqM92H6FHt9gs/gP0B8Ai9dUEME/AbJGe2OUpCH4zZiiUdY= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR08MB3047.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(136003)(376002)(39860400002)(346002)(366004)(396003)(86362001)(6506007)(69590400007)(52116002)(478600001)(316002)(6666004)(6916009)(6486002)(66556008)(44832011)(6512007)(5660300002)(2906002)(956004)(66476007)(8936002)(66946007)(36756003)(4744005)(186003)(26005)(2616005)(8676002)(16526019)(136400200001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: S1O8bwET8aD8IRBNOZni6uAB89AIoxyuvtObj1KJebid4D+SAv/tg+nAb8SZnD97AMLrjwgRSfyKrJk5IqfoWg5MYvahL7m/DYE0faggv9a0vc9OffSo71DTqAvAFPIOlFZpa/JIKHMXeEjNE9OIZRvWuap9xiAsBbJ3gUQJN6Lm4PwE7Zg7JClcJCX9VLQdUg6fUn8UHl22PcbQH69O3+GVmxLkqWMom2qtLkNE75VokEBz2ikX5QkXpAdSfTq/LacKcsY2DSnfX9WlAPnOxS/W5KsFl9llKZTNGDkoxXKfQkdE+TQoSdE01PoVOB7GxY/dw3frJBlwDe62Zy40skHm7OJq8ZswP4UkekyAAm+f71GKn7EbMNXLoJDaDSSxIxnTXV5gT0zZpdSD34B7BwHuQ+C9TCxPM5xVuh3r4BN/5YpL5Mq2O+5qZCmLKaQf+ythYwDqQmlQUctERbg5+vyEAW9E6uIf4oxpAvvMmaiDKsR3EHTlGsbIMTC3BCuC X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3528 Original-Authentication-Results: sourceware.org; dkim=none (message not signed) header.d=none; sourceware.org; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT015.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFTY:; SFS:(4636009)(396003)(376002)(39860400002)(136003)(346002)(46966005)(6916009)(16526019)(316002)(70206006)(70586007)(6486002)(5660300002)(44832011)(4744005)(8676002)(36756003)(86362001)(336012)(8936002)(6512007)(478600001)(81166007)(69590400007)(47076004)(956004)(36906005)(26005)(6666004)(2906002)(186003)(356005)(6506007)(2616005)(82740400003)(82310400002)(136400200001); DIR:OUT; SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: a3cd887a-5054-4300-4a1f-08d7f8ddfe44 X-Forefront-PRVS: 04041A2886 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xEx0+my4+ftsc5hnKvQv2WTbCritwB/cgAZ6ZD9eILicSq1eM9ffi3WVaqu+p6xVQl3KfpPigzkZl5rTsiKn1enc5Eun2lLJaUu0gYbqFpclINdjMRA9kzPnZsNii1cs5BOZTm9yVDX/t1CQkpmkIdAFTWupF+nF8cUV1hgqgqMMC1BV0TlG2afbr46XzptVuGRzHfq7u0peo3d3E0J8qP1uWUQWxBqyuhzWoLQd9FPo58URPFEkRKdNC8wqOtMnN1VrrodQUla0ZcVOCfKh9I2okK2fmUGlzeprJNAwitXgc+4o1JryQd9LHxu/GRsnYX7D+r8FBOhphTyTXrwv8vUqdcHO/Uwhwpl0ARdkvjFOZ+TdCJQbpkVMyfjpCdizajHqfPJsdj1R5uAQFWeKtYW1+j/JDUTX0unegfuIjG+OZfMC33pq1hRuqM+nOmVrr8taBjbYQ+1/nZNWaP/8o0dSyqKdHL/sHYKRXA1ffFznovxzlO89w3rMpDShsZv5huPP65a4jSsB17zJ/vKmHWdAE5tj5TlJ2dDcKXz8NQg6mvd+Yc36ThxEx+vM/hcB562mktfL3kZtDIkklunbDg== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 May 2020 14:41:11.0820 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 71509865-c7bb-4304-4efd-08d7f8de02ec X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB4301 X-Spam-Status: No, score=-19.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, GIT_PATCH_0, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY 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: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" This program header type is already used in binaries on x86 and aarch64 targets. Reviewed-by: Adhemerval Zanella --- elf/elf.h | 1 + 1 file changed, 1 insertion(+) diff --git a/elf/elf.h b/elf/elf.h index 51e9968405..5b5ce37d9e 100644 --- a/elf/elf.h +++ b/elf/elf.h @@ -721,6 +721,7 @@ typedef struct #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */ #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */ #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */ +#define PT_GNU_PROPERTY 0x6474e553 /* GNU property */ #define PT_LOSUNW 0x6ffffffa #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */ #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */