FW: RE: x86_64 port

David Brown haskell at davidb.org
Mon Mar 7 15:06:58 EST 2005

On Mon, Mar 07, 2005 at 07:01:16PM +0100, Kurt Roeckx wrote:

> Also, it should be a "movq $g, %rax" instead of movl.

The default x86_64 model on gcc is -mcmodel=small, which assumes that all
symbols are within the first 2GB.  If you compile it with -mcmodel=medium
it'll generate:

  movabsq  $g, %r13


More information about the Glasgow-haskell-users mailing list