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