summaryrefslogtreecommitdiff
path: root/gcc/config/xtensa/t-elf
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/xtensa/t-elf')
-rw-r--r--gcc/config/xtensa/t-elf6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/xtensa/t-elf b/gcc/config/xtensa/t-elf
new file mode 100644
index 000000000..7d6cd1a3a
--- /dev/null
+++ b/gcc/config/xtensa/t-elf
@@ -0,0 +1,6 @@
+# Build CRT files and libgcc with the "longcalls" option
+CRTSTUFF_T_CFLAGS += -mlongcalls
+CRTSTUFF_T_CFLAGS_S += -mlongcalls
+TARGET_LIBGCC2_CFLAGS += -mlongcalls
+
+EXTRA_MULTILIB_PARTS = crti.o crtn.o crtbegin.o crtend.o