Forum Discussion
Altera_Forum
Honored Contributor
14 years agoCustom Linker Script
Dear all, I have to add an output section in the final binary called "EXTSec". Therefore, I modified the makefile to point to a linkerscript.lds. Then I copied the original likerscript.x contents,...
Altera_Forum
Honored Contributor
13 years agoI suggest you to do it in two steps. First compile all .c files into .o files then invoke the linker and pass the linker script as an argument. What I'm suspecting is that the makefile is passing some arguments to the linker that you are not aware of.
One question for you, where do you tag your code with .pcode and .tcode sections? this can explain the strange behaviour of the linker