Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHmmm....
You might manage to add sections to the list of 'small' sections in nios2.c for %r0 relative addressing. And then output nnn(r0) instead of the %gprel(nnn)(gp) for such symbols. Might be possible to use one of the MACH_DEP symbol flags to qualify SMALL_DATA.