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

📄 cris.ld

📁 嵌入式系统设计与实例开发实验教材二源码 多线程应用程序设计 串行端口程序设计 AD接口实验 CAN总线通信实验 GPS通信实验 Linux内核移植与编译实验 IC卡读写实验 SD驱动使
💻 LD
字号:
/* ld script to make the Linux/CRIS kernel * Authors: Bjorn Wesen (bjornw@axis.com) * * It is VERY DANGEROUS to fiddle around with the symbols in this * script. It is for example quite vital that all generated sections * that are used are actually named here, otherwise the linker will * put them at the end, where the init stuff is which is FREED after * the kernel has booted.  */	SECTIONS{	. = @CONFIG_ETRAX_DRAM_VIRTUAL_BASE@;	dram_start = .;	ibr_start = .;	. = . + 0x4000; /* see head.S and pages reserved at the start */	_text = .;                    /* Text and read-only data */	text_start = .;              /* lots of aliases */	_stext = .;	__stext = .;	.text : {		*(.text)		*(.fixup)		*(.text.__*)	}  	.text.lock : { *(.text.lock) }        /* out-of-line lock text */	_etext = . ;                  /* End of text section */ 	__etext = .;	.rodata : { *(.rodata) *(.rodata.__*) }	.kstrtab : { *(.kstrtab) }	. = ALIGN(4);                /* Exception table */  	__start___ex_table = .;  	__ex_table : { *(__ex_table) }  	__stop___ex_table = .;  	__start___ksymtab = .;        /* Kernel symbol table */  	__ksymtab : { *(__ksymtab) }  	__stop___ksymtab = .;	. = ALIGN (4);	___data_start = . ;	__Sdata = . ;	.data : {                     /* Data */		*(.data)	}	__edata = . ;                 /* End of data section */	_edata = . ;	. = ALIGN(8192);              /* init_task and stack, must be aligned */  	.data.init_task : { *(.data.init_task) }  	. = ALIGN(8192);              /* Init code and data */  	__init_begin = .;  	.text.init : { *(.text.init) }  	.data.init : { *(.data.init) }  	. = ALIGN(16);  	__setup_start = .;  	.setup.init : { *(.setup.init) }  	__setup_end = .;  	.initcall.init : {		__initcall_start = .;		*(.initcall.init);		__initcall_end = .;		/* We fill to the next page, so we can discard all init		   pages without needing to consider what payload might be		   appended to the kernel image.  */		FILL (0);		. = ALIGN (8192);	}	__vmlinux_end = .;            /* last address of the physical file */  	__init_end = .;	__data_end = . ;              /* Move to _edata ? */	__bss_start = .;              /* BSS */	.bss : {		*(COMMON)		*(.bss)	}	. =  ALIGN (0x20);	_end = .;	__end = .;	/* Sections to be discarded */  	/DISCARD/ : {        	*(.text.exit)        	*(.data.exit)		*(.exitcall.exit)        }	dram_end = dram_start + @CONFIG_ETRAX_DRAM_SIZE_M@*1024*1024;}

⌨️ 快捷键说明

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