在編譯arch/blackfin/kernel/reboot.c時有兩個語法錯誤:
../../arch/blackfin/kernel/reboot.c
[Error ea5004] "c:/temp/acc0a84d6e7000/acc0a84d6e7001.s":94 Syntax Error in :
.Lfoo: NOP;
syntax error is at or near text '.Lfoo'.
Attempting error recovery by ignoring text until the ';'
[Error ea5004] "c:/temp/acc0a84d6e7000/acc0a84d6e7001.s":118 Syntax Error in :
.LN9:
syntax error is at or near text '.LN9'.
Attempting error recovery by ignoring text until the ';'
Previous errors prevent assembly
Assembler totals: 2 error(s) and 0 warning(s)
cc3089: fatal error: Assembler failed
Tool failed with exit/exception code: 1.
Build was unsuccessful
第一個錯誤發生在:
asm("LSETUP(.Lfoo,.Lfoo) LC0 = %0/n .Lfoo: NOP;/n"
: : "a" (SWRST_DELAY) : "LC0", "LT0", "LB0");
將之修改為:
asm("LSETUP(.Lfoo,.Lfoo) LC0 = %0;/n/r .Lfoo: /n/rNOP;/n"
: : "a" (SWRST_DELAY) : "LC0", "LT0", "LB0");
第二個錯誤發生在:
asm("raise 1");
將之修改為:
asm("raise 1;");
哎,強烈建議VDSP改進嵌入匯編的錯誤提示!
uclinux-2008R1-RC8(bf561)到VDSP5的移植(55):filemap.c的問題
uclinux-2008R1-RC8(bf561)到VDSP5的移植(54):initramfs的問題
uclinux-2008R1-RC8(bf561)到VDSP5的移植(50):jiffies_64的定義問題
uclinux-2008R1-RC8(bf561)到VDSP5的移植(49):kernel_thread_helper的問題
uclinux-2008R1-RC8(bf561)到VDSP5的移植(48):__cmpxchg的問題