Re: [PATCH] Use __cxa_atexit on OpenBSD

2012-10-05 Thread Gerald Pfeifer
On Sat, 6 Oct 2012, Mark Kettenis wrote: > Fortunately OpenBSD releases are completely predictable: two releases > per year, and the version number gets increased by 0.1 every release. > And it is highly unlikely that this policy will ever be changed. So > since 5.2 will be released on November 1s

Re: [PATCH] Use __cxa_atexit on OpenBSD

2012-10-05 Thread Mark Kettenis
> Date: Fri, 5 Oct 2012 23:41:28 +0200 (CEST) > From: Gerald Pfeifer > > On Sat, 15 Sep 2012, Mark Kettenis wrote: > > Index: config.gcc > > === > > --- config.gcc (revision 191120) > > +++ config.gcc (working copy) > > @@

Re: [PATCH] Use __cxa_atexit on OpenBSD

2012-10-05 Thread Gerald Pfeifer
On Sat, 15 Sep 2012, Mark Kettenis wrote: > Index: config.gcc > === > --- config.gcc(revision 191120) > +++ config.gcc(working copy) > @@ -708,6 +708,11 @@ > *-*-openbsd2.*|*-*-openbsd3.[012]) >tm_defines="

Re: [PATCH] Use __cxa_atexit on OpenBSD

2012-10-04 Thread Mark Kettenis
> Date: Wed, 3 Oct 2012 17:45:21 +0200 (CEST) > From: Gerald Pfeifer > > On Sat, 15 Sep 2012, Ian Lance Taylor wrote: > >> 2012-09-02 Mark Kettenis > >> > >> * config.gcc (*-*-openbsd4.[3-9]|*-*-openbsd[5-9]*): Set > >> default_use_cxa_atexit to yes. > > This is OK. > > I comm

Re: [PATCH] Use __cxa_atexit on OpenBSD

2012-10-03 Thread Gerald Pfeifer
On Sat, 15 Sep 2012, Ian Lance Taylor wrote: >> 2012-09-02 Mark Kettenis >> >> * config.gcc (*-*-openbsd4.[3-9]|*-*-openbsd[5-9]*): Set >> default_use_cxa_atexit to yes. > This is OK. I committed this to trunk and plan on doing so for the 4.7 branch as well (so that OpenBSD can

Re: [PATCH] Use __cxa_atexit on OpenBSD

2012-09-15 Thread Ian Lance Taylor
On Sat, Sep 15, 2012 at 2:45 AM, Mark Kettenis wrote: > > 2012-09-02 Mark Kettenis > > * config.gcc (*-*-openbsd4.[3-9]|*-*-openbsd[5-9]*): Set > default_use_cxa_atexit to yes. This is OK. Thanks. Ian

[PATCH] Use __cxa_atexit on OpenBSD

2012-09-15 Thread Mark Kettenis
Split out from Functionality was added in OpenBSD 4.3 and has been used by the system compiler ever since. Tested on i386-*-openbsd5.2 and amd64-*-openbsd5.2. Changes a couple of FAILs on constructor/destructor related tests into PASSes.