From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com []) by mx.groups.io with SMTP id smtpd.web08.10224.1622621531196528142 for ; Wed, 02 Jun 2021 01:12:14 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: ray.ni@intel.com) IronPort-SDR: h3wGp9XPCjMbund1YlNUZrG0AwGpGl84kylVG/isFevlgyuKKxLi+kafP5YBzVmKfCauvoEvge DKV8LIdDhSkg== X-IronPort-AV: E=McAfee;i="6200,9189,10002"; a="267609219" X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="267609219" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2021 01:12:14 -0700 IronPort-SDR: /QFGtY2ErDWQ/5BapWBQ5/SxOgGT48z0JwtMCqF3cNAWWlsh8z3ELJmJ0y6bMWGR/jz90dqp1l u9Idn/NbKxhQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="479617483" Received: from ray-dev.ccr.corp.intel.com ([10.239.158.87]) by orsmga001.jf.intel.com with ESMTP; 02 Jun 2021 01:12:13 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Cc: Bob Feng , Liming Gao , Yuwei Chen Subject: [PATCH v2 5/6] BaseTools: Update ClangBase.lds to keep dynamic section Date: Wed, 2 Jun 2021 16:11:44 +0800 Message-Id: <20210602081145.265-6-ray.ni@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 In-Reply-To: <20210602081145.265-1-ray.ni@intel.com> References: <20210602081145.265-1-ray.ni@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable The .dynamic section is needed for ELF runtime relocation. Signed-off-by: Ray Ni Cc: Bob Feng Cc: Liming Gao Cc: Yuwei Chen --- BaseTools/Scripts/ClangBase.lds | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BaseTools/Scripts/ClangBase.lds b/BaseTools/Scripts/ClangBase.= lds index 8abd54aee6..61452ddd95 100644 --- a/BaseTools/Scripts/ClangBase.lds +++ b/BaseTools/Scripts/ClangBase.lds @@ -1,8 +1,8 @@ /** @file=0D =0D - Unified linker script for GCC based builds=0D + Unified linker script for CLANG based builds=0D =0D - Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.
=0D + Copyright (c) 2010 - 2021, Intel Corporation. All rights reserved.
=0D Copyright (c) 2015, Linaro Ltd. All rights reserved.
=0D (C) Copyright 2016 Hewlett Packard Enterprise Development LP
=0D =0D @@ -71,7 +71,6 @@ SECTIONS { *(.interp)=0D *(.dynsym)=0D *(.dynstr)=0D - *(.dynamic)=0D *(.hash .gnu.hash)=0D *(.comment)=0D *(COMMON)=0D --=20 2.31.1.windows.1