Version française
Home     About     Download     Resources     Contact us    
Browse thread
THREADED_CODE: Why CODE32 defined on x86-64?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: skaller <skaller@u...>
Subject: Re: [Caml-list] THREADED_CODE: Why CODE32 defined on x86-64?
On Wed, 2005-11-16 at 16:21 +0100, Xavier Leroy wrote:

> I would have expected the dynamic loader to implement the small model
> like the static linker does, but from what you say it's not the case.

The modelling constraints only apply to a statically
linked image. The reason is that the constraints allow
offsets for various instructions to 'fit' in the opcode.

Dynamically loaded *shared* libraries are accessed
indirectly via tables .. so it doesn't matter where
they're loaded. 

-- 
John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net