This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC 4.7.0 and C++ atomics

Hello Andrew and Richard,

On 03/07/2012 08:38 PM, Richard Henderson wrote:
On 03/07/12 10:44, Andrew MacLeod wrote:
>  rth, you are familiar with how this part is suppose to hook up properly...
>  I traced the code in expand_mem_thread_fence, and the sync_synchronize is being emiited by:
>  else if (synchronize_libfunc != NULL_RTX)
>           emit_library_call (synchronize_libfunc, LCT_NORMAL, VOIDmode, 0);
>  presumably something just isn't being linked to the executable?  or maybe not being built into libgcc?
These functions are in libgcc, but only built for linux.
See libgcc/config/arm/t-linux-eabi.

thanks for the hints. Thus if we want to use the C++ atomic operations on 32-bit ARM in RTEMS we have to implement everything in


and place it in e.g.



I guess similar procedures are required for other architectures.

Have a nice day!

Sebastian Huber, embedded brains GmbH

Address : Obere Lagerstr. 30, D-82178 Puchheim, Germany
Phone   : +49 89 18 90 80 79-6
Fax     : +49 89 18 90 80 79-9
E-Mail  :
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]