mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 05:20:06 +00:00
3a0ecccb59
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 f0b2132b35
("ld.so: Support moving versioned symbols between sonames
[BZ #24741]").
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
36 lines
733 B
Plaintext
36 lines
733 B
Plaintext
libc.so: realloc
|
|
libc.so: __floatsisf
|
|
libc.so: __gtdf2 ?
|
|
libc.so: __ltdf2
|
|
libc.so: __gedf2
|
|
libc.so: malloc
|
|
libc.so: __gtsf2 ?
|
|
libc.so: __nesf2
|
|
libc.so: memalign
|
|
libc.so: __mulsf3
|
|
libc.so: __floatunsisf
|
|
libc.so: __addsf3
|
|
libc.so: __fixsfsi
|
|
libc.so: __subsf3
|
|
libc.so: __unorddf2 ?
|
|
libc.so: calloc
|
|
libc.so: __muldf3
|
|
libc.so: __unordsf2 ?
|
|
libc.so: free
|
|
libc.so: __subdf3
|
|
libc.so: __ledf2
|
|
libc.so: __adddf3
|
|
libc.so: __divdf3
|
|
libc.so: __floatsidf
|
|
libc.so: __divsf3
|
|
libc.so: __nedf2
|
|
libc.so: __eqdf2
|
|
libc.so: __extendsfdf2
|
|
libc.so: __floatundidf ?
|
|
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
|