Forum Discussion
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?