[ARM] Long jump.

RVCT and ADS make long jump be possible by adding veneer. But, interestingly, link tool of RVCT and ADS, added veneer only when jump to the code located in other execution area. So, in the case that long jump to the same-execution-area-code is needed, linker generates “memory relocation error” in ADS and RVCT. That’s why we need to classify code and put them into several execution area.

TI’s TMS470 adds veneer(‘Trampoline’ in TMS) even if target code of long jump is in same execution area. But TMS470 is very slow… :-(

I have no idea about gnu arm eabi tools…

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s