--enable-runtime-pseudo-reloc support in cygwin, take 3.

Earnie Boyd earnie_boyd@yahoo.com
Mon Dec 2 05:38:00 GMT 2002


egor duda wrote:
> Hi!
> 
> Monday, 02 December, 2002 Earnie Boyd earnie_boyd@yahoo.com wrote:
> 
> EB> egor duda wrote:
> 
>>>Hi!
>>>
>>>Monday, 02 December, 2002 Earnie Boyd earnie_boyd@yahoo.com wrote:
>>>
>>>EB> egor duda wrote:
>>>
>>>
>>>>>Monday, 02 December, 2002 egor duda deo@logos-m.ru wrote:
>>>>>
>>>>>ed> 2002-12-02  Egor Duda <deo@logos-m.ru>
>>>>>ed>         * cygwin/lib/pseudo-reloc.c: New file.
>>>>>
>>>>>I guess i should put it to the public domain, so that mingw folks can
>>>>>also use it.
>>>>>
>>>>
>>>EB> Is it usable without Cygwin?
>>>
>>>Yes. It doesn't use any cygwin functionality. Recent binutils should
>>>export __RUNTIME_PSEUDO_RELOC_LIST__ and __RUNTIME_PSEUDO_RELOC_LIST_END__
>>>symbols for all PE-based targets, including Mingw.
>>>
>>>I'm not that familiar with Mingw internals, but you just have to
>>>add a call to _pei386_runtime_relocator() to the application startup
>>>(to the crt2.o, IIRC) and link with pseudo-reloc.o.
>>>
>>
> 
> EB> So, should this be a part of binutils instead of Cygwin?
> 
> No. It's a part of runtime environment. It just uses some information
> binutils provide.
> 

Then public domain would be appreciated or you could also add it to 
mingw-runtime with a public domain license.

Earnie.



More information about the Cygwin-patches mailing list