summaryrefslogtreecommitdiff
path: root/gnu/gcc/config/mh-ppc-aix
diff options
context:
space:
mode:
authorRobert Nagy <robert@cvs.openbsd.org>2009-10-15 17:11:34 +0000
committerRobert Nagy <robert@cvs.openbsd.org>2009-10-15 17:11:34 +0000
commit2faa5c93c1cb8fe9a551a57cbe7ccee57638b318 (patch)
treeae87020fe63f170fb407b2fb81db6bd3b2494657 /gnu/gcc/config/mh-ppc-aix
parent53e92725352eac1e8b50d3ebb549af601e383850 (diff)
import of gcc-4.2.1, the last gcc release under GPLv2
Diffstat (limited to 'gnu/gcc/config/mh-ppc-aix')
-rw-r--r--gnu/gcc/config/mh-ppc-aix8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/gcc/config/mh-ppc-aix b/gnu/gcc/config/mh-ppc-aix
new file mode 100644
index 00000000000..f2bc76a0c3e
--- /dev/null
+++ b/gnu/gcc/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;`