summaryrefslogtreecommitdiff
path: root/libgcc/config/mips/t-elf
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/config/mips/t-elf')
-rw-r--r--libgcc/config/mips/t-elf3
1 files changed, 3 insertions, 0 deletions
diff --git a/libgcc/config/mips/t-elf b/libgcc/config/mips/t-elf
new file mode 100644
index 00000000000..651f10a5303
--- /dev/null
+++ b/libgcc/config/mips/t-elf
@@ -0,0 +1,3 @@
+# We must build libgcc2.a with -G 0, in case the user wants to link
+# without the $gp register.
+HOST_LIBGCC2_CFLAGS += -G 0