+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
# 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"