[haiku-commits] haiku: hrev46134 - src/system/libroot/os

  • From: revol@xxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 29 Sep 2013 21:05:39 +0200 (CEST)

hrev46134 adds 1 changeset to branch 'master'
old head: 624ba5482b6c126c8c460b6c169592cb3afc4291
new head: c436d67da4a4800b5f9bc1263ac98daeccae6dce
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=c436d67+%5E624ba54

----------------------------------------------------------------------------

c436d67: ARM: Add note about updating libstdc++
  
  The __sync_fetch_and_add_4() helper is deprecated in newer GCC,
  and should be droped when we update libstdc++.

                                          [ François Revol <revol@xxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev46134
Commit:      c436d67da4a4800b5f9bc1263ac98daeccae6dce
URL:         http://cgit.haiku-os.org/haiku/commit/?id=c436d67
Author:      François Revol <revol@xxxxxxx>
Date:        Sun Sep 29 19:02:11 2013 UTC

----------------------------------------------------------------------------

1 file changed, 4 insertions(+), 1 deletion(-)
src/system/libroot/os/atomic.c | 5 ++++-

----------------------------------------------------------------------------

diff --git a/src/system/libroot/os/atomic.c b/src/system/libroot/os/atomic.c
index 24ccb06..f8a9cbd 100644
--- a/src/system/libroot/os/atomic.c
+++ b/src/system/libroot/os/atomic.c
@@ -89,7 +89,10 @@ atomic_get64(vint64 *value)
 
 #endif /* ATOMIC64_FUNCS_ARE_SYSCALLS */
 
-/* GCC compatibility: libstdc++ needs this one */
+/* GCC compatibility: libstdc++ needs this one.
+ * TODO: Update libstdc++ and drop this.
+ * cf. 
http://fedoraproject.org/wiki/Architectures/ARM/GCCBuiltInAtomicOperations
+ */
 
 extern int32_t __sync_fetch_and_add_4(int32_t *value, int32_t addValue)
 {


Other related posts:

  • » [haiku-commits] haiku: hrev46134 - src/system/libroot/os - revol