Forum Discussion
Altera_Forum
Honored Contributor
12 years agoHi,
--- Quote Start --- 1) http://www.altera.com/literature/hb/nios2/n2cpu_nii5v1.pdf 7-12 documents the 64KB GOT limit: Because the GOT-relative and TP-relative relocations are 16-bit relocations, no single object file can require more than 64 KB of GOT and no dynamic object using local dynamic or local executable thread-local storage (TLS) can have more than 64 KB of TLS data. New relocations might be added to support this in the future. It may be time to think about the mentioned future support for larger GOT via -fPIC. --- Quote End --- I don't know the recent situation, but I've posted an implimentation http://www.alteraforum.com/forum/showthread.php?t=26331 , though it is not so complete. And I experienced the problem when my program grew beyond 32KB GOT boundary, not 64KB. Kazu