Sync nios2 configure changes from GCC mainline.
authorSandra Loosemore <sandra@codesourcery.com>
Wed, 14 May 2014 23:27:14 +0000 (16:27 -0700)
committerSandra Loosemore <sandra@codesourcery.com>
Wed, 14 May 2014 23:27:14 +0000 (16:27 -0700)
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.

ChangeLog
config/ChangeLog
config/mt-nios2-elf [new file with mode: 0644]
configure
configure.ac

index e3cd1d80e6987362a4b1a5f948f1c94acae2f1f1..dcf12bb273e2b64d0aef3f71ce2b102c700275c6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-05-14  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * configure.ac (target_makefile_frag): Set for nios2-*-elf*.
+       * configure: Regenerated.
+
 2014-03-26  Jakub Jelinek  <jakub@redhat.com>
 
        PR sanitizer/56781
index 885e067853df46ca33345d0839483b4b7949330c..8212c31bb0176f8af98e325e0cd0e28812a87492 100644 (file)
@@ -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 (file)
index 0000000..1dee7c6
--- /dev/null
@@ -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
index 3f217a2eeabfd2994df5073064d057e5aed5e097..36455713f33daf8da0715333a47a95b82c4af94c 100755 (executable)
--- a/configure
+++ b/configure
@@ -6992,6 +6992,9 @@ case "${target}" in
   mips*-*-*linux* | mips*-*-gnu*)
     target_makefile_frag="config/mt-mips-gnu"
     ;;
+  nios2-*-elf*)
+    target_makefile_frag="config/mt-nios2-elf"
+    ;;
   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
     target_makefile_frag="config/mt-gnu"
     ;;
index 3c7b1ffac3ae95490e7c6974737937be478ca37b..07c3a66dd6d78e3a1ae6bad7eb66df082c1ddca4 100644 (file)
@@ -2370,6 +2370,9 @@ case "${target}" in
   mips*-*-*linux* | mips*-*-gnu*)
     target_makefile_frag="config/mt-mips-gnu"
     ;;
+  nios2-*-elf*)
+    target_makefile_frag="config/mt-nios2-elf"
+    ;;
   *-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu | *-*-kopensolaris*-gnu)
     target_makefile_frag="config/mt-gnu"
     ;;
This page took 0.041018 seconds and 4 git commands to generate.