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]

[PATCH] Fix linuxthreads build on ia64


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]