English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2005-11-16 (18:55)
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