mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-18 22:52:17 +08:00
commit
0c8335d5ab
@ -85,7 +85,7 @@ void rtthread_startup(void)
|
|||||||
rt_system_scheduler_start();
|
rt_system_scheduler_start();
|
||||||
|
|
||||||
/* never reach here */
|
/* never reach here */
|
||||||
return ;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*@}*/
|
/*@}*/
|
||||||
|
@ -46,6 +46,12 @@ SECTIONS
|
|||||||
KEEP(*(VSymTab))
|
KEEP(*(VSymTab))
|
||||||
__vsymtab_end = .;
|
__vsymtab_end = .;
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
|
||||||
|
. = ALIGN(4);
|
||||||
|
__rt_init_start = .;
|
||||||
|
KEEP(*(SORT(.rti_fn*)))
|
||||||
|
__rt_init_end = .;
|
||||||
|
. = ALIGN(4);
|
||||||
}
|
}
|
||||||
|
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
|
@ -13,14 +13,9 @@ if os.getenv('RTT_CC'):
|
|||||||
if CROSS_TOOL == 'gcc':
|
if CROSS_TOOL == 'gcc':
|
||||||
PLATFORM = 'gcc'
|
PLATFORM = 'gcc'
|
||||||
EXEC_PATH = 'C:/Program Files/CodeSourcery/Sourcery_CodeBench_Lite_for_MIPS_ELF/bin'
|
EXEC_PATH = 'C:/Program Files/CodeSourcery/Sourcery_CodeBench_Lite_for_MIPS_ELF/bin'
|
||||||
elif CROSS_TOOL == 'keil':
|
else:
|
||||||
print '================ERROR============================'
|
print '================ERROR============================'
|
||||||
print 'Not support keil yet!'
|
print 'Not support %s yet!' % CROSS_TOOL
|
||||||
print '================================================='
|
|
||||||
exit(0)
|
|
||||||
elif CROSS_TOOL == 'iar':
|
|
||||||
print '================ERROR============================'
|
|
||||||
print 'Not support iar yet!'
|
|
||||||
print '================================================='
|
print '================================================='
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
@ -43,7 +38,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 = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user