AnsweredAssumed Answered

relocation truncated to fit: R_ARM_THM_JUMP11

Question asked by Aurélien f on May 24, 2017
Latest reply on May 24, 2017 by Aurélien f

Hello, 

 

I want to make a branch from startup file like this :

 

Default_Handler:
  b exception_panic
  .size Default_Handler, .-Default_Handler

 

But i'm getting this error : 

relocation truncated to fit: R_ARM_THM_JUMP11 against symbol `exception_panic' defined in .text.exception_panic section in Miscelleneous/src/panic.o
collect2: error: ld returned 1 exit status

 

Do i need to create a specific section that is close enough to my branch instruction so that the branch can be effective ?

 

Thank you,

 

Best regards,

 

Aurélien

Outcomes