2 // Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR>
4 // SPDX-License-Identifier: BSD-2-Clause-Patent
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.
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.
20 .long __stack_chk_fail - .
21 .long __stack_chk_guard - .