diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-08-21 05:32:21 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-08-21 05:32:39 -0700 |
commit | 54e4b8f21590d57ec9a2f2ad81a17c57e3b3984f (patch) | |
tree | 59e75443b45d8ad88b3a47fa52a23e0e22050899 /misc | |
parent | 1dbbb1ec7af9026bbdc6dd265525de0c3958406c (diff) | |
download | glibc-54e4b8f21590d57ec9a2f2ad81a17c57e3b3984f.zip glibc-54e4b8f21590d57ec9a2f2ad81a17c57e3b3984f.tar.gz glibc-54e4b8f21590d57ec9a2f2ad81a17c57e3b3984f.tar.bz2 |
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.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/sbrk.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/misc/sbrk.c b/misc/sbrk.c index 965c0ef..158399d 100644 --- a/misc/sbrk.c +++ b/misc/sbrk.c @@ -18,14 +18,12 @@ #include <errno.h> #include <stdint.h> #include <unistd.h> +#include <libc-internal.h> /* Defined in brk.c. */ extern void *__curbrk; extern int __brk (void *addr); -/* Defined in init-first.c. */ -extern int __libc_multiple_libcs attribute_hidden; - /* Extend the process's data space by INCREMENT. If INCREMENT is negative, shrink data space by - INCREMENT. Return start of new space allocated, or -1 for errors. */ |