[git commit master] Revert "syscall.c: Use common syscall.c for ARM"

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Thu Oct 8 14:55:03 UTC 2009


On Sun, Sep 06, 2009 at 01:02:50AM -0700, Khem Raj wrote:
>
>commit: http://git.uclibc.org/uClibc/commit/?id=3e151bdde55f608385099d761a22c2e8951448b0
>branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
>
>This reverts commit b1913a876059949e6c309bafade55e9425ef33fb.
>OABI is still a requirement. So we override the common syscall
>implementation specifically for arm port.

Building arm EABI didn't link for me.
I can't think of a clean way to fix this right now and applied
http://git.uclibc.org/uClibc/commit/?id=374e9300e8ba8e9b1a01bd35de981b32e95db3c8
in the meantime.

Ideas?

TIA,
Bernhard
>
>Signed-off-by: Khem Raj <raj.khem at gmail.com>
>---
> libc/sysdeps/linux/arm/Makefile.arch  |    3 +
> libc/sysdeps/linux/arm/syscall-eabi.S |   73 +++++++++++++++++++++++++++++++++
> libc/sysdeps/linux/arm/syscall.c      |   53 ++++++++++++++++++++++++
> 3 files changed, 129 insertions(+), 0 deletions(-)
> create mode 100644 libc/sysdeps/linux/arm/syscall-eabi.S
> create mode 100644 libc/sysdeps/linux/arm/syscall.c
>
>diff --git a/libc/sysdeps/linux/arm/Makefile.arch b/libc/sysdeps/linux/arm/Makefile.arch
>index 76f6179..e7296d3 100644
>--- a/libc/sysdeps/linux/arm/Makefile.arch
>+++ b/libc/sysdeps/linux/arm/Makefile.arch
>@@ -19,9 +19,12 @@ ifeq ($(CONFIG_ARM_EABI),y)
> 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
> ifeq ($(UCLIBC_HAS_WCHAR),y)
> CSRC += aeabi_mb_cur_max.c
> endif
>+else
>+CSRC += syscall.c
> endif
> 
> ifeq ($(CONFIG_ARM_EABI),y)



More information about the uClibc mailing list