summaryrefslogtreecommitdiffstats
path: root/config/mh-ppc-aix
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-19 17:02:00 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2005-12-19 17:02:00 +0000
commit9d44a80215cae63598a3982edd1a67d23bd9f725 (patch)
treedbc4d0e6c6c37767de48ab0e18bb5be443b2a8e2 /config/mh-ppc-aix
parent1d13311084125d7622e74f9d2118e7ff704818b6 (diff)
downloadppe42-gcc-9d44a80215cae63598a3982edd1a67d23bd9f725.tar.gz
ppe42-gcc-9d44a80215cae63598a3982edd1a67d23bd9f725.zip
2005-12-19 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Select appropriate fragments for PowerPC/AIX. * configure: Regenerate. * Makefile.def (flags_to_pass): Add ADAFLAGS, BOOT_ADAFLAGS, BOOT_CFLAGS, BOOT_LDFLAGS. * Makefile.tpl (POSTSTAGE1_FLAGS_TO_PASS): Handle BOOT_ADAFLAGS, BOOT_CFLAGS, BOOT_LDFLAGS. (TARGET_FLAGS_TO_PASS): Handle ADAFLAGS_FOR_TARGET. (stage[+id+]-bubble): Pass flags recursively to the comparison target. (stage): Fail if we cannot complete the work. * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@108793 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config/mh-ppc-aix')
-rw-r--r--config/mh-ppc-aix8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/mh-ppc-aix b/config/mh-ppc-aix
new file mode 100644
index 00000000000..f2bc76a0c3e
--- /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;`
OpenPOWER on IntegriCloud