Relocation of ELF at target (coldfire)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Relocation of ELF at target (coldfire)

844件の閲覧回数
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 返信

320件の閲覧回数
scifi
Senior Contributor I
One way to achieve this is to instruct the compiler/linker to generate position-independent code.
0 件の賞賛
返信