public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] One more libc-tsd fix
@ 2004-08-09  9:16 Jakub Jelinek
  0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2004-08-09  9:16 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: Glibc hackers

Hi!

Although linuxthreads/libc.so (with some binutils) links without this,
it is DT_TEXTREL and check-testrel complains.

2004-08-09  Jakub Jelinek  <jakub@redhat.com>

	* libc-tsd.c (__res_maybe_init): New function.  Add libc_hidden_def.

--- libc/linuxthreads/libc-tsd.c.jj	2004-08-09 01:54:30.000000000 -0400
+++ libc/linuxthreads/libc-tsd.c	2004-08-09 04:58:09.059231931 -0400
@@ -34,3 +34,9 @@ struct __res_state _res;
 #endif
 
 unsigned long long int __res_initstamp;
+int
+__res_maybe_init (res_state resp, int preinit)
+{
+  return -1;
+}
+libc_hidden_def (__res_maybe_init)

	Jakub

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-09  9:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-09  9:16 [PATCH] One more libc-tsd fix Jakub Jelinek

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).