remove use of SHARED macro in dynamic linker version reporting
also fix visibility of the glue function used.
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
#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 {
|
||||
|
||||
Reference in New Issue
Block a user