On 7 Aug 2013, at 21:56, Jilles Tjoelker <jil...@stack.nl> wrote:

> The code_model stuff is not for x32 support but for PIC/PIE code where
> code+data exceed 2GB so relative addressing cannot always be used. The
> ABI then prescribes that %r15 be loaded with the GOT pointer when
> invoking a large model (code>2GB) PLT entry; otherwise (medium model or
> no PLT entry used), much like i386, any register can be used for the GOT
> pointer.

Does our rtld provide support for this?  We recently encountered a problem with 
the new LLVM JIT because FreeBSD's mmap() does not provide a way of requesting 
memory that is below the 2GB line and so we can't use the small code model.

David

_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to