summaryrefslogtreecommitdiff
path: root/arm-riscos-gnueabi/recipes/patches/gccsdk/unixlib-sync-and-fetch-atomics.p
blob: f9764babdf71778c7177e2a3c678d1c8411d70bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: libunixlib/gcccompat/atomics.c
===================================================================
--- libunixlib/gcccompat/atomics.c	(revision 7698)
+++ libunixlib/gcccompat/atomics.c	(working copy)
@@ -146,8 +146,6 @@
 ATOMIC_COMPARE_AND_EXCHANGE(4,uint32_t)
 ATOMIC_COMPARE_AND_EXCHANGE(8,uint64_t)
 
-#ifndef __ARM_EABI__
-
 /* These built-in functions perform the operation suggested by the name,
  * and return the value that had previously been in *ptr. That is,
  *
@@ -200,8 +198,6 @@
 SYNC_FETCH_AND_OP(xor,^,8,long long)
 SYNC_FETCH_AND_OP(and,&,8,long long)
 
-#endif
-
 /* These built-in functions perform the operation suggested by the name,
  * and return the new value. That is,
  *