summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog6
-rw-r--r--libgcc/config/nvptx/t-nvptx5
2 files changed, 11 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index e05ba785f06..df36a8db631 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,9 @@
+2015-02-23 Thomas Schwinge <thomas@codesourcery.com>
+
+ PR target/65181
+ * config/nvptx/t-nvptx (INHIBIT_LIBC_CFLAGS): Define to
+ -Dinhibit_libc.
+
2015-02-17 Sandra Loosemore <sandra@codesourcery.com>
* config/arm/bpabi.S (test_div_by_zero): Make label names
diff --git a/libgcc/config/nvptx/t-nvptx b/libgcc/config/nvptx/t-nvptx
index 08d3a67189e..34d68cca6cd 100644
--- a/libgcc/config/nvptx/t-nvptx
+++ b/libgcc/config/nvptx/t-nvptx
@@ -7,3 +7,8 @@ LIB2FUNCS_EXCLUDE=__main
crt0.o: $(srcdir)/config/nvptx/crt0.s
cp $< $@
+
+# Prevent building "advanced" stuff (for example, gcov support). We don't
+# support it, and it may cause the build to fail, because of alloca usage, for
+# example.
+INHIBIT_LIBC_CFLAGS = -Dinhibit_libc