This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Moving project from ADS 1.2 to DS5 - L6286E error

 I am attempting to port a mature product from the ADS 1.2 tool chain to the DS-5 tool chain.

I am receiving a linker error L6286E (actually 7 errors):

Error: L6286E: Relocation #REL:36 in IntAuxFRM.o(.text) with respect to Mfs_cleanup_ALL_files. Value(0xfffb89a4) out of range(-0x800 - 0x7fe) for (R_ARM_THM_JUMP11)

 

The project builds fine with ADS 1.2.

Processor ARM7tdm1,  mixed assembly, C (arm) and C (thumb) code.

Using command line options '-O1','-g','--apcs=/interwork'.  Compiling C (arm) code with --arm and C (thumb) code with --thumb

 

The project uses a scatter file which defines 2 execution regions, 0x8000 thru 0x40000 and 0x65000 thru 0x69000.  Note the second rejoin is an OVERLAY.

The linker errors seem to be in regards to code from one region calling code in another region.  C thumb code to C thumb code

I have tried the --no_thumb2_libraries.

 

Can anyone point me to a solution?

 

Regards

Larry