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] IA-64 build fix


Hi!

Seems I posted 10 days ago a wrong version of the IA64 errno patch, sorry.
Here is the incremental version to fix it up, now glibc build/make check
for both LT and NPTL is ok.

2004-05-04  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/ia64/sysdep.S (USE___THREAD): Remove
	defined.
nptl/
	* sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (USE___THREAD):
	Change conditional from ifdef to if.

--- libc/nptl/sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h.jj	2004-05-03 18:39:19.000000000 -0400
+++ libc/nptl/sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h	2004-05-04 05:49:43.000000000 -0400
@@ -27,7 +27,7 @@
 
 # undef PSEUDO
 
-# ifdef USE___THREAD
+# if USE___THREAD
 #  ifndef NOT_IN_libc
 #   define SYSDEP_CANCEL_ERRNO __libc_errno
 #  else
--- libc/sysdeps/unix/sysv/linux/ia64/sysdep.S.jj	2004-05-03 18:38:55.000000000 -0400
+++ libc/sysdeps/unix/sysv/linux/ia64/sysdep.S	2004-05-04 05:31:11.000000000 -0400
@@ -34,7 +34,7 @@ ENTRY(__syscall_error)
 	;;
 	st4	[r2]=r8
 	mov	r8=-1
-#elif defined USE___THREAD
+#elif USE___THREAD
 # ifndef NOT_IN_libc
 #  define SYSCALL_ERROR_ERRNO __libc_errno
 # else


	Jakub


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