From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga12.intel.com (mga12.intel.com []) by mx.groups.io with SMTP id smtpd.web12.9878.1622619979686731258 for ; Wed, 02 Jun 2021 00:46:25 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=fail (domain: intel.com, ip: , mailfrom: ray.ni@intel.com) IronPort-SDR: JKNWw3/kxKwy0NtisvbW8snXuOvc2eE+TyMEyxlTNvtFu/0mmvkALkMhH9Qi4Hd7CkayNzAKz3 xLh1GSxOzhHQ== X-IronPort-AV: E=McAfee;i="6200,9189,10002"; a="183409106" X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="183409106" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2021 00:46:25 -0700 IronPort-SDR: vM4+jd37UfxUl41SEonkPEi2kk9OZRRqAmTU4HkB85mSxR12khGui0k5wmRGpgQ7c8e/lFnJim 6/5jHDOnJJ+Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.83,241,1616482800"; d="scan'208";a="479607278" Received: from ray-dev.ccr.corp.intel.com ([10.239.158.87]) by orsmga001.jf.intel.com with ESMTP; 02 Jun 2021 00:46:23 -0700 From: "Ni, Ray" To: devel@edk2.groups.io Cc: Bob Feng , Liming Gao , Yuwei Chen Subject: [PATCH 5/6] BaseTools: Update ClangBase.lds to keep dynamic section Date: Wed, 2 Jun 2021 15:45:53 +0800 Message-Id: <20210602074554.244-6-ray.ni@intel.com> X-Mailer: git-send-email 2.31.1.windows.1 In-Reply-To: <20210602074554.244-1-ray.ni@intel.com> References: <20210602074554.244-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