summaryrefslogtreecommitdiff
path: root/bsp/ls1bdev/rtconfig.py
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2014-05-29 12:32:46 +0800
committerGrissiom <[email protected]>2014-05-29 12:32:46 +0800
commit6f53402e035ec75fa97ec75f4a00b29c7543e71f (patch)
tree64834d164c2fc10207b3cbcace4009aa6261d076 /bsp/ls1bdev/rtconfig.py
parenta87ae1abee5e7e512fa240f83a6a9b40cd140217 (diff)
ls1b: add nostartfiles to LFLAGS
We don't need the crt0 from the toolchain.
Diffstat (limited to 'bsp/ls1bdev/rtconfig.py')
-rw-r--r--bsp/ls1bdev/rtconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/ls1bdev/rtconfig.py b/bsp/ls1bdev/rtconfig.py
index 1f189e9563..af4c27878c 100644
--- a/bsp/ls1bdev/rtconfig.py
+++ b/bsp/ls1bdev/rtconfig.py
@@ -43,7 +43,7 @@ READELF = PREFIX + 'readelf'
DEVICE = ' -mips32'
CFLAGS = DEVICE + ' -EL -G0 -mno-abicalls -fno-pic -fno-builtin -fno-exceptions -ffunction-sections -fomit-frame-pointer'
AFLAGS = ' -c' + DEVICE + ' -EL -fno-pic -fno-builtin -mno-abicalls -x assembler-with-cpp -DSYSTEM_STACK=0x80003fe8'
-LFLAGS = DEVICE + ' -EL -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T ls1b_ram.lds'
+LFLAGS = DEVICE + ' -nostartfiles -EL -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,Reset_Handler -T ls1b_ram.lds'
CPATH = ''
LPATH = ''