diff options
Diffstat (limited to 'csu/libc-start.c')
-rw-r--r-- | csu/libc-start.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/csu/libc-start.c b/csu/libc-start.c index fa9085cf55..e5da3efd06 100644 --- a/csu/libc-start.c +++ b/csu/libc-start.c @@ -161,7 +161,8 @@ LIBC_START_MAIN (int (*main) (int, char **, char ** MAIN_AUXVEC_DECL), So we can set up _dl_phdr and _dl_phnum even without any information from auxv. */ - extern const ElfW(Ehdr) __ehdr_start __attribute__ ((weak)); + extern const ElfW(Ehdr) __ehdr_start + __attribute__ ((weak, visibility ("hidden"))); if (&__ehdr_start != NULL) { assert (__ehdr_start.e_phentsize == sizeof *GL(dl_phdr)); |