This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |