[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] x86/build: work around older GNU ld not leaving .got.plt empty


  • To: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 21 Mar 2022 13:18:00 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • 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=j6tQhpL9z0HU8nuGi98oFA3JXsdCwVQ+YrYf3WhVLK4=; b=BbfRN3ocPoKGK3gYBy1r0Rvp1q3OIRtcsN27cJhOQL3TuYyXtozXDc5Yc2gDwf/CH9migSOg7pR+FwojyWm6+//R378/kFuJaOaFXbcnvw07Jzp0J7KVivbfw2nD7HzraaeojAb4aYSZb432gv8HVeYbAqlAuHmAfQ+LdIUQ5UkHgO02gc+LAK4UBRf6bxmnx6FBoEVD2/yWEXIQaqeNeXx3E8Qnc0eq3UMs6yLXKuOqskPoMTfcL0fEtE42dtEsvbDl5F+x9JPw5cweACKDeFgdcfsZyjFoaoyF+oKDHn2l9UZkqRbDfTY9KcsuxPtM95hsAAD6rxeItDLvLQkvqw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZNDVnbB2l/oiJA/jdpV/xPxhQ22f2lkCaq/JNDwWM8Au5ljQvkz+8WctXw46pR/JndCP+9vxmZHIjJnGfylvYwbwIPvtS6XpR9gPlCdLvKkhpIL8X/iBLvMstfIMC2LD4rmRVOGgiLohL6axvd9ODjEgDY7TTBWdM/Wy6V+o/rCDzUzjY3iEj62MKD6B1YziVgIw8G/Ro16sDaHWbXRkSA5iYZh7sXht0iDty9rHZ9vK6xYtRluOBYoIwIa1xG8m0rzAjK9kPxZ0/6yBWQdr6k5PVcJVrAEWecUNb/Yx/akYCP6nLJmcllQOGvORAgT+mZG0CcADPJr0romfpeobBA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Julien Grall <julien@xxxxxxx>
  • Delivery-date: Mon, 21 Mar 2022 12:18:08 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 21.03.2022 12:57, Roger Pau Monné wrote:
> On Mon, Mar 21, 2022 at 12:46:54PM +0100, Jan Beulich wrote:
>> The initial three entries in .got.plt are "static", i.e. present
>> independent of actual entries allocation of which is triggered by
>> respective relocations. When no real entries are needed, halfway recent
>> ld discards the "static" portion of the table as well, but older GNU ld
>> fails to do so.
> 
> Do you know what this 'static' entries refer to?

I didn't take the time to look this up, and I don't know off the top of
my head.

>> Fixes: dedb0aa42c6d ("x86/build: use --orphan-handling linker option if 
>> available")
>> Reported-by: Julien Grall <jgrall@xxxxxxxxxx>
>> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>
> 
> Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>

Thanks.

Jan




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.