l4-hackers Digest, Vol 99, Issue 11

Chen Tian chen.tian at acm.org
Mon Jul 18 18:43:53 CEST 2011


Hi Adam,

I don't have a separate PHDR for ctors. I got this problem when I put
ctors into the text section. Now I have moved ctors into the data
section and the problem disappeared. Any ideas?

Another questions is why ktext=0x90909090 in the ld file of fiasco.oc?
Is this value randomly chosen?

Thanks.



On Sat, Jul 16, 2011 at 3:00 AM,
<l4-hackers-request at os.inf.tu-dresden.de> wrote:
> Send l4-hackers mailing list submissions to
>        l4-hackers at os.inf.tu-dresden.de
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
> or, via email, send a message with subject or body 'help' to
>        l4-hackers-request at os.inf.tu-dresden.de
>
> You can reach the person managing the list at
>        l4-hackers-owner at os.inf.tu-dresden.de
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of l4-hackers digest..."
>
>
> Today's Topics:
>
>   1. Re: write my own root task. (Adam Lackorzynski)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 15 Jul 2011 23:20:50 +0200
> From: Adam Lackorzynski <adam at os.inf.tu-dresden.de>
> To: l4-hackers at os.inf.tu-dresden.de
> Subject: Re: write my own root task.
> Message-ID: <20110715212050.GB5040 at os.inf.tu-dresden.de>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> 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
> --
> Adam                 adam at os.inf.tu-dresden.de
>  Lackorzynski         http://os.inf.tu-dresden.de/~adam/
>
>
>
> ------------------------------
>
> _______________________________________________
> l4-hackers mailing list
> l4-hackers at os.inf.tu-dresden.de
> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
>
>
> End of l4-hackers Digest, Vol 99, Issue 11
> ******************************************
>




More information about the l4-hackers mailing list