提交 9e0a317d 编写于 作者: R Rich Felker

remove use of SHARED macro in dynamic linker version reporting

also fix visibility of the glue function used.
上级 d56460c9
#ifdef SHARED
#include "version.h"
static const char version[] = VERSION;
__attribute__((__visibility__("hidden")))
const char *__libc_get_version()
{
return version;
}
#endif
......@@ -101,6 +101,7 @@ int __init_tp(void *);
void __init_libc(char **, char *);
void *__copy_tls(unsigned char *);
__attribute__((__visibility__("hidden")))
const char *__libc_get_version(void);
static struct builtin_tls {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册