aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2007-06-04 09:33:35 +0000
committerPaolo Bonzini <bonzini@gnu.org>2007-06-04 09:33:35 +0000
commit9dfacfd20b2906ee57cfbca7ee11631c0d82c1d5 (patch)
treeb7bf4c5d097e3f46f8b81350b4362463594fde07 /config
parent2038f52525b3993fffbf33207287ab47d6a7fa58 (diff)
downloadbinutils-9dfacfd20b2906ee57cfbca7ee11631c0d82c1d5.zip
binutils-9dfacfd20b2906ee57cfbca7ee11631c0d82c1d5.tar.gz
binutils-9dfacfd20b2906ee57cfbca7ee11631c0d82c1d5.tar.bz2
2007-06-04 Olivier Hainque <hainque@adacore.com>
* mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS.
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog4
-rw-r--r--config/mh-ppc-aix11
2 files changed, 10 insertions, 5 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index b11c920..2bf1f1e 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2007-06-04 Olivier Hainque <hainque@adacore.com>
+
+ * mh-ppc-aix: Add default ADAFLAGS to BOOT_ADAFLAGS.
+
2007-05-27 Paolo Bonzini <bonzini@gnu.org>
* confsubdir.m4: Move here from newlib.
diff --git a/config/mh-ppc-aix b/config/mh-ppc-aix
index f2bc76a..a56985f 100644
--- a/config/mh-ppc-aix
+++ b/config/mh-ppc-aix
@@ -1,8 +1,9 @@
-# Compile Ada files with minimal-toc. The primary focus is gnatlib, so
-# that the library does not use nearly the entire TOC of applications
-# until gnatlib is built as a shared library on AIX. Compiling the
-# compiler with -mminimal-toc does not cause any harm.
-BOOT_ADAFLAGS = -mminimal-toc
+# Compile Ada files with minimal-toc in addition to the default flags (at
+# least -gnatg is required to compile language defined units). The primary
+# focus is gnatlib, so that the library does not use nearly the entire TOC of
+# applications until gnatlib is built as a shared library on AIX. Compiling
+# the compiler with -mminimal-toc does not cause any harm.
+BOOT_ADAFLAGS = -gnatapg -mminimal-toc
BOOT_LDFLAGS = -Wl,-bbigtoc
LDFLAGS = `case $(CC) in *gcc*) echo -Wl,-bbigtoc ;; esac;`