The .dynamic section is needed for ELF runtime relocation. Signed-off-by: Ray Ni <ray...@intel.com> Cc: Bob Feng <bob.c.f...@intel.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Cc: Yuwei Chen <yuwei.c...@intel.com> --- 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 - 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) -- 2.31.1.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#75951): https://edk2.groups.io/g/devel/message/75951 Mute This Topic: https://groups.io/mt/83253707/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-