]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - config/mh-ppc-aix
Imported gcc-4.4.3
[msp430-gcc.git] / config / mh-ppc-aix
diff --git a/config/mh-ppc-aix b/config/mh-ppc-aix
new file mode 100644 (file)
index 0000000..a56985f
--- /dev/null
@@ -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;`