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.

link asm error

-------------------------  jpeg_network.pjt - debug  --------------------------
[Linking...] "c:\ti\c6000\cgtools\bin\cl6x" -@"debug.lkf"
>> warning: load address of uninitialized section .uvVisual ignored
>>   error: relocation overflow occured at address 0x00000030 in section '.text'
            of input file
            'C:\ti\boards\evmdm642\examples\uvwork_0424_new\debug\uvVisual.obj'.  The 32-bit relocated address 0x802fc8cc is too large to encode in the 16-bit signed field. The value was truncated. 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 16 bits of this symbol. Please see the section on Relocation in the Assembly User's Guide.

>>   error: relocation overflow occured at address 0x00000040 in section '.text'
            of input file
            'C:\ti\boards\evmdm642\examples\uvwork_0424_new\debug\uvVisual.obj'.  The 32-bit relocated address 0x802fc8cd is too large to encode in the 16-bit signed field. The value was truncated. 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 16 bits of this symbol. Please see the section on Relocation in the Assembly User's Guide.

>>   error: relocation overflow occured at address 0x0000005c in section '.text'
            of input file
            'C:\ti\boards\evmdm642\examples\uvwork_0424_new\debug\uvVisual.obj'.  The 32-bit relocated address 0x802fc8ce is too large to encode in the 16-bit signed field. The value was truncated. 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 16 bits of this symbol. Please see the section on Relocation in the Assembly User's Guide.

>>   error: relocation overflow occured at address 0x0000006c in section '.text'
            of input file
            'C:\ti\boards\evmdm642\examples\uvwork_0424_new\debug\uvVisual.obj'.  The 32-bit relocated address 0x802fc8cf is too large to encode in the 16-bit signed field. The value was truncated. 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 16 bits of this symbol. Please see the section on Relocation in the Assembly User's Guide.

>> warning: output file './debug/jpeg_network.out' is not executable

Build Complete,
  4 Errors, 2 Warnings, 0 Remarks.

 

  • Your linker execution resulted in an initial warning about a load address. The load address can be specified in a linker command file that is supplied to the linker. It is not clear to me why a load address would be specified for an uninitialized section, so this may be the first indication of a problem that leads to all the rest.

    The four errors are very similar. If you re-run the build process and enable the tools to generate [absolute] listing files, you may get correlation between the offsets within .text to the source lines which eventually generated these errors. Finding the source lines may help you figure out what the real cause of the error is. The descriptions here are very accurate but they might just be symptoms and not the true cause.

    The final warning is simply a result of the linker aborting due to the errors listed earlier.

    Since your root folder is c:\ti, my guess is that you are using fairly old tools which may be more difficult to find detailed support today. The good news is that every generation of TI tools have been tested very well and have been used by thousands of users.

    If you have a question, you will need to give us information on the tools you are using and on the program you are building.