This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
sh atomics config
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc: aoliva at redhat dot com, joern dot rennecke at st dot com
- Date: Tue, 12 Sep 2006 16:34:26 +0200
- Subject: sh atomics config
When SH4a atomicity.h was added here:
http://gcc.gnu.org/ml/libstdc++-cvs/2004-q3/msg00209.html
I think it was done incorrectly. Specifically, it duplicates the
generic code when __SH4A__ is not defined: this is a no-no. There's
already been one update to merge in new generics code because this file
was not tracking changes. The solution is to re-do the config. I don't
see any commentary from library folks went in about this issue, but
perhaps I'm missing something. It was a long time ago.
I'd like to fix this up. In particular, I'd like to use some kind of
host_cpu based switch, sh4-* for instance. Seems too easy: is this
possible?
Also, can one of you two cc'd confirm that this is not applicable for
sh5 or sh64?
best,
-benjamin