Andes Workshop http://forum.andestech.com/ |
|
error message: R_NDS32_25_PCREL_RELA against symbol `_start http://forum.andestech.com/viewtopic.php?f=25&t=785 |
Page 1 of 1 |
Author: | cindy [ Tue Jan 21, 2014 2:44 pm ] |
Post subject: | error message: R_NDS32_25_PCREL_RELA against symbol `_start |
The error message: relocation truncated to fit: R_NDS32_25_PCREL_RELA against symbol `_start' defined in .text section in ./platform/crt0.o Root cause: The first line in crt0.S is j _start The instruction j only can jump +/- 16MB The label _start is too far to jump into. Solution: Code: j MY_Start
MY_Start: movi $r0,0 jral $r0 |
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |