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

📄 nut-h8-3068f-rom.ld

📁 含有完整TCP/IP PPP协议的嵌入式操作系统
💻 LD
字号:
/* Generic linker script for H8/3068F. Uses only internal Flash and RAM.     *//* Program code (.text section) is located in the internal Flash.            *//* Author: Jan Dubiec <jdx@slackware.pl>                                     */OUTPUT_ARCH(h8300h)ENTRY(_NutEntry)MEMORY{     rom (rx)  : ORIGIN = 0x000000, LENGTH = 384k     ram (rwx) : ORIGIN = 0xffbf20, LENGTH = 16k}SECTIONS{    /* 256 byte interrupt vector area */    .vects  0x000000 :    {	_vects = .;	*(.vects);    } > rom    /* startup code area */    .init 0x000100 :    {	*(.init)    } > rom    /* program code area */    .text :    {	PROVIDE(___text_start = .);	*(.text)	_etext = .;	PROVIDE(___text_end = .);    } > rom    .fini :    {	*(.fini)    } > rom    .got :    {	*(.got)	*(.got.plt)    } > rom    .rodata :    {	*(.rodata)	*(.rodata.*)	_erodata = .;    } > rom    .eh_frame_hdr :    {	*(.eh_frame_hdr)    } > ram    .eh_frame :    {	*(.eh_frame)    } > rom    .jcr :    {	*(.jcr)    } > rom    .gcc_exc :    {	*(.gcc_exc)    } > rom    .tors :    {	__CTOR_LIST__ = .;	LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)	___ctors = . ;	*(.ctors)	___ctors_end = . ;	LONG(0)	__CTOR_END__ = .;	__DTOR_LIST__ = .;	LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)	___dtors = . ;	*(.dtors)	___dtors_end = . ;	LONG(0)	__DTOR_END__ = .;	. = ALIGN(2);	_mdata = .;	PROVIDE(___mdata_end = .);    } > rom    /* ROM image of the initialized data area */    .data : AT (_mdata) {	PROVIDE(___data_start = .);	_data = .;	*(.data)	_edata = .;	PROVIDE(___data_end = .);    } > ram    /* uninitialized data area */    .bss :    {	PROVIDE(___bss_start = .);	_bss = .;	*(.bss)	*(COMMON)	 . = ALIGN(2);	 _ebss = .;	 _end = .;	PROVIDE(___bss_end = .);    } > ram    /* set stack pointer to the end of internal RAM */    PROVIDE(___stack = 0xffff20);    .stab . (NOLOAD) :    {	[ .stab ]    }    .stabstr . (NOLOAD) :    {	[ .stabstr ]    }    /DISCARD/ :    {	*(.comment)    }}

⌨️ 快捷键说明

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