From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 9A2A73870C32 for ; Fri, 7 Jul 2023 09:38:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9A2A73870C32 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 (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3679b5Y1015793 for ; Fri, 7 Jul 2023 09:38:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=4GOBAt3y+B4aP+ANpj2d/sqRMZdmFGp4drvjYfEuw00=; b=LesP+IHVXQQMW1KKrjjd3yChwTpvey06vzZMEescRv3vx+uSHL+vVrkSXynAgCghj8HQ TfjMnROVOOABuJmR0WSIQ9rORIdj3WKVmgtu7Qtgpa/o8SeANe4Q9inQxMRFpPR0e7qY DyPxRSsYOJ0AupYNPErCmZxcv5aMzUV1XREv449YwTjrGN09im1oytNrc/yEwQkvmepu Ymb6ohwOsyeKnpap0Y7BnB+kAqX4R+COWmwIBTfnraE+hkUHdXhjIMwe2TOA83kLTfC6 E87zIlWHDlonLTnrHxDpXyYR1tuhB87F8N7/KUFbvghk05cvV6+Vf/uLyQKfomx8a159 6w== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3rpg4483f5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 07 Jul 2023 09:38:44 +0000 Received: from m0356517.ppops.net (m0356517.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3679bI8D018977 for ; Fri, 7 Jul 2023 09:38:43 GMT Received: from ppma01fra.de.ibm.com (46.49.7a9f.ip4.static.sl-reverse.com [159.122.73.70]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3rpg4483ed-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 07 Jul 2023 09:38:43 +0000 Received: from pps.filterd (ppma01fra.de.ibm.com [127.0.0.1]) by ppma01fra.de.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3676tSPP030549; Fri, 7 Jul 2023 09:38:41 GMT Received: from smtprelay03.fra02v.mail.ibm.com ([9.218.2.224]) by ppma01fra.de.ibm.com (PPS) with ESMTPS id 3rjbs4tvpq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 07 Jul 2023 09:38:41 +0000 Received: from smtpav07.fra02v.mail.ibm.com (smtpav07.fra02v.mail.ibm.com [10.20.54.106]) by smtprelay03.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3679cc4K11862544 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 7 Jul 2023 09:38:39 GMT Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DAB1C2004B; Fri, 7 Jul 2023 09:38:38 +0000 (GMT) Received: from smtpav07.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 95B2A20040; Fri, 7 Jul 2023 09:38:38 +0000 (GMT) Received: from [9.171.74.78] (unknown [9.171.74.78]) by smtpav07.fra02v.mail.ibm.com (Postfix) with ESMTP; Fri, 7 Jul 2023 09:38:38 +0000 (GMT) Message-ID: Date: Fri, 7 Jul 2023 11:38:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH] Align linkerscript symbols according to ABI To: Alan Modra Cc: Nick Clifton , binutils@sourceware.org References: <312682e3-fc76-cac1-6d19-fb54c9ce0cf6@redhat.com> <20230704121832.222400-1-krebbel@linux.ibm.com> <8ccde819-69de-0ff6-c7b7-b349f205cbb0@redhat.com> Content-Language: en-US From: Andreas Krebbel In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: CrtQ6bdp8TOtMtb0j2gStve4fjB8Bf1P X-Proofpoint-GUID: i_rGgSCQidSBkQEOVrslbB5_J07nhHk8 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-07_06,2023-07-06_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 mlxlogscore=855 spamscore=0 bulkscore=0 priorityscore=1501 suspectscore=0 adultscore=0 clxscore=1015 phishscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307070088 X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,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 7/7/23 05:03, Alan Modra wrote: > On Wed, Jul 05, 2023 at 11:53:35AM +0200, Andreas Krebbel via Binutils wrote: >>>> Apply ABI specific alignment to symbols generated in the default >>>> linker script. > > I think this change is potentially wrong for symbols defined inside an > output section. Do you really want symbols marking the start and end > of a section to disagree with the actual section, if the section > itself is wrongly aligned? Hopefully all our output sections are at least aligned to our symbol ABI alignment otherwise that's what I would fix I guess. You are right that having a gap there would be bad. Andreas