diff options
| author | bernard <[email protected]> | 2017-12-02 10:53:42 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2017-12-02 10:53:42 +0800 |
| commit | 9463fd9ae8fa112d3d8a6d01552e94e912deb881 (patch) | |
| tree | b12d3b629124a7799c95ae519d56e367c74f798b | |
| parent | c0b2a1a4b4a98b829b363da51f9c2ddf4c4eb61a (diff) | |
[BSP] Add '-nostartfiles' to link flags.
| -rw-r--r-- | bsp/qemu-vexpress-a9/rtconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/qemu-vexpress-a9/rtconfig.py b/bsp/qemu-vexpress-a9/rtconfig.py index 0bd53277f5..1592f574f5 100644 --- a/bsp/qemu-vexpress-a9/rtconfig.py +++ b/bsp/qemu-vexpress-a9/rtconfig.py @@ -37,7 +37,7 @@ if PLATFORM == 'gcc': CFLAGS = DEVICE + ' -Wall' AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp -D__ASSEMBLY__' LINK_SCRIPT = 'link.lds' - LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,system_vectors'+\ + LFLAGS = DEVICE + ' -nostartfiles -Wl,--gc-sections,-Map=rtthread.map,-cref,-u,system_vectors'+\ ' -T %s' % LINK_SCRIPT CPATH = '' |
