Mark __libc_multiple_libcs with attribute_hidden [BZ #18822]
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 21 Aug 2017 12:32:21 +0000 (05:32 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 21 Aug 2017 12:32:39 +0000 (05:32 -0700)
commit54e4b8f21590d57ec9a2f2ad81a17c57e3b3984f
tree59e75443b45d8ad88b3a47fa52a23e0e22050899
parent1dbbb1ec7af9026bbdc6dd265525de0c3958406c
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.
ChangeLog
csu/libc-start.c
elf/dl-open.c
elf/dl-sysdep.c
include/libc-internal.h
misc/sbrk.c