Forum Discussion
Altera_Forum
Honored Contributor
21 years agoDisabling GP-addressing in generated source code
Hi Everybody, I would like to share some thougts about the way to control when the compiler uses GP-addressing to address global data structures. This is resulted also from a talk with Mon...
Altera_Forum
Honored Contributor
21 years agoHi wombat,
I'm basically using Altera Generated linker script, with little modifications that do not influence this problem. I'm now quite happy with the solution where the user should explicitly disable GP addressing inside the include files when declaring a data structure that goes far away from the GP. In general these GP-disabling kind of pragma will be added only when the compiler fails, (and of course when data have to be shared among different processors). bye PJ