From: David Edelsohn Date: Thu, 13 Mar 2008 18:59:29 +0000 (-0400) Subject: ltcf-c.sh: Add AIX 6 support. X-Git-Tag: prereleases/gcc-4.2.4-rc1~81 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8198d4c9a27e01afa48603545138845b105283e3;p=thirdparty%2Fgcc.git ltcf-c.sh: Add AIX 6 support. * ltcf-c.sh: Add AIX 6 support. * ltcf-cxx.sh: Add AIX 6 support. * ltcf-gcj.sh: Add AIX 6 support. * ltconfig: Add AIX 6 support. From-SVN: r133183 --- diff --git a/ChangeLog b/ChangeLog index 3e299f98a5c5..f0a53e6f76de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-03-13 David Edelsohn + + * ltcf-c.sh: Add AIX 6 support. + * ltcf-cxx.sh: Add AIX 6 support. + * ltcf-gcj.sh: Add AIX 6 support. + * ltconfig: Add AIX 6 support. + 2008-02-01 Release Manager * GCC 4.2.3 released. @@ -2383,7 +2390,7 @@ of libf2c. * configure, Makefile.in: Regenerate. -2004-05-13 Tobias Schlüter +2004-05-13 Tobias SchlÃÂüter * MAINTAINERS (Write After Approval): Add myself. diff --git a/ltcf-c.sh b/ltcf-c.sh index 5eb05db43f5a..f3b022dcb374 100644 --- a/ltcf-c.sh +++ b/ltcf-c.sh @@ -57,7 +57,7 @@ if test "$with_gnu_ld" = yes; then # See if GNU ld supports shared libraries. case $host_os in - aix3* | aix4* | aix5*) + aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no @@ -263,7 +263,7 @@ else fi ;; - aix4* | aix5*) + aix[4-9]*) hardcode_direct=yes hardcode_libdir_separator=':' link_all_deplibs=yes diff --git a/ltcf-cxx.sh b/ltcf-cxx.sh index e264452dd6f8..777971497fe2 100644 --- a/ltcf-cxx.sh +++ b/ltcf-cxx.sh @@ -123,7 +123,7 @@ case $host_os in # FIXME: insert proper C++ library support ld_shlibs=no ;; - aix4* | aix5*) + aix[4-9]*) archive_cmds='' hardcode_direct=yes hardcode_libdir_separator=':' @@ -778,7 +778,7 @@ if test "$with_gcc" = yes; then esac else case $host_os in - aix4* | aix5*) + aix[4-9]*) # All AIX code is PIC. if test "$host_cpu" = ia64; then # AIX 5 now supports IA64 processor diff --git a/ltcf-gcj.sh b/ltcf-gcj.sh index 3f1c2814a5de..0610d73a9c25 100644 --- a/ltcf-gcj.sh +++ b/ltcf-gcj.sh @@ -60,7 +60,7 @@ if test "$with_gnu_ld" = yes; then # See if GNU ld supports shared libraries. case $host_os in - aix3* | aix4* | aix5*) + aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test "$host_cpu" != ia64; then ld_shlibs=no @@ -262,7 +262,7 @@ else fi ;; - aix4* | aix5*) + aix[4-9]*) hardcode_direct=yes hardcode_libdir_separator=':' link_all_deplibs=yes diff --git a/ltconfig b/ltconfig index cfbfda85dad3..a0727486010a 100755 --- a/ltconfig +++ b/ltconfig @@ -989,7 +989,7 @@ aix3*) soname_spec='${libname}${release}.so$major' ;; -aix4* | aix5*) +aix[4-9]*) version_type=linux if test "$host_cpu" = ia64; then # AIX 5 supports IA64 @@ -1616,7 +1616,7 @@ aix3*) fi ;; -aix4* | aix5*) +aix[4-9]*) test "$enable_shared" = yes && enable_static=no ;; esac