public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/2] symbols: Add defines for libanl's libanl_hidden_{def|proto}
@ 2020-12-01  9:44 Lukasz Majewski
  2020-12-01  9:44 ` [PATCH 2/2] y2038: Convert gai_suspend to support 64 bit time Lukasz Majewski
  2020-12-01  9:58 ` [PATCH 1/2] symbols: Add defines for libanl's libanl_hidden_{def|proto} Florian Weimer
  0 siblings, 2 replies; 5+ messages in thread
From: Lukasz Majewski @ 2020-12-01  9:44 UTC (permalink / raw)
  To: Joseph Myers, Paul Eggert, Adhemerval Zanella
  Cc: Alistair Francis, Arnd Bergmann, Alistair Francis, GNU C Library,
	Florian Weimer, Carlos O'Donell, Stepan Golosunov,
	Andreas Schwab, Zack Weinberg, Lukasz Majewski

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.
---
 include/libc-symbols.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index b8103b98bb..154a73b5e5 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>
 
-- 
2.20.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-12-01 17:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-01  9:44 [PATCH 1/2] symbols: Add defines for libanl's libanl_hidden_{def|proto} Lukasz Majewski
2020-12-01  9:44 ` [PATCH 2/2] y2038: Convert gai_suspend to support 64 bit time Lukasz Majewski
2020-12-01 12:32   ` Adhemerval Zanella
2020-12-01 17:07   ` Alistair Francis
2020-12-01  9:58 ` [PATCH 1/2] symbols: Add defines for libanl's libanl_hidden_{def|proto} Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).