]> git.ipfire.org Git - thirdparty/gcc.git/commit - libgcc/ChangeLog
re PR c++/54601 (AIX uses atexit which causes unloading of shared modules to break)
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 1 Feb 2013 20:26:24 +0000 (20:26 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Fri, 1 Feb 2013 20:26:24 +0000 (15:26 -0500)
commit99113dff9d9f04184797e8f3565dfe0c900a2345
tree30472f84083cf675f186689b2add871ca6d548f8
parentddd84654d90b8056c5aa1a5f164cb685db327aa0
re PR c++/54601 (AIX uses atexit which causes unloading of shared modules to break)

        PR target/54601
libgcc/
        * config.host (powerpc-ibm-aix[56789]): Add t-aix-cxa to tmake_file.
        Add crtcxa to extra_parts.
        * config/rs6000/exit.h: New file.
        * config/rs6000/cxa_atexit.c: New file.
        * config/rs6000/cxa_finalize.c: New file.
        * config/rs6000/crtcxa.c: New file.
        * config/rs6000/t-aix-cxa: New file.
        * config/rs6000/libgcc-aix-cxa.ver: New file.

gcc/
        * configure.ac (cxa_atexit): Add AIX.
        * configure: Regenerate.

        * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o.

From-SVN: r195675
12 files changed:
gcc/ChangeLog
gcc/config/rs6000/aix61.h
gcc/configure
gcc/configure.ac
libgcc/ChangeLog
libgcc/config.host
libgcc/config/rs6000/crtcxa.c [new file with mode: 0644]
libgcc/config/rs6000/cxa_atexit.c [new file with mode: 0644]
libgcc/config/rs6000/cxa_finalize.c [new file with mode: 0644]
libgcc/config/rs6000/exit.h [new file with mode: 0644]
libgcc/config/rs6000/libgcc-aix-cxa.ver [new file with mode: 0644]
libgcc/config/rs6000/t-aix-cxa [new file with mode: 0644]