summaryrefslogtreecommitdiff
path: root/bsp/dm365
diff options
context:
space:
mode:
authorweety <[email protected]>2015-11-18 00:09:18 +0800
committerweety <[email protected]>2015-11-18 00:09:18 +0800
commitc515c88f3f822fc2bdd80111296cab4ccb48ef55 (patch)
tree12edc96f6dcf1a06341cb532b36e3d717bd3eea3 /bsp/dm365
parentb7fc26e16933e871bed705c7aa9d41304f82c7ee (diff)
Add -nostartfiles option for link flags
Diffstat (limited to 'bsp/dm365')
-rw-r--r--bsp/dm365/rtconfig.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/dm365/rtconfig.py b/bsp/dm365/rtconfig.py
index bf64260759..5cba9d13d9 100644
--- a/bsp/dm365/rtconfig.py
+++ b/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 = ''