pq27e_rom.lcf

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

LCF
41
字号
/* Based on default linker command file for PPC EABI */


MEMORY {
	data : org = 0x00002000
	ram  : org = 0x00000000
	rom  : org = 0xfff00000 // desired ROM address
}

FORCEACTIVE { gInterruptVectorTable, __reset }

SECTIONS {
		.reset  			: {} >rom
		.init 				: {} >rom

	GROUP : {
		.text (TEXT)	: {}
		.rodata (CONST) 	: {
			*(.rdata)
			*(.rodata)
		}
		.ctors			: {}
		.dtors			: {}
		extab 			: {}
		extabindex 		: {}
	} > rom 	// for ROM images, this can be 'rom' if you want to execute in ROM
				// or 'code' if you want to execute in RAM
	
	GROUP : {
		.data : {}
		.sdata : {}
		.sbss : {}
		.sdata2 : {}
		.sbss2 : {}
		.bss : {}
		.PPC.EMB.sdata0 : {}
		.PPC.EMB.sbss0 : {}
	} > data

}

⌨️ 快捷键说明

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