我在Linux中编译图像处理算法时出现类似如下错误:
>> error: relocation overflow occured at address 0x00000074 in section '.text' of input file 'e: imyprojectss_testDebug est.obj'. The 21-bit relocated address 0x11238f is too large to encode in the 15-bit field. You may need to add a mask to the assembly instruction or use other target specific assembly features if you really only need the lowest 15 bits of this symbol. Please see the section on Relocation in the Assembly User's Guide.
后来发现是将ARM侧算法搬到DSP侧时,漏屏蔽了含“OSA_printf()”的一段调试程序,从而导致编译出错。