aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2005-12-19 17:02:00 +0000
committerPaolo Bonzini <bonzini@gnu.org>2005-12-19 17:02:00 +0000
commit3475de1bdc5509b8cbb619bbfa825cbaa08bb70a (patch)
treedbc4d0e6c6c37767de48ab0e18bb5be443b2a8e2 /config
parent6a3a185a42107087557da7f4a367c617464fd3f3 (diff)
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: https://gcc.gnu.org/svn/gcc/trunk@108793 138bc75d-0d04-0410-961f-82ee72b054a4
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 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;`
diff --git a/config/mt-ppc-aix b/config/mt-ppc-aix
new file mode 100644
index 00000000000..198e90d9505
--- /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