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++.
This commit is contained in:
François Revol 2013-09-29 21:02:11 +02:00
parent 624ba5482b
commit c436d67da4

View File

@ -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)
{