Browse Source

ls1b: add nostartfiles to LFLAGS

We don't need the crt0 from the toolchain.
Grissiom 11 years ago
parent
commit
6f53402e03
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bsp/ls1bdev/rtconfig.py

+ 1 - 1
bsp/ls1bdev/rtconfig.py

@@ -43,7 +43,7 @@ READELF = PREFIX + 'readelf'
 DEVICE = ' -mips32'
 DEVICE = ' -mips32'
 CFLAGS = DEVICE + ' -EL -G0 -mno-abicalls -fno-pic -fno-builtin -fno-exceptions -ffunction-sections -fomit-frame-pointer'
 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'
 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 = ''
 CPATH = ''
 LPATH = ''
 LPATH = ''