mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Mark __libc_multiple_libcs with attribute_hidden [BZ #18822]
Since __libc_multiple_libcs is defined as hidden symbol in init-first.c, it should be always marked with attribute_hidden. [BZ #18822] * csu/libc-start.c (__libc_multiple_libcs): Removed. * elf/dl-open.c: Include <libc-internal.h>. (__libc_multiple_libcs): Removed. * elf/dl-sysdep.c: Include <libc-internal.h> instead of <hp-timing.h>. * include/libc-internal.h (__libc_multiple_libcs): New. * misc/sbrk.c: Include <libc-internal.h>. (__libc_multiple_libcs): Removed.
This commit is contained in:
@ -53,4 +53,6 @@ extern void __init_misc (int, char **, char **);
|
||||
extern __typeof (__profile_frequency) __profile_frequency attribute_hidden;
|
||||
# endif
|
||||
|
||||
extern int __libc_multiple_libcs attribute_hidden;
|
||||
|
||||
#endif /* _LIBC_INTERNAL */
|
||||
|
Reference in New Issue
Block a user