summaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-30 14:20:50 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2014-10-30 14:20:50 +0000
commitc9be09e713d26c26964c329bf2686166dbc804c2 (patch)
treedbb662c459c901ebc0f3dc5710995496d403b1b8 /libstdc++-v3
parent58810b9285500100e394e26b337e48b1f58d435c (diff)
downloadgcc-c9be09e713d26c26964c329bf2686166dbc804c2.tar.gz
* configure.host (aix5+): New stanza.
(aix4.3+): Do not use -G in link command. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@216935 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/configure.host9
2 files changed, 12 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 08c44c3e552..4e01b1042ae 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -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
diff --git a/libstdc++-v3/configure.host b/libstdc++-v3/configure.host
index d1298c43cf5..6f7b09d51e9 100644
--- a/libstdc++-v3/configure.host
+++ b/libstdc++-v3/configure.host
@@ -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"