mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Remove __morecore and __default_morecore
Make the __morecore and __default_morecore symbols compat-only and remove their declarations from the API. Also, include morecore.c directly into malloc.c; this should ideally get merged into malloc in a future cleanup. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@ -20,6 +20,8 @@
|
||||
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_34)
|
||||
void weak_variable (*__after_morecore_hook) (void) = NULL;
|
||||
compat_symbol (libc, __after_morecore_hook, __after_morecore_hook, GLIBC_2_0);
|
||||
void *(*__morecore)(ptrdiff_t);
|
||||
compat_symbol (libc, __morecore, __morecore, GLIBC_2_0);
|
||||
#endif
|
||||
|
||||
/* Hooks for debugging versions. The initial hooks just call the
|
||||
|
Reference in New Issue
Block a user