This is the mail archive of the gcc-patches@gcc.gnu.org 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]

Re: [patch] to gcc: use xexit/xatexit in fixinc


On Jan  1, 2001, Geoff Keating <geoffk@geoffk.org> wrote:

> Probably the best way to do this is in the frontends; just have the C
> and C++ frontends replace references to atexit with references to
> xatexit, implement xatexit in libgcc, and compile main() specially so
> that it calls xexit instead of returning.

No, you misunderstand.  I'm not talking about programs compiled with
GCC, we're talking about GCC itself making use of atexit() (for
example, in fixinc), and how to make it work on platforms that don't
support atexit().

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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