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, 1.0 has been updated
via 9860910d1706011a561c9a9075b0ab76af098588 (commit)
via da25b583ece753e46f6af1342986e189099dc679 (commit)
via fef346b2666ed2e7331fe4ca74a7dbaedc380b20 (commit)
from 1303e7eb2b65f5275a57b66a7bebc8bfe1b32d4f (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 9860910d1706011a561c9a9075b0ab76af098588
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 da25b583ece753e46f6af1342986e189099dc679
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 fef346b2666ed2e7331fe4ca74a7dbaedc380b20
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