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