mirror of
https://sourceware.org/git/glibc.git
synced 2025-05-20 16:33:46 +03:00
Exporting functions and relying on symbol interposition from libc.so makes the choice of implementation dependent on DT_NEEDED order, which is not what some compiler drivers expect. This commit replaces one magic mechanism (symbol interposition) with another one (preprocessor-/compiler-based redirection). This makes the hand-over from the minimal malloc to the full malloc more explicit. Removing the ABI symbols is backwards-compatible because libc.so is always in scope, and the dynamic loader will find the malloc-related symbols there since commit f0b2132b35248c1f4a80f62a2c38cddcc802aa8c ("ld.so: Support moving versioned symbols between sonames [BZ #24741]"). Reviewed-by: Carlos O'Donell <carlos@redhat.com>
27 lines
555 B
Plaintext
27 lines
555 B
Plaintext
libc.so: _Q_add ?
|
|
libc.so: _Q_cmp ?
|
|
libc.so: _Q_div ?
|
|
libc.so: _Q_feq ?
|
|
libc.so: _Q_fge ?
|
|
libc.so: _Q_fgt ?
|
|
libc.so: _Q_fle ?
|
|
libc.so: _Q_flt ?
|
|
libc.so: _Q_fne ?
|
|
libc.so: _Q_itoq ?
|
|
libc.so: _Q_lltoq ?
|
|
libc.so: _Q_mul ?
|
|
libc.so: _Q_sub ?
|
|
libc.so: _Q_qtod ?
|
|
libc.so: _Unwind_Find_FDE
|
|
libc.so: calloc
|
|
libc.so: free
|
|
libc.so: malloc
|
|
libc.so: memalign
|
|
libc.so: realloc
|
|
libm.so: matherr
|
|
# The TLS-enabled version of these functions is interposed from libc.so.
|
|
ld.so: _dl_signal_error
|
|
ld.so: _dl_catch_error
|
|
ld.so: _dl_signal_exception
|
|
ld.so: _dl_catch_exception
|