aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/mh-ppc-aix8
-rw-r--r--config/mt-ppc-aix6
2 files changed, 14 insertions, 0 deletions
diff --git a/config/mh-ppc-aix b/config/mh-ppc-aix
new file mode 100644
index 0000000..f2bc76a
--- /dev/null
+++ b/config/mh-ppc-aix
@@ -0,0 +1,8 @@
+
+# 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
+BOOT_LDFLAGS = -Wl,-bbigtoc
+LDFLAGS = `case $(CC) in *gcc*) echo -Wl,-bbigtoc ;; esac;`
diff --git a/config/mt-ppc-aix b/config/mt-ppc-aix
new file mode 100644
index 0000000..198e90d
--- /dev/null
+++ b/config/mt-ppc-aix
@@ -0,0 +1,6 @@
+
+# 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.
+ADAFLAGS_FOR_TARGET = -mminimal-toc