[PATCH,committed] AIX LDFLAGS

David Edelsohn dje.gcc@gmail.com
Thu Apr 22 19:38:00 GMT 2010


Because of the memory layout of 32 bit AIX processes, it helps to
specify more data area in all of the compiler executables to ensure
that they can compile large programs.

Bootstrapped and regression tested on powerpc-ibm-aix5.3.0.0.

David


* config/rs6000/x-aix: Override LDFLAGS for all COMPILERS.

Index: x-aix
===================================================================
--- x-aix       (revision 158649)
+++ x-aix       (working copy)
@@ -2,5 +2,5 @@
 build/genautomata : override LDFLAGS += -Wl,-bmaxdata:0x20000000

 # jc1 requires more than 256MB of data
-jc1 : override LDFLAGS += -Wl,-bmaxdata:0x20000000
+$(COMPILERS) : override LDFLAGS += -Wl,-bmaxdata:0x40000000



More information about the Gcc-patches mailing list