Forum Discussion
Altera_Forum
Honored Contributor
15 years agoThe linker must be putting your program sections together in an incorrect order.
The 'small data' section is used for small data items (be default less than 8 bytes) so that they can be accessed using a signed 16bit offset from the 'global pointer' (gp) register instead of having to load the 32bit address for each access. So it looks as though the linker has put a large data item into the 'small data' section making the section larger than 64k. If do a working link (small image array) and then look at the symbol table and linker map output file (you'll need to persuade the IDE to pass -Map file to ld) you should be able to work out why.