This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Patch for libstdc++-v3 cut and paste error
- From: Steve Ellcey <sje at cup dot hp dot com>
- To: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Wed, 23 Jul 2003 10:04:45 -0700 (PDT)
- Subject: Re: Patch for libstdc++-v3 cut and paste error
> Changelog says one file, diff says another.
Woops, my cut and paste error fix had a cut and paste error in it. The
ChangeLog is wrong and the diff right. Here it is again with the right
ChangeLog.
Steve Ellcey
sje@cup.hp.com
2003-07-23 Steve Ellcey <sje@cup.hp.com>
* config/cpu/hppa/atomicity.h: Change
_GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
to match misc-inst.cc
*** gcc.orig/gcc/libstdc++-v3/config/cpu/hppa/atomicity.h Wed Jul 23 08:59:17 2003
--- gcc/gcc/libstdc++-v3/config/cpu/hppa/atomicity.h Wed Jul 23 08:59:39 2003
*************** __Atomicity_lock<__inst>::_S_atomicity_l
*** 34,42 ****
/* Because of the lack of weak support when using the hpux
som linker, we explicitly instantiate the atomicity lock
! in src/misc-inst.cc when _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK
is defined. */
! #ifndef _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK
template volatile int __Atomicity_lock<0>::_S_atomicity_lock;
#endif
--- 34,42 ----
/* Because of the lack of weak support when using the hpux
som linker, we explicitly instantiate the atomicity lock
! in src/misc-inst.cc when _GLIBCXX_INST_ATOMICITY_LOCK
is defined. */
! #ifndef _GLIBCXX_INST_ATOMICITY_LOCK
template volatile int __Atomicity_lock<0>::_S_atomicity_lock;
#endif