diff options
| author | Khem Raj <kraj@mvista.com> | 2008-07-10 01:02:47 +0000 |
|---|---|---|
| committer | Khem Raj <kraj@mvista.com> | 2008-07-10 01:02:47 +0000 |
| commit | c614f26b7c3f57eaa13066cdabdbd033b599c164 (patch) | |
| tree | 9c05bf35c995dba1f7f339bbd9bf1e3ea0283879 /libc | |
| parent | 9609598f8f2d2a480f9725e9c676253ba4612b19 (diff) | |
| download | uClibc-alpine-c614f26b7c3f57eaa13066cdabdbd033b599c164.tar.bz2 uClibc-alpine-c614f26b7c3f57eaa13066cdabdbd033b599c164.tar.xz | |
Thumb atomic operations and makefile changes to accomodate NPTL
Diffstat (limited to 'libc')
| -rw-r--r-- | libc/sysdeps/linux/arm/Makefile.arch | 14 | ||||
| -rw-r--r-- | libc/sysdeps/linux/arm/libc-aeabi_read_tp.S | 1 | ||||
| -rw-r--r-- | libc/sysdeps/linux/arm/libc-thumb_atomics.S | 1 |
3 files changed, 14 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/arm/Makefile.arch b/libc/sysdeps/linux/arm/Makefile.arch index a3b6fc4d8..5700b5402 100644 --- a/libc/sysdeps/linux/arm/Makefile.arch +++ b/libc/sysdeps/linux/arm/Makefile.arch @@ -6,12 +6,22 @@ # CSRC := brk.c ioperm.c iopl.c mmap.c posix_fadvise.c posix_fadvise64.c \ - sigaction.c __syscall_error.c + __syscall_error.c + +ifneq ($(UCLIBC_HAS_THREADS_NATIVE),y) +CSRC += sigaction.c +endif SSRC := \ - __longjmp.S vfork.S clone.S setjmp.S bsd-setjmp.S \ + __longjmp.S setjmp.S bsd-setjmp.S \ bsd-_setjmp.S sigrestorer.S mmap64.S +ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) +SSRC += libc-aeabi_read_tp.S libc-thumb_atomics.S +else +SSRC += vfork.S clone.S +endif + 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 \ diff --git a/libc/sysdeps/linux/arm/libc-aeabi_read_tp.S b/libc/sysdeps/linux/arm/libc-aeabi_read_tp.S new file mode 100644 index 000000000..3aa135bf2 --- /dev/null +++ b/libc/sysdeps/linux/arm/libc-aeabi_read_tp.S @@ -0,0 +1 @@ +#include <ldso/ldso/arm/aeabi_read_tp.S> diff --git a/libc/sysdeps/linux/arm/libc-thumb_atomics.S b/libc/sysdeps/linux/arm/libc-thumb_atomics.S new file mode 100644 index 000000000..e7bc8950d --- /dev/null +++ b/libc/sysdeps/linux/arm/libc-thumb_atomics.S @@ -0,0 +1 @@ +#include <ldso/ldso/arm/thumb_atomics.S> |
