CFA: pseudo-reloc v2
Dave Korn
dave.korn.cygwin@googlemail.com
Sat Oct 3 18:16:00 GMT 2009
Charles Wilson wrote:
[snip]
WAG:
> 120 void
> 121 _pei386_runtime_relocator ()
> 122 {
> 123 static int was_init = 0;
> 124 if (was_init)
> 125 return;
> 126 ++was_init;
> 127 do_pseudo_reloc (&__RUNTIME_PSEUDO_RELOC_LIST__,&__RUNTIME_PSEUDO_RELOC_LIST_END__,&_image_base__);
> 128 }
Maybe that static should be NO_COPY? If everything gets remapped in the
forkee, do the relocs need rerunning? (I'm not sure about the behaviour of
NtCreateProcess w.r.t modified .text section pages.)
cheers,
DaveK
More information about the Cygwin-developers
mailing list