快乐虾http://blog.csdn.net/lights_joy/lights@hb165.com本文适用于ADI bf561 DSP优视BF561EVB开发板uclinux-2008r1.5-rc3(smp patch)Visual DSP++ 5.0(update 5)欢迎转载,但请保留作者信息经过前述处理,VDSP提示错误:[Warning li2060]The following input section(s) that contain program codeand/or data have not been placed into the executable for processor 'p0'as there are no relevant commands specified in the LDF:arch-kernel.dlb[init_task.doj](.data.init_task)在vmlinux.lds.s中这样定义.data.init_task段:.data :{/* make sure the init_task is aligned to the* kernel thread size so we can locate the kernel* stack properly and quickly.*/__sdata = .;. = ALIGN(THREAD_SIZE);*(.data.init_task). = ALIGN(32);*(.data.cacheline_aligned)#if !L1_DATA_A_LENGTH. = ALIGN(32);*(.data_l1.cacheline_aligned)#endifDATA_DATA*(.data)CONSTRUCTORS. = ALIGN(THREAD_SIZE);__edata = .;}由于.data段在之前已经添加,故直接在LDF文件的.data段做修改:uclinux_data{/* make sure the init_task is aligned to the* kernel thread size so we can locate the kernel* stack properly and quickly.*/__sdata = .;INPUT_SECTION_ALIGN(8192)INPUT_SECTIONS($LIBRARIES_CORE_A(.data.init_task))/*. = ALIGN(32);*(.data.cacheline_aligned)#if !L1_DATA_A_LENGTH. = ALIGN(32);*(.data_l1.cacheline_aligned)#endifDATA_DATA*(.data)CONSTRUCTORS*/INPUT_SECTION_ALIGN(8192)__edata = .;} > MEM_UCLINUX_DATA