configure.host (aix5+): New stanza.

* configure.host (aix5+): New stanza.
        (aix4.3+): Do not use -G in link command.

From-SVN: r216935
This commit is contained in:
David Edelsohn 2014-10-30 14:20:50 +00:00 committed by David Edelsohn
parent 36a60e48f4
commit 020bd6f43f
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2014-10-30 David Edelsohn <dje.gcc@gmail.com>
* configure.host (aix5+): New stanza.
(aix4.3+): Do not use -G in link command.
2014-10-29 Jonathan Wakely <jwakely@redhat.com>
* include/std/functional: (_Function_base::_Function_base()): Use

View File

@ -212,14 +212,19 @@ cpu_opt_ext_random=cpu/generic/opt/bits/opt_random.h
# CPU-specifc, set those here too.
# THIS TABLE IS SORTED. KEEP IT THAT WAY.
case "${host_os}" in
aix4.[3456789]* | aix[56789]*)
aix[56789]*)
# Newer versions of AIX only support PowerPC architecture, so use
# atomic instructions directly.
os_include_dir="os/aix"
atomic_word_dir="os/aix"
;;
aix4.[3456789]*)
# We set os_include_dir to os/aix only on AIX 4.3 and newer, but
# os/aix/atomicity.h works on earlier versions of AIX 4.*, so we
# explicitly duplicate the directory for 4.[<3].
os_include_dir="os/aix"
atomicity_dir="os/aix"
atomic_word_dir="os/aix"
OPT_LDFLAGS="-Wl,-G"
;;
aix4.*)
os_include_dir="os/generic"