aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gcc.gnu.org>2005-12-19 17:02:00 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2005-12-19 17:02:00 +0000
commitd19bca389df2ebbed486e1df85b2319b30956a34 (patch)
treedbc4d0e6c6c37767de48ab0e18bb5be443b2a8e2 /config
parentc2fc5456232936eae2354dbdce04084ab03e09a1 (diff)
downloadgcc-d19bca389df2ebbed486e1df85b2319b30956a34.zip
gcc-d19bca389df2ebbed486e1df85b2319b30956a34.tar.gz
gcc-d19bca389df2ebbed486e1df85b2319b30956a34.tar.bz2
configure.in: Select appropriate fragments for PowerPC/AIX.
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. From-SVN: r108793
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 0000000..f2bc76a
--- /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 0000000..198e90d
--- /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