This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via 27ead8e5c8382b60b660980b3225b4341b617e89 (commit)
via 46b205c0a8bf1f6d04458bd1e91f666d7916b205 (commit)
via d7cacc8ff10bb4d17d50b0ba8a08a6a37fc75bcc (commit)
from 71a37d8a7efe76b30ef04f540576040150628659 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 27ead8e5c8382b60b660980b3225b4341b617e89
Author: Vineet Gupta <Vineet.Gupta1(a)synopsys.com>
Date: Wed Oct 21 12:42:25 2015 +0530
ARC: With NPTL support, GP is no longer used for PIC
Signed-off-by: Vineet Gupta <vgupta(a)synopsys.com>
commit 46b205c0a8bf1f6d04458bd1e91f666d7916b205
Author: Vineet Gupta <Vineet.Gupta1(a)synopsys.com>
Date: Wed Oct 21 12:42:24 2015 +0530
NPTL/ARC: fix __lll_lock_wait_private redefinition for static links
Commit 2d9740a65a "uclibc: nptl: fix __lll_lock_wait_private multiple
definition"
did a sweeping change which did for all in tree arches at that time (ARC
wasn't)
Signed-off-by: Vineet Gupta <vgupta(a)synopsys.com>
commit d7cacc8ff10bb4d17d50b0ba8a08a6a37fc75bcc
Author: Vineet Gupta <Vineet.Gupta1(a)synopsys.com>
Date: Wed Oct 21 12:42:23 2015 +0530
NPTL/ARCv2: Implement full memory barrier for NPTL
Signed-off-by: Vineet Gupta <vgupta(a)synopsys.com>
-----------------------------------------------------------------------
Summary of changes:
ldso/ldso/arc/dl-sysdep.h | 6 ------
libc/sysdeps/linux/arc/bits/atomic.h | 7 +++++--
libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c | 4 +++-
3 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/ldso/ldso/arc/dl-sysdep.h b/ldso/ldso/arc/dl-sysdep.h
index ca62a2c..b6bda9d 100644
--- a/ldso/ldso/arc/dl-sysdep.h
+++ b/ldso/ldso/arc/dl-sysdep.h
@@ -127,12 +127,6 @@ static __always_inline Elf32_Addr elf_machine_dynamic(void)
__asm__("ld %0,[pcl,_DYNAMIC@gotpc]\n\t" : "=r" (dyn));
return dyn;
-
-/*
- * Another way would have been to simply return GP, which due to some
- * PIC reference would be automatically setup by gcc in caller
- * register Elf32_Addr *got __asm__ ("gp"); return *got;
- */
}
/* Return the run-time load address of the shared object. */
diff --git a/libc/sysdeps/linux/arc/bits/atomic.h b/libc/sysdeps/linux/arc/bits/atomic.h
index d4abf4e..1fdc83f 100644
--- a/libc/sysdeps/linux/arc/bits/atomic.h
+++ b/libc/sysdeps/linux/arc/bits/atomic.h
@@ -24,8 +24,11 @@ typedef uintmax_t uatomic_max_t;
void __arc_link_error (void);
-#define atomic_full_barrier() \
- __asm__ __volatile__("": : :"memory")
+#ifdef __A7__
+#define atomic_full_barrier() __asm__ __volatile__("": : :"memory")
+#else
+#define atomic_full_barrier() __asm__ __volatile__("dmb 3": :
:"memory")
+#endif
/* Atomic compare and exchange. */
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c
b/libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c
index 1aa7960..fd39fe9 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.c
@@ -24,8 +24,10 @@
#include <tls.h>
#include <tcb-offsets.h>
-
void
+#ifndef IS_IN_libpthread
+weak_function
+#endif
__lll_lock_wait_private (int *futex)
{
if (*futex == 2)
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
Show replies by date