From 54e4b8f21590d57ec9a2f2ad81a17c57e3b3984f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 21 Aug 2017 05:32:21 -0700 Subject: 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_multiple_libcs): Removed. * elf/dl-sysdep.c: Include instead of . * include/libc-internal.h (__libc_multiple_libcs): New. * misc/sbrk.c: Include . (__libc_multiple_libcs): Removed. --- csu/libc-start.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'csu/libc-start.c') diff --git a/csu/libc-start.c b/csu/libc-start.c index 6720617..24c63be 100644 --- a/csu/libc-start.c +++ b/csu/libc-start.c @@ -27,8 +27,6 @@ extern void __libc_init_first (int argc, char **argv, char **envp); -extern int __libc_multiple_libcs; - #include #ifndef SHARED # include -- cgit v1.1