aboutsummaryrefslogtreecommitdiff
path: root/config/mh-ppc-aix
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2005-12-19 17:33:45 +0000
committerPaolo Bonzini <bonzini@gnu.org>2005-12-19 17:33:45 +0000
commitf6d183c0433a67d4addd8e752a09582378f27552 (patch)
tree2460861ddded55c0bb152d0d09365742a25cdcc6 /config/mh-ppc-aix
parent3825a497191812f82848866d80f3411aad2d7057 (diff)
downloadgdb-f6d183c0433a67d4addd8e752a09582378f27552.zip
gdb-f6d183c0433a67d4addd8e752a09582378f27552.tar.gz
gdb-f6d183c0433a67d4addd8e752a09582378f27552.tar.bz2
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. config: 2005-12-19 Paolo Bonzini <bonzini@gnu.org> * mt-ppc-aix, mh-ppc-aix: New.
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 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;`