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

📄 m5235-ram.ld

📁 freemodbus-v1-1-1-0.zip v1.1.1版本的代码 支持多个平台
💻 LD
字号:
STARTUP(crt0.o)INPUT(vector.o)OUTPUT_ARCH(m68k)SEARCH_DIR(.)GROUP(-lc -lgcc)__DYNAMIC  =  0;MEMORY{  ram (rwx) : ORIGIN = 0x00100000, LENGTH = 0x00010000  per (rwx) : ORIGIN = 0x40000000, LENGTH = 0x40000000}PROVIDE (__stack = 0x10FFFC);SECTIONS{  .text :  {    __text_start = . ;    *(.vector)    . = ALIGN (0x100);    *(.text)    . = ALIGN (16);    *(.eh_frame)    . = ALIGN (16);    *(.gnu.linkonce.t.*)     . = ALIGN(0x4);     __CTOR_LIST__ = .;    ___CTOR_LIST__ = .;    LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)    *(.ctors)    LONG(0)    __CTOR_END__ = .;    __DTOR_LIST__ = .;    ___DTOR_LIST__ = .;    LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)    *(.dtors)     LONG(0)    __DTOR_END__ = .;    *(.rodata)    *(.gcc_except_table)     . = ALIGN(0x2);    __INIT_SECTION__ = . ;    LONG (0x4e560000)	/* linkw %fp,#0 */    *(.init)    SHORT (0x4e5e)	/* unlk %fp */    SHORT (0x4e75)	/* rts */    __FINI_SECTION__ = . ;    LONG (0x4e560000)	/* linkw %fp,#0 */    *(.fini)    SHORT (0x4e5e)	/* unlk %fp */    SHORT (0x4e75)	/* rts */    *(.lit)    . = ALIGN(16);    _etext = .;    etext = .;  } > ram  .data :  {    copy_start = .;    *(.shdata)    *(.data)    *(.gnu.linkonce.d.*)    . = ALIGN (16);    _edata = .;    copy_end = .;  } > ram  .bss :  {    . = ALIGN(0x4);    __bss_start = . ;    *(.shbss)    *(.bss)    *(COMMON)    _end =  ALIGN (0x8);    __end = _end;  } > ram  .peripheral (NOLOAD):  {    __per_start = . ;    *(.peripheral)  } > per  .stab 0 (NOLOAD) :  {    *(.stab)  }  .stabstr 0 (NOLOAD) :  {    *(.stabstr)  }}

⌨️ 快捷键说明

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