]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/Library/GccLto/liblto-aarch64.s
ArmPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / ArmPkg / Library / GccLto / liblto-aarch64.s
CommitLineData
e1458aad
AB
1//
2// Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
3//
4059386c 4// SPDX-License-Identifier: BSD-2-Clause-Patent
e1458aad
AB
5//
6
7//
8// GCC in LTO mode interoperates poorly with non-standard libraries that
9// provide implementations of compiler intrinsics such as memcpy/memset
10// or the stack protector entry points.
11//
12// By referencing these functions from a non-LTO object that can be passed
13// to the linker via the -plugin-opt=-pass-through=-lxxx options, the
14// intrinsics are included in the link in a way that allows them to be
15// pruned again if no other references to them exist.
16//
17
18 .long memcpy - .
19 .long memset - .
20 .long __stack_chk_fail - .
21 .long __stack_chk_guard - .