Relocation of ELF at target (coldfire)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Relocation of ELF at target (coldfire)

845 次查看
DhanapalS
Contributor I

Hi,

I want to down load one image and choose 2 locations in target (start address will be decided in target at run time by another code, say boot loader during downloading) and relocate accordingly. 

Have anyone come across such requirement. 

 

One option is to rewrite m68k-elf-objcopy, compile for coldfire and run in target. Any other ideas or tips..

 

Thanks for your time.

 

Regards,

Dhanapal.S 

标签 (1)
0 项奖励
回复
1 回复

321 次查看
scifi
Senior Contributor I
One way to achieve this is to instruct the compiler/linker to generate position-independent code.
0 项奖励
回复