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

Re: [PATCH v2 5/5] symbols: prefer symbols which have a type


  • To: Jan Beulich <jbeulich@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Jason Andryuk <jason.andryuk@xxxxxxx>
  • Date: Wed, 27 Aug 2025 21:07:50 -0400
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=suse.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=J5nlDEQGwljIGzFs/Z+E/hsllWyY+nsXQVnwNFYt9hk=; b=fB1hhcctgPY1CsGgnAkZiTXsDLGp7qHi7l6IIRIL9x3/4JeesmCkKO0KOVHjegdhwebgeisDbiIJM3LAxGYhA2Xfa1CyECfI4rDwXdV9bHT+Q+sjuSfeEL0HJCrXu6O4MnYumdWa8G+z6hA29NWPGmmF25eiRv+ENfkCetzdl2s3b4x1S7foVybJop1ABYSe27AOn9ojCYuOqMdQlL2J230fdtPzND4VgXoonaMwkezEpM+bOtsznUoj6qPNPuMl72MeMDDaOtPrNoQyQMVzAYVbjetivYwjyYiwR9YxNzcZFTRFmBQzcIwAD8jeV05CUvGcaA1mDo7UUAruUSk77A==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dkjemc0EyLg02rTD3kJIYW7bbojK13MKpqiiLDkzP+ngJbP/ipL/NFQN6tTFOozDho1exdv493fOwXupsWubO3gMFM2m/5W8NbI4x4Fj3RZmNTW9atNQNQTDeqd+U6Cg6k0uEuDBHX5Rvui3EFW2w24WTg448ja16Df0cYA4t/ckCUimGX3bS6bysjQlLQ6h5UQ6GXnDEXnc/VHnGEqquj+Mi7KZ9UXugUmqYxwvHbnwmXc0eOuCeP/x58KthKOq1eRQRslknoujXKYdHcunXUcev0YZtYJa+WT7pfdfSay2Ixml7JafKhbWSVmeiJ9pz2i0h3MmUkmQmd6EhMpzRQ==
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Thu, 28 Aug 2025 01:08:06 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 2025-04-02 10:00, Jan Beulich wrote:
... and thus typically also a size. Using global vs local is undesirable
in certain situations, e.g. when a "real" symbol is local and at the
same address as a section start/end one (which are all global).

Note that for xen.efi the checking for "Function" is only forward-
looking at this point: The function-ness of symbols (much like their
size) is lost when linking PE/COFF binaries from ELF objects with GNU ld
up to at least 2.44.

Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx>

Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>



 


Rackspace

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