[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FW: RE: x86_64 port



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

Dave



Reply to: