This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320C6678: 编译器警告

Part Number: TMS320C6678


源文件变量分配代码:

#pragma SET_DATA_SECTION(".testSect")
TY_SRIO_INFO gSrioInfo = {0, 0, 0, 0, 0, 0, 0, 0, 50*1000, {0}, {0}};
TY_NCC_INFO gNccInfo = {{0}, {0}, 0};
TY_ALGORITHM gAlgoInfo = {0, 0, 0, 0, 0, (uint32_t*)SIFT_NUM_ADDRESS, (float*)SIFT_POINT_ADDRESS,
(uint8_t*)SIFT_VECT_ADDRESS, 256, 320, (uint8_t*)SIFT_TX_ADDRESS, gDDRKeySNum, 200*1000,
0, 0, 0.0f, 0, 0, 0, 0, (uint8_t*)SIFT_VECT_ADDRESS, (uint8_t*)SIFT_VECT_ADDRESS, 2000, 8000, 0};
TY_HYPERLink_INFO gHyperInfo = {1000*1000, 0, 0, 0};
TY_CAM_INFO gCameraInfo = {0, 0, (uint32_t*)0x88000024};
TY_DPRAM_INFO gDpramInfo = {0, 0, 0, 20*1000, 0};
TY_NAND_INFO gNandInfo = {0, 0, 0, 256*320, 0x4B00000, (uint32_t *)SIFT_TX_ADDRESS};

uint32_t gCrc32 = 0;
uint32_t gKeyNum[2] = {0};
float gKeyPointSum[2] = {0.0f};
float gKeyVectSum[2] = {0.0f};
float* gPointPter = NULL;
uint8_t* gVecrPtr = NULL;
uint8_t gPos = 0;
uint32_t gErrFlag = 0;
#pragma SET_DATA_SECTION("")

cmd文件配置:

.testSect            >  SHRAM4

编译时提示警告如下:

Description Resource Path Location Type
#10281-D Section ".testSect" requires a STATIC_BASE relative relocation, but is located at 0x0c280000, which is probably out of range of the STATIC_BASE. STATIC_BASE is located at 0x00810000. Might be required to correct placement of ".testSect" so it lies within 0x8000 of the STATIC_BASE. RC190007_SIFT_DPRAM_TEST C/C++ Problem

Description Resource Path Location Type
#17003-D relocation from function "algProcess" to symbol "gCrc32" overflowed; the 26-bit relocated address 0x2e9cd3a is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file = "./AlgProc/algProcess.obj", offset = 0x000000e4, section = ".text") algProcess.c /RC190007_SIFT_DPRAM_TEST/AlgProc line 63 C/C++ Problem

Description Resource Path Location Type
#17003-D relocation from function "algProcess" to symbol "gErrFlag" overflowed; the 26-bit relocated address 0x2e9cd45 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file = "./AlgProc/algProcess.obj", offset = 0x000004e8, section = ".text") algProcess.c /RC190007_SIFT_DPRAM_TEST/AlgProc line 116 C/C++ Problem

Description Resource Path Location Type
#17003-D relocation from function "algProcess" to symbol "gErrFlag" overflowed; the 26-bit relocated address 0x2e9cd45 is too large to encode in the 15-bit unsigned field (type = 'R_C6000_SBR_U15_W' (13), file = "./AlgProc/algProcess.obj", offset = 0x000004f0, section = ".text") algProcess.c /RC190007_SIFT_DPRAM_TEST/AlgProc line 116 C/C++ Problem

想请问一下,第一条警告是什么意思?