Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

nios-elf-objdump

Altera_Forum
Honored Contributor II
998 Views

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?
0 Kudos
0 Replies
Reply