aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2009-08-12 15:54:37 +0000
committerAndrew Haley <aph@gcc.gnu.org>2009-08-12 15:54:37 +0000
commit353a58f77c86074af636b018e4f72121ba7dd1c2 (patch)
tree28abf94c5cfcbeb9d815882d8177dad0684f7d02 /gcc/config/arm
parent4654745dcdf28770f8710b27277163b8232795a5 (diff)
downloadgcc-353a58f77c86074af636b018e4f72121ba7dd1c2.zip
gcc-353a58f77c86074af636b018e4f72121ba7dd1c2.tar.gz
gcc-353a58f77c86074af636b018e4f72121ba7dd1c2.tar.bz2
arm.c (arm_init_libfuncs): Add __sync_synchronize.
2009-08-11 Andrew Haley <aph@redhat.com> * config/arm/arm.c (arm_init_libfuncs): Add __sync_synchronize. From-SVN: r150697
Diffstat (limited to 'gcc/config/arm')
-rw-r--r--gcc/config/arm/arm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c
index ac63366..993d121 100644
--- a/gcc/config/arm/arm.c
+++ b/gcc/config/arm/arm.c
@@ -55,6 +55,7 @@
#include "langhooks.h"
#include "df.h"
#include "intl.h"
+#include "libfuncs.h"
/* Forward definitions of types. */
typedef struct minipool_node Mnode;
@@ -1062,6 +1063,9 @@ arm_init_libfuncs (void)
default:
break;
}
+
+ if (TARGET_AAPCS_BASED)
+ synchronize_libfunc = init_one_libfunc ("__sync_synchronize");
}
/* On AAPCS systems, this is the "struct __va_list". */