public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Fix __REDIRECT_NTH [BZ #377]
@ 2004-09-10 17:21 Jakub Jelinek
  2004-09-10 17:44 ` [PATCH] Fix __REDIRECT_NTH [BZ #377] (take 2) Jakub Jelinek
  0 siblings, 1 reply; 4+ messages in thread
From: Jakub Jelinek @ 2004-09-10 17:21 UTC (permalink / raw)
  To: Ulrich Drepper; +Cc: Richard Henderson, Glibc hackers

Hi!

This seems to work for me in both C++ and C.

2004-09-10  Jakub Jelinek  <jakub@redhat.com>

	* 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-10 21:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-10 17:21 [PATCH] Fix __REDIRECT_NTH [BZ #377] Jakub Jelinek
2004-09-10 17:44 ` [PATCH] Fix __REDIRECT_NTH [BZ #377] (take 2) Jakub Jelinek
2004-09-10 21:06   ` Richard Henderson
2004-09-10 21:16   ` Ulrich Drepper

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).