Forum Discussion
Altera_Forum
Honored Contributor
19 years agoHi GrubenKarlo,
> So all I now have to know is, how can I instruct the Linker to continously link the code starting > from address 0? There are several techniques you can use. The quickest (for experimenting) is to use objcopy to change the section addresses. E.g.: nios2-elf-objcopy --change-section-address .text=0 foo.elf You might need to move your other sections as well (.data, .bss, .sbss). In the long run, you will probably want to just pass the -Ttext option to ld. Regards, --Scott