Hello,
I am trying to use C++ to write my own root task. I found that if I declare a static or global object, bootstrap complains that two regions belonging to my root task overlapped and thus cannot proceed. Why does my root task have two conflicting regions? According to the bootstrap report, they both have the correct starting address, but one ends just at the global object's ctor in .ctors section, while the other region covers the entire program. If the .ctors section is empty then everything is fine. Any ideas?
Thanks. Chen
On Thu Jul 14, 2011 at 15:15:25 -0700, Chen Tian wrote:
I am trying to use C++ to write my own root task. I found that if I declare a static or global object, bootstrap complains that two regions belonging to my root task overlapped and thus cannot proceed. Why does my root task have two conflicting regions? According to the bootstrap report, they both have the correct starting address, but one ends just at the global object's ctor in .ctors section, while the other region covers the entire program. If the .ctors section is empty then everything is fine. Any ideas?
I wonder why you have an own PHDR for ctors? How many do you have?
Adam
l4-hackers@os.inf.tu-dresden.de