就是这个链接文件
; Copyright (c) Nuvoton Technology Corp. All rights reserved.
LR_ROM 0x00000000 0x00200000 ; 2MB (SPI FLash)
{
ER_STARTUP +0
{
startup_nuc505Series.o(RESET, +First) ; vector table
*(InRoot$$Sections) ; library init
; If neither (+ input_section_attr) nor (input_section_pattern) is specified, the default is +RO.
startup_nuc505Series.o ; startup
system_nuc505Series.o ; startup
}
; Relocate vector table in SRAM for fast interrupt handling.
ER_VECTOR2 0x20000000 EMPTY 0x00000400
{
}
ER_RO +0 (0x20020000 - ImageLimit(ER_VECTOR2))
{
*(+RO)
}
ER_RW +0 (0x20020000 - ImageLimit(ER_RO))
{
*(+RW)
}
ER_ZI +0 (0x20020000 - ImageLimit(ER_RW))
{
*(+ZI)
}
}
|