This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: [XFree86-4.2.0] Now that we have an improved ld, please makelibXt a shared library.
- From: Alexander Gottwald <alexander dot gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Fri, 1 Aug 2003 11:23:48 +0200 (MEST)
- Subject: RE: [XFree86-4.2.0] Now that we have an improved ld, please makelibXt a shared library.
- References: <00b501c357b5$7eb5da10$70a407d5@BRAMSCHE>
- Reply-to: cygwin-xfree at cygwin dot com
On Fri, 1 Aug 2003, Ralf Habacker wrote:
> _XInherit:
> jmp (*xyz)
>
> where xyz is the address of the image allocation table, in which the address of
> the real function address is stored.
>
> So using *(long *)((long)_XInherit+2) in a client dll for comparing gives the
> real function address.
_XtInherit is now used in initialisation of static structures. So any substitute
must not contain terms which value is only known at runtime. This includes return
values of function and memory access (which includes variables and your example).
bye
ago
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723