From 374e9300e8ba8e9b1a01bd35de981b32e95db3c8 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 8 Oct 2009 16:48:16 +0200 Subject: Fix building arm EABI The syscall() impl on aeabi comes from syscall-eabi.S thus we do not need the generic syscall() impl. Fixes: AS libc/sysdeps/linux/arm/syscall-eabi.os CC libc/sysdeps/linux/common/syscall.os libc/libc_so.a(syscall.os): In function `syscall': syscall.c:(.text+0x0): multiple definition of `syscall' libc/libc_so.a(syscall-eabi.os):(.text+0x0): first defined here Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/arm/Makefile.arch | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/sysdeps/linux/arm/Makefile.arch') diff --git a/libc/sysdeps/linux/arm/Makefile.arch b/libc/sysdeps/linux/arm/Makefile.arch index e7296d3d9..c3c55258a 100644 --- a/libc/sysdeps/linux/arm/Makefile.arch +++ b/libc/sysdeps/linux/arm/Makefile.arch @@ -20,6 +20,7 @@ CSRC += aeabi_assert.c aeabi_atexit.c aeabi_errno_addr.c \ aeabi_localeconv.c aeabi_memclr.c aeabi_memcpy.c \ aeabi_memmove.c aeabi_memset.c find_exidx.c SSRC += syscall-eabi.S +ARCH_OBJ_FILTEROUT := syscall.c ifeq ($(UCLIBC_HAS_WCHAR),y) CSRC += aeabi_mb_cur_max.c endif -- cgit v1.2.3