BaseTools: Update ClangBase.lds to keep dynamic section

The .dynamic section is needed for ELF runtime relocation.

Signed-off-by: Ray Ni <ray.ni@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
Ni, Ray 2021-06-02 16:11:44 +08:00 committed by mergify[bot]
parent 4b56ad2049
commit e1636fe18f
1 changed files with 2 additions and 3 deletions

View File

@ -1,8 +1,8 @@
/** @file
Unified linker script for GCC based builds
Unified linker script for CLANG based builds
Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2010 - 2021, Intel Corporation. All rights reserved.<BR>
Copyright (c) 2015, Linaro Ltd. All rights reserved.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
@ -71,7 +71,6 @@ SECTIONS {
*(.interp)
*(.dynsym)
*(.dynstr)
*(.dynamic)
*(.hash .gnu.hash)
*(.comment)
*(COMMON)