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] Misc sparc64 fixes plus bits/syscall.h typo fix


Hi!

2003-03-14  Jakub Jelinek  <jakub at redhat dot com>

	* sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Fix a typo.

	* sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include
	sysdeps/posix/pause.c instead of sysdeps/unix/common/pause.c.
linuxthreads/
	* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: New file.
	* sysdeps/unix/sysv/linux/sparc/Makefile ($(objpfx)specs): Use full
	path for crt[in].o.

--- libc/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile.jj	Fri Mar 14 19:50:24 2003
+++ libc/linuxthreads/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile	Fri Mar 14 19:50:35 2003
@@ -0,0 +1,3 @@
+ifeq ($(subdir),linuxthreads)
+libpthread-routines += ptw-sigprocmask
+endif
--- libc/linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile.jj	Fri Feb 21 14:13:24 2003
+++ libc/linuxthreads/sysdeps/unix/sysv/linux/sparc/Makefile	Fri Mar 14 21:29:35 2003
@@ -6,6 +6,6 @@ before-compile += $(objpfx)specs
 generated += specs
 $(objpfx)specs:
 	$(CC) $(CFLAGS) $(CPPFLAGS) -dumpspecs \
-	  | sed 's,\(/usr/lib\(\|64\)/\|^\|\([^/a-z]\)\)\(crt[in]\.o\),\3./\4,g' > $ at  dot new
+	  | sed 's~\(/usr/lib\(\|64\)/\|^\|\([^/a-z]\)\)\(crt[in]\.o\)~\3'$(objpfx)'\4~g' > $ at  dot new
 	mv -f $ at  dot new $@
 endif
--- libc/sysdeps/unix/sysv/linux/sparc/sparc64/pause.c.jj	Wed Jun  2 07:10:10 1999
+++ libc/sysdeps/unix/sysv/linux/sparc/sparc64/pause.c	Fri Mar 14 16:56:32 2003
@@ -1 +1 @@
-#include <sysdeps/unix/common/pause.c>
+#include <sysdeps/posix/pause.c>
--- libc/sysdeps/unix/sysv/linux/Makefile.jj	2002-12-20 07:37:06.000000000 -0500
+++ libc/sysdeps/unix/sysv/linux/Makefile	2003-03-14 10:49:39.000000000 -0500
@@ -42,7 +42,7 @@ $(objpfx)syscall-%.h $(objpfx)syscall-%.
 	 sed -n 's at ^#define __NR_\([^ ]*\)  dot *$$ at #define SYS_\1 __NR_\1 at p' | \
 	 LC_ALL=C sort > $(@:.d=.h).new32; \
 	 SUNPRO_DEPENDENCIES='$(@:.h=.d)-t $@' \
-	 $(CC) -E -x c $(sysincludes) $< $(addprefix -U,$(64bit-predefine)) \
+	 $(CC) -E -x c $(sysincludes) $< $(addprefix -U,$(32bit-predefine)) \
 	   $(addprefix -D,$(64bit-predefine)) -D_LIBC -dM | \
 	 sed -n 's at ^#define __NR_\([^ ]*\)  dot *$$ at #define SYS_\1 __NR_\1 at p' | \
 	 LC_ALL=C sort > $(@:.d=.h).new64; \

	Jakub


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