[LLVMdev] Relocation issue with jump tables in ELF object files on X86_64
eli.friedman at gmail.com
Thu Jun 17 15:28:18 PDT 2010
On Thu, Jun 17, 2010 at 2:54 PM, Smith, Tim <tim at bioware.com> wrote:
> We generating object files, not using the JIT so I don't know if those fixes applies in our case.
> As far as using PIC goes, the ELFCodeEmitter has asserts to tell you that PIC isn't currently supported.
Right... the 2.6 ELFCodeEmitter is experimental code which was never
complete enough to handle options like PIC.
> Will have to get the 2.7 update and try it out.
ELFCodeEmitter is gone in 2.7; hopefully, similar functionality will
be back in 2.8 without the limitations it had in 2.6. In the
meantime, I'd suggest simply using GNU as.
More information about the llvm-dev