aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2020-11-30 17:57:56 +0100
committerLukasz Majewski <lukma@denx.de>2020-12-04 10:04:38 +0100
commit94551be9025b2b848e05fc5a9ada5f34060b4f6f (patch)
tree4139466176cd654ebe9dd42f339cca61f3a21c79
parentf267e1c9dd7fb8852cc32d6eafd96bbcfd5cbb2b (diff)
downloadglibc-94551be9025b2b848e05fc5a9ada5f34060b4f6f.zip
glibc-94551be9025b2b848e05fc5a9ada5f34060b4f6f.tar.gz
glibc-94551be9025b2b848e05fc5a9ada5f34060b4f6f.tar.bz2
symbols: Add defines for libanl's libanl_hidden_{def|proto}
The __gai_suspend_time64, which supports 64 bit time on ports with __WORDSIZE == 32 && __TIMESIZE != 64, shall be exported from libanl (the same library from which original gai_suspend is exported). Up till now there were no defines for this library. This commit adds them.
-rw-r--r--include/libc-symbols.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index b8103b9..154a73b 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -879,6 +879,14 @@ for linking")
# define libutil_hidden_data_ver(local, name)
#endif
+#if IS_IN (libanl)
+# define libanl_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
+# define libanl_hidden_def(name) hidden_def (name)
+#else
+# define libanl_hidden_proto(name, attrs...)
+# define libanl_hidden_def(name)
+#endif
+
/* Get some dirty hacks. */
#include <symbol-hacks.h>