aboutsummaryrefslogtreecommitdiff
path: root/config/mt-nios2-elf
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2014-05-14 19:20:59 -0400
committerSandra Loosemore <sandra@gcc.gnu.org>2014-05-14 19:20:59 -0400
commit707f18393ac81938e72cc4a44e0dcff6b7bef617 (patch)
tree0a48c7bd6748694abc7bd5e54e4327b1f592eca4 /config/mt-nios2-elf
parente494d89c37fcbcbe7e28b9027d6dddc8d73651c9 (diff)
downloadgcc-707f18393ac81938e72cc4a44e0dcff6b7bef617.zip
gcc-707f18393ac81938e72cc4a44e0dcff6b7bef617.tar.gz
gcc-707f18393ac81938e72cc4a44e0dcff6b7bef617.tar.bz2
configure.ac (target_makefile_frag): Set for nios2-*-elf*.
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. From-SVN: r210451
Diffstat (limited to 'config/mt-nios2-elf')
-rw-r--r--config/mt-nios2-elf5
1 files changed, 5 insertions, 0 deletions
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