summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-21 00:23:06 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2010-06-21 00:23:06 +0000
commitf32557729faee159f9c184dcdef2bf4df477a688 (patch)
tree10127b0ac2c8329bd4281e72b0dc157bd8f3d8b7 /config
parente24da5a527af1958ae2dbf6dbb098328e8008d3c (diff)
downloadgcc-f32557729faee159f9c184dcdef2bf4df477a688.tar.gz
contrib/ChangeLog:
* compare-debug: Drop LTO sections. config/ChangeLog: * bootstrap-lto.mk: New. gcc/ChangeLog: * doc/install.texi: Document bootstrap-lto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161061 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog4
-rw-r--r--config/bootstrap-lto.mk8
2 files changed, 12 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 78259e63597..9d18d75f2a7 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2010-06-20 Alexandre Oliva <aoliva@redhat.com>
+
+ * bootstrap-lto.mk: New.
+
2010-06-10 Paolo Bonzini <bonzini@gnu.org>
* override.m4: Remove obsolete (<2.64) definitions.
diff --git a/config/bootstrap-lto.mk b/config/bootstrap-lto.mk
new file mode 100644
index 00000000000..14099a08b8d
--- /dev/null
+++ b/config/bootstrap-lto.mk
@@ -0,0 +1,8 @@
+# This option enables LTO for stage2 and stage3. It requires lto to
+# be enabled for stage1 with --enable-stage1-languages.
+
+STAGE2_CFLAGS += -flto
+STAGE3_CFLAGS += -flto
+
+# Ada fails to build with LTO, turn it off for now.
+BOOT_ADAFLAGS += -fno-lto