[Note TOP posting is not the preferred way on this group. I can't be bothered
to reformat it all - so look back on the thread for the full context.]
Sudhahar wrote:
>>Thanks Cliff/Dave. I could not find the code where the dll data/bss
>>segments address are updated in cygwin. But in the fork cod
: cygwin at cygwin dot com
* Date: Mon, 23 Jan 2006 22:35:20 -0800
* Subject: Re: Need information about data and bss segment address
access in cygwin
* References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
* Reply-to: cygwin at cygwin dot com
Sudhaha
Sudhahar wrote:
> Thanks Cliff/Dave. I could not find the code where the dll data/bss
> segments address are updated in cygwin. But in the fork code we are
> doing a copy for all linked and loaded dlls data/bss segments by
> giving the address as
There is no code to update them. As the other rep
Thanks Cliff/Dave. I could not find the code where the dll data/bss
segments address are updated in cygwin. But in the fork code we are
doing a copy for all linked and loaded dlls data/bss segments by
giving the address as
for (dll *d = dlls.istart (DLL_LINK); d; d = dlls.inext ())
{
debu
Cliff Hones wrote:
> Sudhahar wrote:
>> Thanks Dave your reply answered the question where they declared. But
>> how does these variables get the segment address of data and bss for a
>> running process to make a copy to the child process? This is the
>> questions which is a puzzle to me.
>
> The
Sudhahar wrote:
> Thanks Dave your reply answered the question where they declared. But
> how does these variables get the segment address of data and bss for a
> running process to make a copy to the child process? This is the
> questions which is a puzzle to me.
The linker places these variables
Thanks Dave your reply answered the question where they declared. But
how does these variables get the segment address of data and bss for a
running process to make a copy to the child process? This is the
questions which is a puzzle to me.
Thanks in Advance for your answer
Sudha
On 1/20/06, Dave
Sudhahar wrote:
> from parent process to child process. After trying to find where the
> data_start and data_end get the address of running process data and
> bss segment, I ended up with a declaration of
>
> extern char _data_start__, _data_end__, _bss_start__, _bss_end__; in
> file Winsup.h
>
Hi,
I'm trying to understand how Cygwin implement fork in windows. When
I browse through the fork code I found Cygwin copies the data
segment,bss segment etc as
rc = fork_copy (pi, "user/cygwin data",
user_data->data_start, user_data->data_end,
user_data->bss_start, user_data
9 matches
Mail list logo