[LLVMdev] "-relocation-model=static" does not work in llc compiler ?
Tim Northover
t.p.northover at gmail.com
Wed Nov 6 10:45:52 PST 2013
> If you also give "-code-model=large" then LLVM won't assume that
> "addr" is nearby so it'll use a movabsq with a static relocation.
Actually, it seems our own Eli has written rather a good description
of these code models:
http://eli.thegreenplace.net/2012/01/03/understanding-the-x64-code-models/.
Well worth the read (the default models he talks about at the top are
essentially "static").
Cheers.
Tim.
More information about the llvm-dev
mailing list