lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | # See scripts/check-localplt.awk for how this file is processed. |
| 2 | # PLT use is required for the malloc family and for matherr because |
| 3 | # users can define their own functions and have library internals call them. |
| 4 | libc.so: calloc |
| 5 | libc.so: free |
| 6 | libc.so: malloc |
| 7 | libc.so: memalign |
| 8 | libc.so: realloc |
| 9 | libm.so: matherr |
| 10 | # The dynamic loader uses __libc_memalign internally to allocate aligned |
| 11 | # TLS storage. The other malloc family of functions are expected to allow |
| 12 | # user symbol interposition. |
| 13 | ld.so: __libc_memalign |
| 14 | ld.so: malloc |
| 15 | ld.so: calloc |
| 16 | ld.so: realloc |
| 17 | ld.so: free |