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 4A1C73858CDA for ; Tue, 10 Jan 2023 13:40:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4A1C73858CDA 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 (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30ABmom0014256 for ; Tue, 10 Jan 2023 13:40:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=N36GNYz+7F1rghUmDyXiBP9eV8MpjxWVKlliUDMM+l4=; b=kkkyM9z4lEYe+7pp/BiIDQSjETv8uOUtNNMJQ1T/EFe58mT9p4uuF/OcEM0pwDbQJEkb 74oDUYUqjqEim3UlfSRhHua9raYOs4US97QosQdvpeSaF4I4L1EkqHBQ8KyI8mxTvZt+ DNPjjYTcILXOsdJAvnqdBZGt7g1QjVbD1DpeSk5LsHJSNrEu/AveSIpDwH0R6YcUBM2E QprpOO/H/UcVKU6K7kUm84KFxbrkBEJbcfUzBScRQB4hIsdYH0C+cnEV0hVGogx2G+hW 71mW8qtgqmomkeVrzaMmjRuYbz/riK2xq5/96soFQQjFGS8NamuzumYOlkdT1UzuFsDH LA== Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3n16x6bk4f-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 10 Jan 2023 13:40:34 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 30A7rILh015062 for ; Tue, 10 Jan 2023 13:40:32 GMT Received: from smtprelay01.fra02v.mail.ibm.com ([9.218.2.227]) by ppma06ams.nl.ibm.com (PPS) with ESMTPS id 3my00fmxqy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 10 Jan 2023 13:40:32 +0000 Received: from smtpav05.fra02v.mail.ibm.com (smtpav05.fra02v.mail.ibm.com [10.20.54.104]) by smtprelay01.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 30ADeTR346531012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 10 Jan 2023 13:40:29 GMT Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0EB042004B; Tue, 10 Jan 2023 13:40:29 +0000 (GMT) Received: from smtpav05.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D4D6220040; Tue, 10 Jan 2023 13:40:28 +0000 (GMT) Received: from [9.179.3.190] (unknown [9.179.3.190]) by smtpav05.fra02v.mail.ibm.com (Postfix) with ESMTP; Tue, 10 Jan 2023 13:40:28 +0000 (GMT) Message-ID: <44139fd1-5f40-ff9a-828d-df4e41623e7a@linux.ibm.com> Date: Tue, 10 Jan 2023 14:40:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH] IBM zSystems: Fix offset relative to static TLS Content-Language: en-US To: Stefan Schulze Frielinghaus , binutils@sourceware.org References: <20230110133534.5295-1-stefansf@linux.ibm.com> From: Andreas Krebbel In-Reply-To: <20230110133534.5295-1-stefansf@linux.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: jOvHArMWvUA5UKVqY4uS2yY6ojeKZaUA X-Proofpoint-ORIG-GUID: jOvHArMWvUA5UKVqY4uS2yY6ojeKZaUA 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=2023-01-10_04,2023-01-10_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 adultscore=0 mlxlogscore=999 phishscore=0 bulkscore=0 priorityscore=1501 lowpriorityscore=0 suspectscore=0 malwarescore=0 impostorscore=0 spamscore=0 mlxscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301100084 X-Spam-Status: No, score=-4.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,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 List-Id: On 1/10/23 14:35, Stefan Schulze Frielinghaus wrote: > For local exec TLS relocations of the form foo@NTPOFF+x the addend was > ignored. > > Build and tested on s390x. Ok for mainline and branches 2.{39,40}? > > bfd/ChangeLog: > > * elf32-s390.c (elf_s390_relocate_section): Honor addend for > R_390_TLS_LE32. > * elf64-s390.c (elf_s390_relocate_section): Honor addend for > R_390_TLS_LE64. > > ld/ChangeLog: > > * testsuite/ld-s390/reloctlsle-1.d: New test. > * testsuite/ld-s390/reloctlsle-1.s: New test. Ok for mainline and release branches. Thanks! Andreas