From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1248 invoked by alias); 10 Sep 2004 17:21:03 -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 1202 invoked from network); 10 Sep 2004 17:21:00 -0000 Received: from unknown (HELO sunsite.ms.mff.cuni.cz) (195.113.15.26) by sourceware.org with SMTP; 10 Sep 2004 17:21:00 -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 i8AHLC3j011664; Fri, 10 Sep 2004 19:21:12 +0200 Received: (from jakub@localhost) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8/Submit) id i8AHLCRb011662; Fri, 10 Sep 2004 19:21:12 +0200 Date: Fri, 10 Sep 2004 17:21:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Richard Henderson , Glibc hackers Subject: [PATCH] Fix __REDIRECT_NTH [BZ #377] Message-ID: <20040910172112.GX30497@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-09/txt/msg00042.txt.bz2 Hi! This seems to work for me in both C++ and C. 2004-09-10 Jakub Jelinek * misc/sys/cdefs.h (__REDIRECT_NTH): Change order of __THROW and __asm__. [BZ #377] --- libc/misc/sys/cdefs.h.jj 2004-09-10 19:10:03.000000000 +0200 +++ libc/misc/sys/cdefs.h 2004-09-10 19:18:36.796737517 +0200 @@ -160,7 +160,7 @@ # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) # define __REDIRECT_NTH(name, proto, alias) \ - name proto __asm__ (__ASMNAME (#alias)) __THROW + name proto __THROW __asm__ (__ASMNAME (#alias)) # define __ASMNAME(cname) __ASMNAME2 (__USER_LABEL_PREFIX__, cname) # define __ASMNAME2(prefix, cname) __STRING (prefix) cname Jakub