⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 target.ld

📁 移植到WLIT项目的redboot源代码
💻 LD
字号:
                               STARTUP(vectors.o)ENTRY(reset_vector)INPUT(extras.o)GROUP(libtarget.a libgcc.a)                                                                                                                   MEMORY{    ram  : ORIGIN = 0xA0000000, LENGTH = 0x4000000    rom  : ORIGIN = 0x00000000, LENGTH = 0x800000}SECTIONS{     .debug_aranges  0 : { *(.debug_aranges) }       .debug_pubnames 0 : { *(.debug_pubnames) }      .debug_info     0 : { *(.debug_info) }          .debug_abbrev   0 : { *(.debug_abbrev) }        .debug_line     0 : { *(.debug_line) }          .debug_frame    0 : { *(.debug_frame) }         .debug_str      0 : { *(.debug_str) }           .debug_loc      0 : { *(.debug_loc) }           .debug_macinfo  0 : { *(.debug_macinfo) }     .rom_vectors  0xA0000000 :  AT(0x00000000)     {  . = .; KEEP (*(.vectors)) }     > ram         .text  0x00002000 :        { _stext = ABSOLUTE(.);     PROVIDE (__stext = ABSOLUTE(.));     *(.text*) *(.gnu.warning) *(.gnu.linkonce*) *(.init)     *(.glue_7) *(.glue_7t)      } > rom     _etext = .; PROVIDE (__etext = .);     .fini  ALIGN (0x4) :        {  . = .; *(.fini) }     > rom     .rodata  ALIGN (0x4) :        {  . = .; *(.rodata*) }     > rom     .rodata1  ALIGN (0x4) :        {  . = .; *(.rodata1) }     > rom     .fixup  ALIGN (0x4) :        {  . = .; *(.fixup) }     > rom     .gcc_except_table  ALIGN (0x4) :        {  . = .; *(.gcc_except_table) }     > rom     .fixed_vectors  0x20 :        {  . = .; KEEP (*(.fixed_vectors)) }     > rom     .data  0xA000A000 :  AT ((LOADADDR (.gcc_except_table) + SIZEOF (.gcc_except_table) + 4 - 1) & ~ (4 - 1))     { __ram_data_start = ABSOLUTE (.); *(.data*) *(.data1)       _GOT1_START_ = ABSOLUTE (.); *(.got1) _GOT1_END_ = ABSOLUTE (.);     _GOT2_START_ = ABSOLUTE (.); *(.got2) _GOT2_END_ = ABSOLUTE (.);     . = ALIGN (4);     KEEP(*( SORT (.ecos.table.*))) ;                . = ALIGN (4);     __CTOR_LIST__ = ABSOLUTE (.); KEEP (*(SORT (.ctors*))) __CTOR_END__ = ABSOLUTE (.);     __DTOR_LIST__ = ABSOLUTE (.); KEEP (*(SORT (.dtors*))) __DTOR_END__ = ABSOLUTE (.);     *(.dynamic) *(.sdata*) *(.sbss*) }     > ram     __rom_data_start = LOADADDR (.data);     __ram_data_end = .; PROVIDE (__ram_data_end = .); _edata = .; PROVIDE (edata = .);     PROVIDE (__rom_data_end = LOADADDR (.data) + SIZEOF(.data));     .bss  ALIGN (0x4) :        { __bss_start = ABSOLUTE (.);     *(.scommon) *(.dynbss) *(.bss*) *(COMMON)     __bss_end = ABSOLUTE (.); }     > ram    __heap1 = ALIGN (0x8);      . = ALIGN(4); _end = .; PROVIDE (end = .);}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -