summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/config/mt-nios2-elf
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/config/mt-nios2-elf')
-rw-r--r--binutils-2.25/config/mt-nios2-elf5
1 files changed, 5 insertions, 0 deletions
diff --git a/binutils-2.25/config/mt-nios2-elf b/binutils-2.25/config/mt-nios2-elf
new file mode 100644
index 00000000..1dee7c64
--- /dev/null
+++ b/binutils-2.25/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