* [PATCH] Fix linuxthreads build on ia64
@ 2004-08-06 14:57 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2004-08-06 14:57 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
Hi!
As __res_initstamp is attribute_hidden and libc_lite.so doesn't link
in res_libc.c but links in res_init.c, its link was failing on IA-64.
Fixed thusly.
2004-08-06 Jakub Jelinek <jakub@redhat.com>
* libc-tsd.c (__res_initstamp): New variable.
--- libc/linuxthreads/libc-tsd.c.jj 2002-11-15 04:37:07.000000000 +0100
+++ libc/linuxthreads/libc-tsd.c 2004-08-06 16:20:00.576739679 +0200
@@ -1,5 +1,5 @@
/* Special hack used to build link-time libc.so object for linking libpthread.
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -32,3 +32,5 @@ int _h_errno;
struct __res_state _res;
#endif
+
+unsigned long long int __res_initstamp;
Jakub
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-08-06 14:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-06 14:57 [PATCH] Fix linuxthreads build on ia64 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).