ram.lcf

来自「mpc2872系列的usb controller产生sof源码」· LCF 代码 · 共 41 行

LCF
41
字号

MEMORY {
	exc : org = 0x00000000
	ram : org = 0x00002000
}
 
/* We use FORCEFILES so that the linker will not deadstrip the file reset.s. The function
	reset would be deadstripped since it is not ever called by anything */

FORCEACTIVE { gInterruptVectorTable, __reset }

SECTIONS {

	.reset : {} > exc  
	.init  : {} > ram
	
	GROUP : {
		.text (TEXT): {}
		.rodata (CONST) : {
			*(.rdata)
			*(.rodata)
		}
		.ctors : {}
		.dtors : {}
		extab : {}
		extabindex : {}
	} > ram
				
	GROUP : {
		.data : {}
		.sdata : {}
		.sbss : {}
		.sdata2 : {}
		.sbss2 : {}
		.bss : {}
		.PPC.EMB.sdata0 : {} 
		.PPC.EMB.sbss0 : {}		
	} > ram

}

⌨️ 快捷键说明

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