]>
Commit | Line | Data |
---|---|---|
e1458aad AB |
1 | // |
2 | // Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR> | |
3 | // | |
4 | // This program and the accompanying materials are licensed and made available under | |
5 | // the terms and conditions of the BSD License that accompanies this distribution. | |
6 | // The full text of the license may be found at | |
7 | // http://opensource.org/licenses/bsd-license.php. | |
8 | // | |
9 | // THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, | |
10 | // WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. | |
11 | // | |
12 | ||
13 | // | |
14 | // GCC in LTO mode interoperates poorly with non-standard libraries that | |
15 | // provide implementations of compiler intrinsics such as memcpy/memset | |
16 | // or the stack protector entry points. | |
17 | // | |
18 | // By referencing these functions from a non-LTO object that can be passed | |
19 | // to the linker via the -plugin-opt=-pass-through=-lxxx options, the | |
20 | // intrinsics are included in the link in a way that allows them to be | |
21 | // pruned again if no other references to them exist. | |
22 | // | |
23 | ||
24 | .long memcpy - . | |
25 | .long memset - . | |
26 | .long __stack_chk_fail - . | |
27 | .long __stack_chk_guard - . | |
28 | .long __ashrdi3 - . | |
29 | .long __ashldi3 - . | |
30 | .long __aeabi_idiv - . | |
31 | .long __aeabi_idivmod - . | |
32 | .long __aeabi_uidiv - . | |
33 | .long __aeabi_uidivmod - . | |
34 | .long __divdi3 - . | |
35 | .long __divsi3 - . | |
36 | .long __lshrdi3 - . | |
37 | .long __aeabi_memcpy - . | |
38 | .long __aeabi_memset - . | |
39 | .long memmove - . | |
40 | .long __modsi3 - . | |
41 | .long __moddi3 - . | |
42 | .long __muldi3 - . | |
43 | .long __aeabi_lmul - . | |
44 | .long __ARM_ll_mullu - . | |
45 | .long __udivsi3 - . | |
46 | .long __umodsi3 - . | |
47 | .long __udivdi3 - . | |
48 | .long __umoddi3 - . | |
49 | .long __udivmoddi4 - . | |
50 | .long __clzsi2 - . | |
51 | .long __ctzsi2 - . | |
52 | .long __ucmpdi2 - . | |
53 | .long __switch8 - . | |
54 | .long __switchu8 - . | |
55 | .long __switch16 - . | |
56 | .long __switch32 - . | |
57 | .long __aeabi_ulcmp - . | |
58 | .long __aeabi_uldivmod - . | |
59 | .long __aeabi_ldivmod - . | |
60 | .long __aeabi_llsr - . | |
61 | .long __aeabi_llsl - . |