diff options
| author | Bernard Xiong <[email protected]> | 2017-11-01 20:58:21 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2017-11-01 20:58:21 +0800 |
| commit | 8f8827fab7ca92bb926a9976a0abf09bea0de13a (patch) | |
| tree | 91dcd3c5370e07e35eb7b39c948fba2482ff1833 /bsp | |
| parent | 8b2919aff1c87300125b024a82e7cf97191d75c9 (diff) | |
[BSP] add -nostartfiles in link flags of sam7x bsp
Diffstat (limited to 'bsp')
| -rw-r--r-- | bsp/sam7x/rtconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/sam7x/rtconfig.py b/bsp/sam7x/rtconfig.py index 57a131a43d..565120bfed 100644 --- a/bsp/sam7x/rtconfig.py +++ b/bsp/sam7x/rtconfig.py @@ -42,7 +42,7 @@ if PLATFORM == 'gcc': DEVICE = ' -mcpu=arm7tdmi' CFLAGS = DEVICE AFLAGS = ' -c' + DEVICE + ' -x assembler-with-cpp' - LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=sam7x_rom_gcc.map,-cref,-u,_start -T sam7x_rom.ld' + LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map=sam7x_rom_gcc.map,-cref,-u,_start -T sam7x_rom.ld -nostartfiles' CPATH = '' LPATH = '' |
