[RFC,PATCH] __cxa_atexit support for AIX (v2)

2013-02-01 Thread David Edelsohn
Richard Stallman has given permission to include code derived from GNU C Library in libgcc for AIX using the GCC Runtime Exception license. The updated patch is appended. The GNU C Library code (cxa_atexit.c, cxa_finalize.c, exit.h) is modified, so I am not exactly certain if my reference to the

[PATCH] __cxa_atexit support for AIX

2013-01-29 Thread David Edelsohn
Inspired by Perry's patch to add __cxa_atexit support, I have implemented a similar patch. This version adds __cxa_atexit and __cxa_finalize support to libgcc on AIX and makes no changes to collect2 processing. Because AIX does not use crtstuff.c for init/fini processing, I used an extremely low-