Message ID | 20221207195222.1182788-1-indu.bhagat@oracle.com |
---|---|
Headers |
Return-Path: <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp376017wrr; Wed, 7 Dec 2022 11:52:47 -0800 (PST) X-Google-Smtp-Source: AA0mqf65W41roGq25L8FHxQTDrGktl8HZyo4i9TXuw3uzA8e0Xat9rQPmNiEg5MK+8jgfF334MqJ X-Received: by 2002:a17:906:7b96:b0:7c1:bb5:f29c with SMTP id s22-20020a1709067b9600b007c10bb5f29cmr6580241ejo.58.1670442767239; Wed, 07 Dec 2022 11:52:47 -0800 (PST) Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id xc13-20020a170907074d00b007ae6e307f60si4393268ejb.323.2022.12.07.11.52.47 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 11:52:47 -0800 (PST) Received-SPF: pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=fI7zP0vY; arc=fail (signature failed); spf=pass (google.com: domain of binutils-bounces+ouuuleilei=gmail.com@sourceware.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="binutils-bounces+ouuuleilei=gmail.com@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 15DDE3896C06 for <ouuuleilei@gmail.com>; Wed, 7 Dec 2022 19:52:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 15DDE3896C06 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1670442765; bh=Huc9YaY9gNhDvS7yy0M/XNH4AgcvnvvdzvrPAYrQkf0=; h=To:Cc:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From:Reply-To:From; b=fI7zP0vY3tJj4RK6dCJ2iKU8n6HHUS004OEZpXmlIdOtlFZQlQDJxFIMmWlVt2kUX mX42J9mkX8siCjx4AlwUcn4lOQRbzUesGEct54tMgXVUvsFxltCinWUQGCgs2o2q6I Qbx/SNoKsYcaHfgDp102tUXPk39Y9qiJFMBbbjI0= X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.32]) by sourceware.org (Postfix) with ESMTPS id D8FC63834C08 for <binutils@sourceware.org>; Wed, 7 Dec 2022 19:52:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D8FC63834C08 Received: from pps.filterd (m0246627.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B7J2NKY016142 for <binutils@sourceware.org>; Wed, 7 Dec 2022 19:52:32 GMT Received: from iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta02.appoci.oracle.com [147.154.18.20]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3maud719pa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Wed, 07 Dec 2022 19:52:32 +0000 Received: from pps.filterd (iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 2B7J9JBJ017228 for <binutils@sourceware.org>; Wed, 7 Dec 2022 19:52:31 GMT Received: from nam10-dm6-obe.outbound.protection.outlook.com (mail-dm6nam10lp2105.outbound.protection.outlook.com [104.47.58.105]) by iadpaimrmta02.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3maa5ycn9v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for <binutils@sourceware.org>; Wed, 07 Dec 2022 19:52:31 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XklG0iXyVE7SEJ3WziFTC6aZirIVHEQxwzFjelty+6J9Go1ZFErqbrQzhkj4XxE0iL7mKz8rdG2GKcilK4oLkbSZo0wPY/ms15xje5zeIZAGcwZ0ipMmeoURjGQQrvcQ2vYNieOBEqKNM3mIGpS+w9RbvxFJ2xSHDyAGhWuLOSzfiSP2Ub9g6sp5JsAVDFgNp5eWZra5yNwut/NkqEW1Hi+qf9PcOPMjEQNVVQ75OgudipouHwx0TyQkXUEVDt4vWWqio+hf1nqqADRmxX3HLU9vw/RZ53o2cszVcNv/9dgW2oZNDhCFsdu9Ru28Tm93JeiUk5k+STqDSy/+wIc/WQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Huc9YaY9gNhDvS7yy0M/XNH4AgcvnvvdzvrPAYrQkf0=; b=KMUaldtA2/lC332Q8aAxQlWoYCGGPHgDz44AAr35SKgGtKK17KvT7vRz+A5Qh6O0Tku6r1U4CV3cYOA6EpjLqYyLjNm7jufCYTBjWYaS0+bJgTFQ6u9KaqEb0ucjRbTlbE2o8nJ5QYp+Shc1fcvSyHzNyQVHqTwvCq69USOIJ8d1vRVsq75Dr1p1KgVXguukRmHxyD74hg9zXqxDeZ1vwCF0NeBCqLqNRU0q9eAFTUo2dDDqsi4UTl14a/qUQ/CgGoU16aMXVY7DKFNeD2T/2pcoeyxp6WARbmJMxbGsL6Bax/xRXeUiZiHksHy47m+1uKT1CWhJPK75Xi/ptzBrIw== 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 Received: from MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) by BN0PR10MB5125.namprd10.prod.outlook.com (2603:10b6:408:12e::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5880.14; Wed, 7 Dec 2022 19:52:27 +0000 Received: from MWHPR1001MB2158.namprd10.prod.outlook.com ([fe80::ee70:1952:4416:1bdc]) by MWHPR1001MB2158.namprd10.prod.outlook.com ([fe80::ee70:1952:4416:1bdc%5]) with mapi id 15.20.5880.014; Wed, 7 Dec 2022 19:52:26 +0000 To: binutils@sourceware.org Cc: weimin.pan@oracle.com, Indu Bhagat <indu.bhagat@oracle.com> Subject: [PATCH 0/6] Small improvements around SFrame support Date: Wed, 7 Dec 2022 11:52:16 -0800 Message-Id: <20221207195222.1182788-1-indu.bhagat@oracle.com> X-Mailer: git-send-email 2.37.2 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: MW2PR16CA0044.namprd16.prod.outlook.com (2603:10b6:907:1::21) To MWHPR1001MB2158.namprd10.prod.outlook.com (2603:10b6:301:2d::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2158:EE_|BN0PR10MB5125:EE_ X-MS-Office365-Filtering-Correlation-Id: 55fe8b71-054e-4a38-fa29-08dad88c90ed X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 7CQYpnJ8mFEzxYR1Qfm6JpLVxwhlxXcsqCm9WkVyJyiPy6QRE5t/xrFsAH4cd7HiL570BAzPV18SDHI6DYoctI2xcFi5s9vSiXIwNXhHB/uZCzHV1ia5C/ruekJgCjVA4E5w0OFAO6D/n7m3ubvGeuqAD29CTV4E3dtdLRRLIlB6coUhbTeGBbaxb55chqadxbxIzzs3IjujOg7rzgUmMmhRcBGFLtQO0wOnuoABI9kXsZ8xWMG/hYI3pFJN/RNtNcc6FIOLByufAbRWMtSo34XDdl/bZSSPhlKSaabNiRQw34pO3nIC7PsX78dEZQetU+n3ix+BQXEhLpWEYEjJkAhX/0LajZULeesIlog30igIZyJBsjYwszuglpoIwE5jzkUz+GsaUjLAlriWfCQXiZ5uC+9LxoyAaUApDYwCJryuMORpZtyGMbrSLGWiOV471FD6cOud9YVgc3ysOFJVZCmxvYZEEo4b04zNm7aAaOmnVL5v6k3FQKmw+KLROE4b1GHVp09Yls6aAlkB1LtK/+F3uXwGHTDl1iYDzpdSDbbXxmgm6zYdM+OkMTAFhE29hXUO3CWXdkE32++blWq2dRfEPjGGOYwdPonaqRqXzJx0EfLZibm7Ua8Z/5JMdfbwvNkrnMsF/aGV/20fQUZV6Q== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MWHPR1001MB2158.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(376002)(396003)(136003)(366004)(39860400002)(346002)(451199015)(83380400001)(38100700002)(8936002)(4326008)(66946007)(66476007)(6916009)(86362001)(41300700001)(44832011)(2906002)(66556008)(8676002)(478600001)(6666004)(5660300002)(6506007)(186003)(6512007)(107886003)(316002)(2616005)(6486002)(1076003)(36756003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 2qPwXo614DcTJs3OXWK5/dXrDN0Eq6f4AHPKzvo3tSftqNSN2q6rbo9zjMIZLtc0n2HrrKPKOgEVbK+3bOx1qvHRJn88ectB02QoI4RagxlLJjRz74VO+ocX/ZBjDubj2/D8gDH1lLP4b/Ptxtiie1Rs9pBqoDldEJW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46Ar79SH05a6gNzOuCLvK7cbMeIYmCZlkLNILwuuWauQdsckiaugSZ5XeK8hS1em8Zv1TUND2Gu8q8ELVFixwxvCLHGXpr7mhBFqONV/U9AcsBAK6Nu7Nz2kzrhdYn/1TNw97YJb63XLdy+s3vB5sOm+5KZ6YLyDntEENp3tc/lPp4RIVOU9DJO0dhlmgnyzpZBPg14z7+N3OHorZygNTg2fHFjS9X4qB7AThCOx8mT2jPxVWYU5Hpm/TGKImu2U4RSf/6KvCLcVgZnz+kyMyCwSgSseFx+Pp+WAJVDTHFVhRz2qqx7sokNc76Rwhv0kMXskxBfPlvVjubzRYYXNjBWNyZNMUtjQuDUc1wQpuOAq7TbSUR8JXkgR5jXp5Qj/EZc4Df4f7FmKvBDOoh4= X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 55fe8b71-054e-4a38-fa29-08dad88c90ed X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2158.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Dec 2022 19:52:26.6601 (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: HGzfqwAZzSDmBa1PgAjXTFvZvkEag8pqGkPFkcKWoadZVFk6SYvD5STaxG4z4vuamMGYBo+iWumwc8i/HwMXfA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN0PR10MB5125 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-07_09,2022-12-07_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 adultscore=0 phishscore=0 spamscore=0 bulkscore=0 mlxscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212070167 X-Proofpoint-GUID: cCZXagrgEmoNUg8azi4w0nAL36MThxJp X-Proofpoint-ORIG-GUID: cCZXagrgEmoNUg8azi4w0nAL36MThxJp X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, 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: binutils@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils mailing list <binutils.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>, <mailto:binutils-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/binutils/> List-Post: <mailto:binutils@sourceware.org> List-Help: <mailto:binutils-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>, <mailto:binutils-request@sourceware.org?subject=subscribe> From: Indu Bhagat via Binutils <binutils@sourceware.org> Reply-To: Indu Bhagat <indu.bhagat@oracle.com> Errors-To: binutils-bounces+ouuuleilei=gmail.com@sourceware.org Sender: "Binutils" <binutils-bounces+ouuuleilei=gmail.com@sourceware.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751586194965710029?= X-GMAIL-MSGID: =?utf-8?q?1751586194965710029?= |
Series |
Small improvements around SFrame support
|
|
Message
Indu Bhagat
Dec. 7, 2022, 7:52 p.m. UTC
Hello, This series contains small patches that make minor improvements in the SFrame support. Some of these can be committed as obvious, but it won't hurt to send them as a part of this set either. Testing notes: - Regression testing using a script that tests a variety of targets on host x86_64-linux-gnu, and host aarch64-linux-gnu. - try bot run showed no regressions. - unwinder testsuite based on SFrame (not upstream'd yet) continues to work on x86_64 and aarch64. Thanks, Indu Bhagat (6): libsframe: minor formatting nits sframe.h: make some macros more precise sframe: gas: libsframe: define constants and remove magic numbers gas: sframe: fine tune the fragment fixup for SFrame func info libsframe: rename API sframe_fde_func_info to sframe_fde_create_func_info objdump: sframe: fix memory leaks bfd/elfxx-x86.c | 6 +- binutils/objdump.c | 8 ++- gas/gen-sframe.c | 55 +++++++++++++++---- gas/sframe-opt.c | 46 ++++++++++------ include/sframe-api.h | 4 +- include/sframe.h | 19 ++++++- libsframe/sframe.c | 42 +++++++------- .../testsuite/libsframe.encode/encode-1.c | 8 +-- 8 files changed, 127 insertions(+), 61 deletions(-)