Message ID | 20240927164917.141266-1-cupertino.miranda@oracle.com |
---|---|
Headers |
Return-Path: <gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 67E4C385C6C7 for <patchwork@sourceware.org>; Fri, 27 Sep 2024 16:50:21 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by sourceware.org (Postfix) with ESMTPS id 2118D3858D34 for <gcc-patches@gcc.gnu.org>; Fri, 27 Sep 2024 16:49:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2118D3858D34 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=oracle.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=oracle.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2118D3858D34 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=205.220.177.32 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1727455783; cv=pass; b=iFP4UQlpn5ln26VqqRjqDEJQhmgqPXhwrbYOHwXF0vxX8Mt0OzvfETHQZzblilYUqdEsAJT42RsML5ZrnoM6lzWVEgIXEv5EmhqloXgh28gtXPIVLkcPGUdiLBKXAAcOafzMaOVECz3hTVGR6rCW/wThP3vJk4Y85VVG6dmRxrk= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1727455783; c=relaxed/simple; bh=zBebdoeZABM+mEJg80LoKg3KiF4CGgNnWg2Ox0Ym/BI=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-Id: MIME-Version; b=LSB5hFJWCmpV3EyLC4+heDuSB5jCVx1b0hbyKG2W+8ceQtS27R3gYZzRRFnmbfVHN8x5L+sFEvVwvHtXZGnwvEV5pqDMDx0nrEQu0TwT9Jg0Lrr9uHDblsFDGmiCW8Ikuu/7E19CC8Ylwkk/cXx90PerCU7BRaokjB2FJjjS8/c= ARC-Authentication-Results: i=2; server2.sourceware.org Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 48RGBdBY027332 for <gcc-patches@gcc.gnu.org>; Fri, 27 Sep 2024 16:49:41 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h= from:to:cc:subject:date:message-id:content-transfer-encoding :content-type:mime-version; s=corp-2023-11-20; bh=mSDSyavFequjXc 2jyQ133eL6vMLqzclCJ3ZyRQIrThg=; b=hypzQ7+viNcWnRoVUwaks5+cF5JM1M kK6wV5BIgzmHzKX0KLfeiZT+m/XBHnszOS+HtGlaINWgX2ZcUJAkdLJ3Y8I64UsL SRNdMOime4yfi6yqfT7+hPtUdd6EkDNtWtjRd+CPHcvcdaosWLCdGazW1BH4hWPN mxSw7gbGFEZrSj5oPVddMwUqLdJv4RvQ+Z599D5nPMrJyQ3OyeEFFG5e7+Bg+iry brqbJO7lMsxwDz4CB6lRg4yzxcfV76sekLHTbKGA3YBlJXnyQO537XtXi10358TW gwa5nuxIHRVoVBA57xwYQ1LtIq7kM0pg9/jqYL7O+xKrRu+BjdWVwhhg== Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 41smjddh2k-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <gcc-patches@gcc.gnu.org>; Fri, 27 Sep 2024 16:49:41 +0000 (GMT) Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.18.1.2/8.18.1.2) with ESMTP id 48RG7LdQ030444 for <gcc-patches@gcc.gnu.org>; Fri, 27 Sep 2024 16:49:40 GMT Received: from nam12-bn8-obe.outbound.protection.outlook.com (mail-bn8nam12lp2174.outbound.protection.outlook.com [104.47.55.174]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 41smkdwcg8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <gcc-patches@gcc.gnu.org>; Fri, 27 Sep 2024 16:49:40 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=RVFmT+VETGnzFCS6Zoz1Sa66amZ9md63y0BtUmvRvKavzfWPfbA/733EYXa/CsLfCTXcaWhcQGZKOxPZn0rwoKlDcS9y/oAmgahQqEmwba0Z8tC5/4NjwsCTtoQmjvLBjWZx7b+1JXH/4lsWlVE7MPRNdNxfxdHI/7p9YuU0AnrNm/t4PvqmUOa2EyZ/JG10vVXC6kVhiICe9SlFzPirha7tH7WtVvC2ZcgABHVbMuC+uXDOxjDmdXH2KgzlnLG9UGJvo+fWd9KSWa8Lh7sp4S2hRDRLGZ5eP2vh8RxcAb1c4Qygx8ze0wKRILgtU87C0Tt2zYWb2/+m3ZhAHYvYlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mSDSyavFequjXc2jyQ133eL6vMLqzclCJ3ZyRQIrThg=; b=GQotuKdUEako8OzC7pitm5h0xETAy39cOoZIzzLK4uRDXq96nswXk5kpHoC9EgTwIyssCDoVYVdPLvJ8wHLPRw4dtD8YjqmDJPiyKa12AKAt67P3YIt6auEVb7igYp8CT+SMmEWwqWaMztxYdhxiq+ounUjxpV+beDz4qWjpfDUnt/02ij/YEARxQRoQ1Nm08zhdLyQB7Gp0waTNBrubG8mu93o6QgGfT6pHOdmE4HpFU8HiI94wyAx3rzlAVFwpzD+1fXQK4HXvrqDbA/veB7zgTrbzPNo8Eb9CeqCdmYP75PKgHd6+t3BrfdnhVKl7eKZ4EQOedEaMQwfew2G5FQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mSDSyavFequjXc2jyQ133eL6vMLqzclCJ3ZyRQIrThg=; b=EdHlHSTqHUaARYfqYoyCKInBEVyYgKqme7wXb+k2BO0I5JiQO+/HHWIJ/XIZu9R6SlJGZPtaKGKv+RTbGrJNDx7aCfgn3EVTrRwuF4klvbmxCX1gRGB6stN/xIpcTOuReh2Xt/U4Dz7YB1KuKX2MkEcsM8kXz0lewS9RPvYAwXQ= Received: from MN2PR10MB4382.namprd10.prod.outlook.com (2603:10b6:208:1d7::13) by SN4PR10MB5606.namprd10.prod.outlook.com (2603:10b6:806:209::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8026.8; Fri, 27 Sep 2024 16:49:38 +0000 Received: from MN2PR10MB4382.namprd10.prod.outlook.com ([fe80::5033:84a3:f348:fefb]) by MN2PR10MB4382.namprd10.prod.outlook.com ([fe80::5033:84a3:f348:fefb%2]) with mapi id 15.20.8026.005; Fri, 27 Sep 2024 16:49:38 +0000 From: Cupertino Miranda <cupertino.miranda@oracle.com> To: gcc-patches@gcc.gnu.org Cc: jose.marchesi@oracle.com, david.faust@oracle.com, elena.zannoni@oracle.com, Cupertino Miranda <cupertino.miranda@oracle.com> Subject: [PATCH 0/3] bpf: CO-RE fixes Date: Fri, 27 Sep 2024 17:49:14 +0100 Message-Id: <20240927164917.141266-1-cupertino.miranda@oracle.com> X-Mailer: git-send-email 2.30.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: LO4P123CA0628.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:294::6) To MN2PR10MB4382.namprd10.prod.outlook.com (2603:10b6:208:1d7::13) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MN2PR10MB4382:EE_|SN4PR10MB5606:EE_ X-MS-Office365-Filtering-Correlation-Id: 7a8f3eab-c342-4f3e-aa1b-08dcdf146000 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|376014|10070799003|366016; X-Microsoft-Antispam-Message-Info: hahn9fH/9xo3PZRJH8dhTaGWYrYmRB/MZvwHtLVaqYv40/lfWLLv3CN85Xj6VJr0jgl8ihs0kbKFfWA5yLk3X/vUpNJ9O9MY06lZh59eqYpvBGmFOXEPNFJPzgNXZL7z1+vz6TCaaIxWQR/Qw+HWScWYUOLRP8MLKULF1i8k/x0dk6Q25uAVvSRFjF5nWU9HCM8uPp+faM/iiL5Oz1g8CTlD28kO9vSJNf8hA7vLyjizCNmWwf5hwU8QaYqKyJXqwdJYOZxvwC1kj7hNPzOVkA1iPbhPwr/rORadllEUGU6zAdEEkV4ip974YwELOFZ28XqoaYOue4W5YiPpK3Gvx1YQQ2aQgX1IuwjBm82MqirB8zXSR6i7Z7SKkjJVMC3M8YkuQWayaIKCq04sUixpl+MFIJ3fWgOAupDWHOVn9Rpqsqjs+f+dlmyKcHpltYVJhXJIQxpejHJmJa4cNbNzZjiNlEfp1TXBWv35+19i0z5BkstCY8OpBbmykjtqc9J6FA2qoVdrbe+V1QRODMBokgroTiSoMn2p+BJj9aOepCtve5RuLihVOjU8LM/gfqfbD7nG5b3WN2CS9zeXS9Hd4ByEq4fOng6EYKxaZ9T8kV+ojjaJ75JJFNwYsCYn/W0St+ceYn0Rq2oNrP5pp5FPF0A8azEdhZjiVr9zjyyGrZJOdHXUk0VBZSCEn22R5RiLq2M5IZRQD1OJmmEoj+lHh4Pa9zOtSIr1TC79ujDUkZxzwHOCNUJ4V/UFTglDOKiRDkuKVLkW/uCN4Nt/nXZ9XwCgp6kDbacWvTdajBTBy8rFIe3j44odw8Xcl2PNbaz+P8rYmxQ6VAiTSbQ4smKSf2f+A6Ec9l1u8fGvVu2o8osV0HKEgvrAKKpjDH+nNJ6Lvb9WjDPyFKqOWSqpg9x3L9VGjB0mNv8/XwqOXgPd5gq84TcnnRikV+BXdSNVvzUJ3g9DzuDlRdaWcE6sZJ6dY03ENlUIt5IaYU7ID5BGkCM7eb5EBPLwB/jNwOWO0wYMLxye2pmG9vMXdcfEozHM4+8OyFsbP6XJRgPEmUN2EHwO8Aak163xM59Ag7UwxojWHF+Fecad/UGexzQth4VfMkhiu3E1yUmtEuzhB50Yfqpd4oqV/YDxfbYAUHkngvwNV/132oxCz4psj7VRiteuC21c1vDmFVGFHKbNOjhwrfSwSaRyKZll2B71WRri00Z4aDMyQmrc2MEdkkaF6q1Y4VFExIwpaM5UZBMqHr6KVOYGAkg3s6ZF4f3H3uyIuu6kTPxeKhPWEQHkeBzzkwu4yp20ywS8nizG5H4lRVcjXQOR2AJApw+aNAKUEA20CzwoMwNeS+xn5poKizFVTtt/oA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR10MB4382.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(10070799003)(366016); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: oldBMjTTAqo/o5072DoFyGNHPTfUZybInMG0bDkyMxx77MDh3XEc5WFvPorhEkK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XJvLFdCwSZl18vKycCUvhO0RUr39x4fgPrmlRbBNJZar1hYQK8foj1s6ke7uFKbIc98gD0Oz98a77aOD7uRJ4WdjBAPfktyac0N9i0lR36pfKQMVq1sIhGeTHh7Jy5jfe2SdKYl+2GTtUvePnQ= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7a8f3eab-c342-4f3e-aa1b-08dcdf146000 X-MS-Exchange-CrossTenant-AuthSource: MN2PR10MB4382.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2024 16:49:38.3885 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 6kOwfwOFbRON+6nSYZE3etD8uMrtMVTDVZsQo3D6HZUGcWtLsC2xap60//BuYok8J4w2ScakIfIMkEdzE5oEq40uXMwGdZkoa8dPthurGoY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN4PR10MB5606 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1051,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-27_06,2024-09-27_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 phishscore=0 spamscore=0 bulkscore=0 suspectscore=0 malwarescore=0 mlxscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2408220000 definitions=main-2409270121 X-Proofpoint-ORIG-GUID: cQ2AbiDKXz0iISyxNbWmd5pd0NFu2DYI X-Proofpoint-GUID: cQ2AbiDKXz0iISyxNbWmd5pd0NFu2DYI X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org |
Series | bpf: CO-RE fixes | |
Message
Cupertino Miranda
Sept. 27, 2024, 4:49 p.m. UTC
Hi everyone, This patches series includes fixes for bugs uncovered when executing bpf-next selftests. Looking forward to your comments. Regards, Cupertino Cupertino Miranda (3): bpf: make sure CO-RE relocs are never typed with a BTF_KIND_CONST bpf: calls do not promote attr access_index on lhs bpf: set index entry for a VAR_DECL in CO-RE relocs gcc/btfout.cc | 2 +- gcc/config/bpf/btfext-out.cc | 6 +++ gcc/config/bpf/core-builtins.cc | 6 ++- gcc/ctfc.h | 2 + .../gcc.target/bpf/core-attr-calls.c | 49 +++++++++++++++++++ .../gcc.target/bpf/core-attr-const.c | 32 ++++++++++++ gcc/testsuite/gcc.target/bpf/core-builtin-1.c | 16 +++--- gcc/testsuite/gcc.target/bpf/core-builtin-2.c | 3 +- .../gcc.target/bpf/core-builtin-exprlist-1.c | 16 +++--- 9 files changed, 113 insertions(+), 19 deletions(-) create mode 100644 gcc/testsuite/gcc.target/bpf/core-attr-calls.c create mode 100644 gcc/testsuite/gcc.target/bpf/core-attr-const.c