From 9d44a80215cae63598a3982edd1a67d23bd9f725 Mon Sep 17 00:00:00 2001
From: bonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Mon, 19 Dec 2005 17:02:00 +0000
Subject: 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
---
 config/mh-ppc-aix | 8 ++++++++
 config/mt-ppc-aix | 6 ++++++
 2 files changed, 14 insertions(+)
 create mode 100644 config/mh-ppc-aix
 create mode 100644 config/mt-ppc-aix

(limited to 'config')

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
-- 
cgit v1.2.1