aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2014-05-14 16:27:14 -0700
committerSandra Loosemore <sandra@codesourcery.com>2014-05-14 16:27:14 -0700
commitd9e042ac0bc08b6c3890cc53cbd43c73c522e720 (patch)
treebb9ef2254ab8dd552f1fd953f5e88ba6df46f55c /config
parentdd7566892070fbccb91c536c46584c20ef29961b (diff)
downloadgdb-d9e042ac0bc08b6c3890cc53cbd43c73c522e720.zip
gdb-d9e042ac0bc08b6c3890cc53cbd43c73c522e720.tar.gz
gdb-d9e042ac0bc08b6c3890cc53cbd43c73c522e720.tar.bz2
Sync nios2 configure changes from GCC mainline.
2014-05-14 Sandra Loosemore <sandra@codesourcery.com> * configure.ac (target_makefile_frag): Set for nios2-*-elf*. * configure: Regenerated. config/ * mt-nios2-elf: New file.
Diffstat (limited to 'config')
-rw-r--r--config/ChangeLog4
-rw-r--r--config/mt-nios2-elf5
2 files changed, 9 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index 885e067..8212c31 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
+
+ * mt-nios2-elf: New file.
+
2013-12-07 Mike Frysinger <vapier@gentoo.org>
* acinclude.m4: Remove +x file mode.
diff --git a/config/mt-nios2-elf b/config/mt-nios2-elf
new file mode 100644
index 0000000..1dee7c6
--- /dev/null
+++ b/config/mt-nios2-elf
@@ -0,0 +1,5 @@
+# We build library code with -mno-gpopt so that it can be linked with
+# larger executables with small-data sections that exceed the 16-bit
+# offset range for GP-relative addressing.
+CFLAGS_FOR_TARGET += -mno-gpopt
+CXXFLAGS_FOR_TARGET += -mno-gpopt