summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorsandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-14 23:20:59 +0000
committersandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>2014-05-14 23:20:59 +0000
commit2481a2c11dcb1a03fbea7be6dac5698d77fde7f2 (patch)
tree0a48c7bd6748694abc7bd5e54e4327b1f592eca4 /config
parent16865c2d7a1ee2fbb9d426c4e4918fec34dd9749 (diff)
downloadgcc-2481a2c11dcb1a03fbea7be6dac5698d77fde7f2.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@210451 138bc75d-0d04-0410-961f-82ee72b054a4
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 f4152c4ebff..1079c7fb6fc 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,7 @@
+2014-05-14 Sandra Loosemore <sandra@codesourcery.com>
+
+ * mt-nios2-elf: New file.
+
2014-04-25 Marc Glisse <marc.glisse@inria.fr>
PR target/43538
diff --git a/config/mt-nios2-elf b/config/mt-nios2-elf
new file mode 100644
index 00000000000..1dee7c6439e
--- /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