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.
Tool/software: Code Composer Studio
Hi, friends.
I use the library compiled by CCS to build my application.
I got the warning below.
warning:
relocation from function "XXXXX" to
symbol "XXXX" overflowed; the 20-bit relocated address 0xe3f32 is too
large to encode in the 19-bit unsigned field (type = 'R_ARP32_SBR_U19_W'
(23), file = "XXXXX", offset =
0x00000146, section = ".text:XXXX")
Could you help me to solve it?
thanks
Henry
Based on ...
Henry2333 said:type = 'R_ARP32_SBR_U19_W'
... I presume you use the ARP32 compiler. The manual for that compiler is not publicly available, but it is supplied with the compiler. Look in the directory where the compiler is installed for a file with a name similar to SPRUH24A.pdf. Search that document for a sub-chapter titled The near and far Keywords. My guess is that applying far not to the function but to the symbol named here ...
Henry2333 said:relocation from function "XXXXX" to
symbol "XXXX" overflowed
... will resolve the problem.
Please let me know if this suggestion works.
Thanks and regards,
-George