Skip to content

Commit 727b6b1

Browse files
committed
Enable -mlongcalls flag for assembler
1 parent 8f2ce1e commit 727b6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ compiler.c.cmd=xtensa-lx106-elf-gcc
1919
compiler.c.flags=-c -Os -g -Wpointer-arith -Wno-implicit-function-declaration -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -falign-functions=4 -MMD -std=gnu99 -ffunction-sections -fdata-sections
2020

2121
compiler.S.cmd=xtensa-lx106-elf-gcc
22-
compiler.S.flags=-c -g -x assembler-with-cpp -MMD
22+
compiler.S.flags=-c -g -x assembler-with-cpp -MMD -mlongcalls
2323

2424
compiler.c.elf.flags=-g -Os -nostdlib -Wl,--no-check-sections -u call_user_start -Wl,-static "-L{compiler.sdk.path}/lib" "-L{compiler.sdk.path}/ld" "-T{build.flash_ld}" -Wl,--gc-sections -Wl,-wrap,system_restart_local -Wl,-wrap,register_chipv6_phy
2525

0 commit comments

Comments
 (0)