From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id 681C33858C33 for ; Thu, 25 Aug 2022 06:02:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 681C33858C33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27P5U2uk020188; Thu, 25 Aug 2022 06:02:15 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=siSPDDlx8LYzNb/iV5sRVF5LRO7q7GbaRrUyfCdSTLw=; b=lM3XWtbwxpRTLNhPUl8J0Aztfx53Uj6slXmpHY8MGoJoQonBXwvdeb+K4kfH6eZFtZq3 lBc3IMCt4vPtiJUoofaa3Lk+kxhVPNvacRffuSSj9Z5SPG0d7u6QdpBuV8dY2v/4jYks V7vKexbwTlCYI0FqP9swo3eXwmcxsv4qPaLQn+m7ldaYb8Qljm6Z+jFFBNmsckTR1Law NJNo94llsOjJ0uRKFmiJC0T6Vwo6P7s37dCYk9YPbiKhtaydXXph+Rvxh6iYRN6cWl+1 TN4bZnwP7wLRU/erdZDbVKaghDrkESjVtjVskGwtInrDg53fzx+x3kKVn6tt8qvQanU6 EA== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3j6305gwj5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Aug 2022 06:02:14 +0000 Received: from m0098420.ppops.net (m0098420.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 27P5UKR2021565; Thu, 25 Aug 2022 06:02:14 GMT Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3j6305gwh5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Aug 2022 06:02:14 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 27P5pDap029460; Thu, 25 Aug 2022 06:02:12 GMT Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by ppma06ams.nl.ibm.com with ESMTP id 3j2pvj5yur-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 25 Aug 2022 06:02:12 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 27P62ABj44630416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 25 Aug 2022 06:02:10 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 46A694C046; Thu, 25 Aug 2022 06:02:10 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9FBAA4C044; Thu, 25 Aug 2022 06:02:08 +0000 (GMT) Received: from [9.197.231.70] (unknown [9.197.231.70]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 25 Aug 2022 06:02:08 +0000 (GMT) Message-ID: Date: Thu, 25 Aug 2022 14:02:07 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH v3] rs6000: Rework ELFv2 support for -fpatchable-function-entry* [PR99888] Content-Language: en-US To: Segher Boessenkool Cc: GCC Patches , David Edelsohn , AlanM References: <20220818173435.GN25951@gate.crashing.org> <20220823143310.GV25951@gate.crashing.org> <774d9664-b36b-67c6-7cb5-7795aac0ce87@linux.ibm.com> <20220824140141.GY25951@gate.crashing.org> From: "Kewen.Lin" In-Reply-To: <20220824140141.GY25951@gate.crashing.org> Content-Type: text/plain; charset=UTF-8 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 2yL7vOZI4ClHlNFISUkbQNo8WTSEZt9Y X-Proofpoint-ORIG-GUID: 8Fi7X2eGkVuKpvLopT6i6_XQC6f8ZnzE Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-25_03,2022-08-22_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 mlxscore=0 adultscore=0 suspectscore=0 mlxlogscore=990 lowpriorityscore=0 spamscore=0 impostorscore=0 priorityscore=1501 phishscore=0 malwarescore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2207270000 definitions=main-2208250019 X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,KAM_SHORT,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: on 2022/8/24 22:01, Segher Boessenkool wrote: > On Wed, Aug 24, 2022 at 03:30:51PM +0800, Kewen.Lin wrote: >> on 2022/8/23 22:33, Segher Boessenkool wrote: >> I thought if we can consider [1] and updated the documentation similarly >> like "For PowerPC with the ELFv2 ABI, there will be M nops before the global >> entry point, and N-M after the local entry point". > > But that does not agree with the documentation. The N nops have to be > consecutive. If you want to support adding separate nop regions before > the LEP and GEP entry points, that is fine, but it will need a separate > command line option. > OK, previously I thought if we can claim GEP and LEP (and the area between) as one special function entry (area) in documentation, but admittedly it's too tricky. Adding one separated command line option now just for one potential use case in future seems not a good idea. Following the previous proposal, I just posted v4 at: https://gcc.gnu.org/pipermail/gcc-patches/2022-August/600277.html BR, Kewen