Skip to content

Commit 6f53402

Browse files
committed
ls1b: add nostartfiles to LFLAGS
We don't need the crt0 from the toolchain.
1 parent a87ae1a commit 6f53402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bsp/ls1bdev/rtconfig.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
DEVICE = ' -mips32'
4444
CFLAGS = DEVICE + ' -EL -G0 -mno-abicalls -fno-pic -fno-builtin -fno-exceptions -ffunction-sections -fomit-frame-pointer'
4545
AFLAGS = ' -c' + DEVICE + ' -EL -fno-pic -fno-builtin -mno-abicalls -x assembler-with-cpp -DSYSTEM_STACK=0x80003fe8'
46-
LFLAGS = DEVICE + ' -EL -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T ls1b_ram.lds'
46+
LFLAGS = DEVICE + ' -nostartfiles -EL -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T ls1b_ram.lds'
4747

4848
CPATH = ''
4949
LPATH = ''

0 commit comments

Comments
 (0)