Forum Discussion
Altera_Forum
Honored Contributor
15 years agoproblem with code size"need help"
hello, I have a problem with code size.. I am running an application to view a 24bit color picture on a 480x272 touch screen, I used a 8 Mbyte SDRAM on DE1 board cycloneII and a scatter gather D...
Altera_Forum
Honored Contributor
15 years agoThe output of 'objdump -h foo.o' and 'objdump -n foo.o' will show which sections the various pieces of data are assigned to.
Your pic[] should end up in .data, pic_h and pic_w in .sdata. If they are correct there, then maybe something is stopping the linker merging all the .sdata sections together. Which version of gcc are you using?