From 094d82d3b3e8f8c8460a802b7a9548f3ae4fda46 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sat, 29 Jan 2011 09:14:53 -0800 Subject: nptl/mips64: Fix build when using mips64 and ABIs other than o32 Signed-off-by: Khem Raj --- libc/sysdeps/linux/common/Makefile.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/sysdeps/linux') diff --git a/libc/sysdeps/linux/common/Makefile.in b/libc/sysdeps/linux/common/Makefile.in index 8a4add813..cf4cf8708 100644 --- a/libc/sysdeps/linux/common/Makefile.in +++ b/libc/sysdeps/linux/common/Makefile.in @@ -44,6 +44,10 @@ ifeq ($(TARGET_ARCH),arm) CSRC := $(filter-out vfork.c, $(CSRC)) else ifeq ($(TARGET_ARCH),x86_64) CSRC := $(filter-out vfork.c, $(CSRC)) +else ifeq ($(TARGET_ARCH),mips) +ifeq ($(CONFIG_MIPS_O32_ABI),y) +CSRC := $(filter-out waitpid.c, $(CSRC)) +endif else CSRC := $(filter-out waitpid.c, $(CSRC)) endif -- cgit v1.2.3 From 44b8aaf488b7356a893f5ce8f4b43b86334463d9 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Tue, 1 Feb 2011 17:38:07 +0100 Subject: nios2: Name architecture correctly in endian.h header Nios II is not i386 :-) Signed-off-by: Tobias Klauser Signed-off-by: Carmelo Amoroso --- libc/sysdeps/linux/nios2/bits/endian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux') diff --git a/libc/sysdeps/linux/nios2/bits/endian.h b/libc/sysdeps/linux/nios2/bits/endian.h index 54bd9d14b..de60addbc 100644 --- a/libc/sysdeps/linux/nios2/bits/endian.h +++ b/libc/sysdeps/linux/nios2/bits/endian.h @@ -1,4 +1,4 @@ -/* i386 is little-endian. */ +/* Nios II is little-endian. */ #ifndef _ENDIAN_H # error "Never use directly; include instead." -- cgit v1.2.3