summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-02-19 00:34:29 -0800
committerKhem Raj <raj.khem@gmail.com>2010-02-19 00:34:29 -0800
commit323bc3be3b3144932bbb5ee2a586e9ab4074239e (patch)
tree06aa7dff415d6c3f74e599fcc6e5188552a1bcf7 /libpthread/nptl/sysdeps
parent00f5c08d216581e02a1e5cc8a8076ae3779ea6ca (diff)
Fixes to get nptl compiling for x86
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libpthread/nptl/sysdeps')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/i386/Makefile.arch1
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S2
2 files changed, 2 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/Makefile.arch b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/Makefile.arch
index 9bb19381c..b36c04206 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/Makefile.arch
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/Makefile.arch
@@ -24,6 +24,7 @@ libc_a_SSRC += i486/libc-lowlevellock.S
CFLAGS-OMIT-fork.c = -DNOT_IN_libc=1 -DIS_IN_libpthread=1
+CFLAGS-pt-__syscall_error.c = -DNOT_IN_libc=1 -DIS_IN_libpthread=1
ifeq ($(UCLIBC_HAS_STDIO_FUTEXES),y)
CFLAGS-fork.c = -D__USE_STDIO_FUTEXES__
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S
index 7ab222e1b..aff926a8f 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S
@@ -61,7 +61,7 @@ ENTRY (__vfork)
cmpl $-4095, %eax
jae SYSCALL_ERROR_LABEL /* Branch forward if it failed. */
-.Lpseudo_end:
+L(pseudo_end):
ret
PSEUDO_END (__vfork)