[LLVMdev] How to prevent LLVM from emitting R_X86_64_32 ELF relocations?

Yuri yuri at rawbw.com
Fri Apr 26 17:07:56 PDT 2013


ELF module of type ET_REL (Relocable module), generated by LLVM, always 
has some R_X86_64_32 in debug information sections.
This happens with Reloc models Default,Static,PIC_ and with CodeModel 
set to Large.

What is the way to prevent R_X86_64_32 ELF from ever appearing in ELF?

Yuri



More information about the llvm-dev mailing list