From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70084.outbound.protection.outlook.com [40.107.7.84]) by sourceware.org (Postfix) with ESMTPS id CB764385843F for ; Wed, 27 Oct 2021 09:38:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CB764385843F Received: from AM5P194CA0010.EURP194.PROD.OUTLOOK.COM (2603:10a6:203:8f::20) by VI1PR08MB3614.eurprd08.prod.outlook.com (2603:10a6:803:85::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Wed, 27 Oct 2021 09:38:46 +0000 Received: from AM5EUR03FT022.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:8f:cafe::a9) by AM5P194CA0010.outlook.office365.com (2603:10a6:203:8f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15 via Frontend Transport; Wed, 27 Oct 2021 09:38:45 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT022.mail.protection.outlook.com (10.152.16.79) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Wed, 27 Oct 2021 09:38:45 +0000 Received: ("Tessian outbound e27daf245730:v103"); Wed, 27 Oct 2021 09:38:44 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 6993354b034c8597 X-CR-MTA-TID: 64aa7808 Received: from 1ab43cd60007.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id FBC1AA69-EC72-4928-80E8-40650321AB56.1; Wed, 27 Oct 2021 09:38:38 +0000 Received: from EUR02-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1ab43cd60007.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 27 Oct 2021 09:38:38 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OPXpuWdMPMHbkgXTUp97wRRYpxXyuvzh2XxoHpVX+SaHQhF5vC3y9cTffIgzQn0+le/6XgEWhX0UO47LANPC5bazAhJxDqTByRjytQcM2w39YOqYWukTd50jmWkqCbOVxkkQv5MEdQE0COg4gUouMUldD5c/noN+Fque6Tltu6Gj0oisYVNslOdTGychZr7jriBKJPKLxqNsoOnw7RUzVHtis30n77j3sOOFF+ft5bFhe0xnMPWupjSpX+6F4w9deA0kCt17U2cDPm/AMoktQLDpBQggNa+75YlhrAa4eacvYbYisnUexGDczwvJIXLANXYozprHsHdP+kmf1paZnw== 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=/RkfZ+p3sd3E8qtLXDc4rf3uS4zIqit2VmHNz1ITxEU=; b=Ilen81grDEZIwkpfOyB1kF9TPXXjgCE7XJXs+tLGaRj4ym7Bwmnnc+iMEDOJCqjBi+611P6gCNpgwBRcHIByUprdrln790q/r+XOg7h+CyXqt9ic5Lp5RtPQqs5oct7D0EWtziLqNbRovB7026VGX0ltaEUD42szKd90g80DIfBng21tts7j8NDVEr11dSRtRaIIdgc4+8Q6+NxdBDkgu/8208EDiUZV6+t6r1dUADe/p3p9GKy1pXDXlfo8efDaI/gssS6XZW7/lVllK8GEJhX3MnoBV3PNvXRvVx1rPmEQap+G4FdahGe+Pcrg/kk0R3xXI+u76RorR8Nu0cZUzQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DB9PR08MB7179.eurprd08.prod.outlook.com (2603:10a6:10:2cc::19) by DB9PR08MB7081.eurprd08.prod.outlook.com (2603:10a6:10:2bd::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Wed, 27 Oct 2021 09:38:33 +0000 Received: from DB9PR08MB7179.eurprd08.prod.outlook.com ([fe80::2900:7140:8ac4:6846]) by DB9PR08MB7179.eurprd08.prod.outlook.com ([fe80::2900:7140:8ac4:6846%5]) with mapi id 15.20.4628.020; Wed, 27 Oct 2021 09:38:33 +0000 Date: Wed, 27 Oct 2021 10:38:30 +0100 From: Szabolcs Nagy To: Joseph Myers Cc: Lukasz Majewski , Florian Weimer , Andreas Schwab , "libc-alpha@sourceware.org" , Patches and discussions about the oe-core layer Subject: Re: [PATCH v2] dl: Use "adr" assembler command to get proper load address on ARM Message-ID: <20211027093830.GP1982710@arm.com> References: <871r4iftvc.fsf@oldenburg.str.redhat.com> <20211025121819.16f63048@ktm> <878ryhwgd7.fsf@oldenburg.str.redhat.com> <20211025125307.1fa34445@ktm> <20211025133425.GN1982710@arm.com> <20211025160444.09f0c5e0@ktm> <20211025150904.GO1982710@arm.com> <20211026155227.302d53b3@ktm> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: LO2P265CA0404.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:f::32) To DB9PR08MB7179.eurprd08.prod.outlook.com (2603:10a6:10:2cc::19) MIME-Version: 1.0 Received: from arm.com (217.140.106.55) by LO2P265CA0404.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:f::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.14 via Frontend Transport; Wed, 27 Oct 2021 09:38:32 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 29b80964-c967-4661-0e03-08d9992d9238 X-MS-TrafficTypeDiagnostic: DB9PR08MB7081:|VI1PR08MB3614: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8882;OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: ffqnYuKgH/9XaqcMYWCPACmIJliEK6s9jPV5xz0OQmEnAYSepJCb3oHm+w7mdVg7ekfTS75MSp3qHwSVKQtms7xiRQU1tfalB+xrqyvuRKoDKuvG5cKX3IvVtEg/RZDO2P692Q0gjvZdBaPl5svO1llgXQ1TBf7UJ8P4LuDKXsdYtLjqaSdDLgngQKDrbibDXn4E3yMEUqdSdAaA5zQBvxlGfrlqPBvxeQW7LcRaGmaQqWQnL26zPtSNDHSyp2Y3cn7OK1Bbdpie1yeLoQPoFoqFZyA4tEg18P6J94ezbVdS7k1bvii++3DuypUsn9FvciwWwchM50h5AQtpcdn/3N54um2QJI9oh3yGiGjfGQiZvH4sj0vjir3oGJeITb6+vRrqu9kAjExLC9jGqf2mrP3GgwsnlA4bhJSBOlF34pxrFQmuORywkPQWdUeRDG1fkAfDl/abfHHTCVt6NDheWT/Cd4PhmRtf1jeQvD4vssz0aysKSTkLm21aApkMeXRqky4uBlRBbXjAYKhhpub/PQ6z5Q4auBljO4Dzwg/YfiTPgJKRrtigPvrg7EoNU1gJ3EUVm2ckMp2/dZ4tex1eImo1FaIES48x5xaLJ84LMr+CEW6Dlh0JLjufvDqApslrTx/jgFqpoHu30bgHjXTy+uUCEm4qgc3jBx+L37ZDMW125nAw6WgWcocOLkmt4dcPYTwTIFJQViUaLGrZFLQ0jN/C6SPzIk5hcRH26/eN0YqZzmpNoIh5qr1EP4aDl3rLdaRdOJGXMWHQWavJNUaEsIj4DPLRcP5GDQIkn4jwY0U= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR08MB7179.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(966005)(33656002)(55016002)(508600001)(38350700002)(86362001)(8886007)(186003)(2906002)(6916009)(66556008)(956004)(4326008)(8936002)(66476007)(5660300002)(36756003)(52116002)(54906003)(8676002)(1076003)(316002)(26005)(7696005)(2616005)(66946007)(38100700002); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB7081 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 85b2df9d-460c-48d6-34f6-08d9992d8a74 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: AKXKoivlSYcpwWUtmt7Usn1tvVV5SkbQkxfh4aoEoYItJjr/QVH7soSOri84ySOfPaYKRO0e3Y2sb66q909DwOXCaGvBgePeLyFy17h2G+OQZebpu7WQn2jfy3/m3KiwBnfA4XLwNvRZcW1Zv5oRnQvXRTU5oZI7d1yqfno1zFmKfVKrubTJ7DGIEGq2yiZrEbzARrMCDCJt0TYBRI0bHCCM2N2OUPMHvJAKP4DhUUE8RvqJ/TkkPnhYhsSKRrXKAwRqXwdlBmBQA7gghZObq13ZGI1T3DOSAL7xWJg21CxQMMPM52GTz3r0bLEV/vpsQV7BSGFvTqJ48jIpxwizXCOalKFAq22dNCcflft+42FMQ4itL14ICGVTYpYtzifjQWpnNgh/+jWvzlXG39l7s6DEITeQsNhjzc2ACFS/QkDdsqVdPfIIwyN5MumC55a3WV1Zru7yvkMuwDx/c9URlIkAGFD2lHr6NW/EngA1smrS8KscE1PvxAMRaM67c7rdtQZYhCdPLyb+tPexDVkur45Ca8oV+TQZZDBzcPWYm60lobZOiOzbArcTShNhKOBpXyIkQOtBPQKqCRmFfaDj0i+mnfYbfNoqo5cNy/ioRrAmUOsFovcvWaK+p5rpDYUmNN0DmTJwl33ILCpcYYL32SU1q9F7Aokz2c7KfizcM5iC6LcZnwcvlJnrTzrxeCaLO0OBlcaWlwPF9VE8WZLtOqKpC6L8+MQddBtQlR/6qC5JD7D87vSvhu6rrY1/jkClC9CXHWXXN7jUwUedYc5nrXLjx0lmCPvl3i/3VA8411A= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(8676002)(86362001)(70206006)(54906003)(966005)(7696005)(47076005)(70586007)(81166007)(36756003)(36860700001)(8936002)(5660300002)(2616005)(8886007)(186003)(316002)(956004)(1076003)(2906002)(356005)(6862004)(508600001)(33656002)(336012)(107886003)(4326008)(26005)(82310400003)(55016002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2021 09:38:45.4771 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 29b80964-c967-4661-0e03-08d9992d9238 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT022.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3614 X-Spam-Status: No, score=-7.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2021 09:38:53 -0000 The 10/26/2021 20:55, Joseph Myers wrote: > On Tue, 26 Oct 2021, Lukasz Majewski wrote: > > > > I sent patches (on top of a merge of the upstream cross_prelink and > > > cross_prelink_aarch64 branches) to the maintainer in May 2020 (the > > > Yocto project mailing list doesn't accept email from non-subscribers, > > > so won't have seen those patches), which made it work well enough to > > > get clean prelink test results, but so far they haven't been > > > committed to the upstream cross_prelink branch (or any other upstream > > > branch). I've now made those available at > > > https://github.com/jsm28/prelink (cross_prelink_aarch64_fixes branch). > > > > So this branch shall be pulled by yocto's cross-prelink maintainer. > > It should be. > > > Without it the cross-prelink doesn't support aarch64? > > Correct. > > With that branch, basic AArch64 support is there, but the following still > applies: > > > > Note however that, like the original patches from Samsung, this > > > version does indeed depend on a hack in _dl_tlsdesc_undefweak to work > > > with TLS descriptors. > > (And given that hack, test results with my branch should be clear on > AArch64.) i think the undefweak hack is acceptable. (in the non-prelinked case that path is rare) and then i'm happy to take the load address change to support prelinked ld.so.