Explorar el Código

Add -nostartfiles option for link flags

weety hace 10 años
padre
commit
c515c88f3f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      bsp/dm365/rtconfig.py

+ 1 - 1
bsp/dm365/rtconfig.py

@@ -33,7 +33,7 @@ if PLATFORM == 'gcc':
     DEVICE = ' -mcpu=arm926ej-s'
     CFLAGS = DEVICE
     AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp' + ' -DTEXT_BASE=' + TextBase
-    LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread_dm365.map,-cref,-u,_start -T dm365_ram.ld' + ' -Ttext ' + TextBase
+    LFLAGS = DEVICE + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread_dm365.map,-cref,-u,_start -T dm365_ram.ld' + ' -Ttext ' + TextBase
 
     CPATH = ''
     LPATH = ''