aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2013-02-01 20:26:24 +0000
committerDavid Edelsohn <dje.gcc@gmail.com>2013-02-01 20:26:24 +0000
commit4b27c1fe5e1eab26d5bb9f9c7a61c5ebe897ad14 (patch)
tree30472f84083cf675f186689b2add871ca6d548f8 /gcc/configure
parent7d26285a7ec2d882a053a7dcbd7b6af7b89d91a4 (diff)
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@195675 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc/configure b/gcc/configure
index 6711c0feb5f..d4f49bbeceb 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -11136,6 +11136,9 @@ if test x$enable___cxa_atexit = xyes || \
*-*-mingw32*)
use_cxa_atexit=yes
;;
+ powerpc-ibm-aix*)
+ use_cxa_atexit=yes
+ ;;
*)
ac_fn_c_check_func "$LINENO" "__cxa_atexit" "ac_cv_func___cxa_atexit"
if test "x$ac_cv_func___cxa_atexit" = x""yes; then :
@@ -17825,7 +17828,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 17828 "configure"
+#line 17831 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -17931,7 +17934,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 17934 "configure"
+#line 17937 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H