gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

C/C++ > Linkscript + Constructors

#2891 - Xvoid6f - Fri Feb 14, 2003 8:23 am

I am using classes to hierarchically represent objects. However, when creating many classes, little amounts of memory are taken up in .iwram. These little amounts add up. How can I change the Linkscript so that it puts constructors elsewhere?

Here is an example of objdump -x project.elf:

030052dc w O .data 00000074 _ZTV7GameEnd