aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.3.1/config/mh-ppc-aix
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.3.1/config/mh-ppc-aix')
-rw-r--r--gcc-4.3.1/config/mh-ppc-aix9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc-4.3.1/config/mh-ppc-aix b/gcc-4.3.1/config/mh-ppc-aix
new file mode 100644
index 000000000..a56985fa9
--- /dev/null
+++ b/gcc-4.3.1/config/mh-ppc-aix
@@ -0,0 +1,9 @@
+
+# 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;`