diff options
author | Oliver Smith-Denny <osde@linux.microsoft.com> | 2024-07-22 15:45:48 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-07-23 15:07:41 +0000 |
commit | 990bc4e562772521d771f3d0fe3e3d107ba3752f (patch) | |
tree | 0c40567e26c13fb04fd0f8ab90d4368bfc65eb01 /ArmPkg | |
parent | f96298d75cebfe2a7707157ed644eb86bf6d46ca (diff) | |
download | edk2-990bc4e562772521d771f3d0fe3e3d107ba3752f.tar.gz edk2-990bc4e562772521d771f3d0fe3e3d107ba3752f.tar.bz2 edk2-990bc4e562772521d771f3d0fe3e3d107ba3752f.zip |
BaseTools: Move GccLto Files to BaseTools
This moves the GccLto files from ArmPkg to BaseTools as they
are files that are only used in the build. This removes an
artificial dependency on ArmPkg from BaseTools and keeps build
related files in BaseTools.
Signed-off-by: Oliver Smith-Denny <osde@linux.microsoft.com>
Diffstat (limited to 'ArmPkg')
-rw-r--r-- | ArmPkg/Library/GccLto/liblto-aarch64.a | bin | 1128 -> 0 bytes | |||
-rw-r--r-- | ArmPkg/Library/GccLto/liblto-aarch64.s | 21 | ||||
-rw-r--r-- | ArmPkg/Library/GccLto/liblto-arm.a | bin | 2096 -> 0 bytes | |||
-rw-r--r-- | ArmPkg/Library/GccLto/liblto-arm.s | 55 |
4 files changed, 0 insertions, 76 deletions
diff --git a/ArmPkg/Library/GccLto/liblto-aarch64.a b/ArmPkg/Library/GccLto/liblto-aarch64.a Binary files differdeleted file mode 100644 index 6ca3932f1c..0000000000 --- a/ArmPkg/Library/GccLto/liblto-aarch64.a +++ /dev/null diff --git a/ArmPkg/Library/GccLto/liblto-aarch64.s b/ArmPkg/Library/GccLto/liblto-aarch64.s deleted file mode 100644 index 02a55ef445..0000000000 --- a/ArmPkg/Library/GccLto/liblto-aarch64.s +++ /dev/null @@ -1,21 +0,0 @@ -//
-// Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
-//
-// SPDX-License-Identifier: BSD-2-Clause-Patent
-//
-
-//
-// GCC in LTO mode interoperates poorly with non-standard libraries that
-// provide implementations of compiler intrinsics such as memcpy/memset
-// or the stack protector entry points.
-//
-// By referencing these functions from a non-LTO object that can be passed
-// to the linker via the -plugin-opt=-pass-through=-lxxx options, the
-// intrinsics are included in the link in a way that allows them to be
-// pruned again if no other references to them exist.
-//
-
- .long memcpy - .
- .long memset - .
- .long __stack_chk_fail - .
- .long __stack_chk_guard - .
diff --git a/ArmPkg/Library/GccLto/liblto-arm.a b/ArmPkg/Library/GccLto/liblto-arm.a Binary files differdeleted file mode 100644 index d811c09573..0000000000 --- a/ArmPkg/Library/GccLto/liblto-arm.a +++ /dev/null diff --git a/ArmPkg/Library/GccLto/liblto-arm.s b/ArmPkg/Library/GccLto/liblto-arm.s deleted file mode 100644 index f19fb45551..0000000000 --- a/ArmPkg/Library/GccLto/liblto-arm.s +++ /dev/null @@ -1,55 +0,0 @@ -//
-// Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
-//
-// SPDX-License-Identifier: BSD-2-Clause-Patent
-//
-
-//
-// GCC in LTO mode interoperates poorly with non-standard libraries that
-// provide implementations of compiler intrinsics such as memcpy/memset
-// or the stack protector entry points.
-//
-// By referencing these functions from a non-LTO object that can be passed
-// to the linker via the -plugin-opt=-pass-through=-lxxx options, the
-// intrinsics are included in the link in a way that allows them to be
-// pruned again if no other references to them exist.
-//
-
- .long memcpy - .
- .long memset - .
- .long __stack_chk_fail - .
- .long __stack_chk_guard - .
- .long __ashrdi3 - .
- .long __ashldi3 - .
- .long __aeabi_idiv - .
- .long __aeabi_idivmod - .
- .long __aeabi_uidiv - .
- .long __aeabi_uidivmod - .
- .long __divdi3 - .
- .long __divsi3 - .
- .long __lshrdi3 - .
- .long __aeabi_memcpy - .
- .long __aeabi_memset - .
- .long memmove - .
- .long __modsi3 - .
- .long __moddi3 - .
- .long __muldi3 - .
- .long __aeabi_lmul - .
- .long __ARM_ll_mullu - .
- .long __udivsi3 - .
- .long __umodsi3 - .
- .long __udivdi3 - .
- .long __umoddi3 - .
- .long __udivmoddi4 - .
- .long __clzsi2 - .
- .long __ctzsi2 - .
- .long __ucmpdi2 - .
- .long __switch8 - .
- .long __switchu8 - .
- .long __switch16 - .
- .long __switch32 - .
- .long __aeabi_ulcmp - .
- .long __aeabi_uldivmod - .
- .long __aeabi_ldivmod - .
- .long __aeabi_llsr - .
- .long __aeabi_llsl - .
|