This is the mail archive of the cygwin-patches@cygwin.com 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: --enable-runtime-pseudo-reloc support in cygwin, take 3.


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.


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