Altera_Forum
Honored Contributor
20 years agonios-elf-objdump
We have always used "nios-elf-objdump -d --source nnn.out > file" to get the source code intermixed with the disassembly. But when we use the -ffunction-sections -fdata-sections in our compiles along with the -gc-sections when we do the link to do some code optimization, we no longer get the intermixed source code, we only get the disassembly. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif
Is there any way to get the intermixed source code and also do the optimization?