[PATCH] One more libc-tsd fix
Jakub Jelinek
jakub@redhat.com
Mon Aug 9 09:16:00 GMT 2004
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
More information about the Libc-hacker
mailing list