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.

compile warning:relocation from function "PAAddMacAddr" to symbol "gPAInstHnd" overflowed;

My test board is:TI6614 EVM, CCS  version:5.1.0.09000 . And I don't use SYS BIOS.

Could you help introduce the reason of this warning? And how to deal with this warning?

Instruments/pdk_tci6614_1_00_00_10/packages/ti/csl/csl_cpsw_3gfAux.h", line 339: warning #17003-D:
   relocation from function "PAAddMacAddr" to symbol "gPAInstHnd" overflowed;
   the 16-bit relocated address 0xa6e7 is too large to encode in the 15-bit
   unsigned field (type = 'R_C6000_SBR_U15_W' (13), file = "./NetCPDriver.obj",
   offset = 0x00000cb8, section = ".text")

 

I didn't use SYS BIOS. and my cmd file as follow:

-c
-heap  0x2000
-stack 0x2000


/* Memory Map 1 - the default */
MEMORY
{
        L1D:     o = 00f00000h   l = 00007FFFh
        L1P:     o = 00e00000h   l = 00007FFFh
 VECTORS:   o = 00800000h   l = 0x00000200  
        L2:      o = 00800200h   l = 0007FDFFh
        SL2:     o = 0C000000h   l = 00100000h
}

SECTIONS
{
 vecs        >       VECTORS
    .csl_vect   >       L2
    .text       >       L2
    .stack      >       L2
    .cinit      >       L2
    .cio        >       L2
    .const      >       L2
    .data       >       L2
    .switch     >       L2
    .sysmem     >       L2
    .far        >       L2
    .testMem    >       L2 
    .fardata    >       L2 
    QMSS_Data.Descriptor_LL2 > L2
    .shareMemQue >      SL2
    .sys_intram_data > L2
    .sys_intram_const > L2
    .sys_intram_code > L2

    GROUP
 {
  .neardata
  .rodata
  .bss
 }       >       L2
}