From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16205 invoked by alias); 6 Aug 2004 14:57:26 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 16188 invoked from network); 6 Aug 2004 14:57:25 -0000 Received: from unknown (HELO sunsite.ms.mff.cuni.cz) (195.113.15.26) by sourceware.org with SMTP; 6 Aug 2004 14:57:25 -0000 Received: from sunsite.ms.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8) with ESMTP id i76Ceb3j001396; Fri, 6 Aug 2004 14:40:37 +0200 Received: (from jakub@localhost) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8/Submit) id i76Ceapq001394; Fri, 6 Aug 2004 14:40:36 +0200 Date: Fri, 06 Aug 2004 14:57:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Fix linuxthreads build on ia64 Message-ID: <20040806124036.GK30497@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2004-08/txt/msg00015.txt.bz2 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 * 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