This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CFA: pseudo-reloc v2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]