From 353a58f77c86074af636b018e4f72121ba7dd1c2 Mon Sep 17 00:00:00 2001 From: Andrew Haley Date: Wed, 12 Aug 2009 15:54:37 +0000 Subject: [PATCH] arm.c (arm_init_libfuncs): Add __sync_synchronize. 2009-08-11 Andrew Haley * config/arm/arm.c (arm_init_libfuncs): Add __sync_synchronize. From-SVN: r150697 --- gcc/ChangeLog | 4 ++++ gcc/config/arm/arm.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 60abbc7..13788c3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2009-08-11 Andrew Haley + + * config/arm/arm.c (arm_init_libfuncs): Add __sync_synchronize. + 2009-08-12 Sebastian Pop PR bootstrap/40103 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". */ -- 2.7.4