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

Jiong Wang jiwang at tilera.com
Fri Apr 26 19:50:06 PDT 2013


On 04/27/2013 08:07 AM, Yuri wrote:
> 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?

Hi Yuri,

   why do you want to prevent R_X86_64_32 generation? for 32bit dwarf, I 
think generation of R_X86_64_32 is reasonable.

   you can check http://dwarfstd.org/doc/DWARF4.pdf.


>
> Yuri
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev


-- 
Regards,
Jiong. Wang
Tilera Corporation.




More information about the llvm-dev mailing list