search for: armelfobjectwrit

Displaying 5 results from an estimated 5 matches for "armelfobjectwrit".

Did you mean: armelfobjectwriter
2013 Nov 04
0
[LLVMdev] [ARM] Mixing rel/rela relocations
Hi Shankar, > Does LLVM emit rel/rela relocations with ARM ? I believe we emit .rel for (32-bit) ARM. Hard-coded in ARMELFObjectWriter.cpp (“HasRelocationAddend”). It seems to be what most toolchains have settled on. AArch64 is .rela always in LLVM, in case it matters. > Any tests ? Well there are tests of what we do, but obviously not of the full scope of functionality permitted by the ABI. Cheers. Tim. -------------- ne...
2013 Nov 04
4
[LLVMdev] [ARM] Mixing rel/rela relocations
Hi, I was looking at the ARM ABI docs(http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044e/IHI0044E_aaelf.pdf) and they mention. "A binary file may use REL or RELA relocations or a mixture of the two (but multiple relocations for the same address must use only one type)." Does LLVM emit rel/rela relocations with ARM ? Any tests ? Thanks Shankar Easwaran -- Qualcomm
2010 Nov 18
3
[LLVMdev] MC ELFObjectWriter backend refactoring
...for the MBlaze backend. Currently, each supported backend calls ELFObjectWriter::createELFObjectWriter from within the backend's TargetAsmBackend::createObjectWriter method. The createELFObjectWriter method then creates a new backend specific ELFObjectWriter class (either X86ELFObjectWriter or ARMELFObjectWriter) by decoding a given machine type. The attached patch does some code refactoring so that a backend can create it's own ELFObjectWriter class and instantiate this class directly in TargetAsmBackend::createObjectWriter. This allows backend specific stuff in lib/MC/ELFObjectWriter.cpp to be mov...
2011 Nov 16
0
[LLVMdev] eflags and other
...is the objdump will not disassemble instructions in a .o that it things are not part of the specific subflavor. This is where I noticed the problem originally. There are various comments to this effect but they are not totally accurate. // FIXME: get the real EABI Version from the Triple. void ARMELFObjectWriter::WriteEFlags() { Write32(ELF::EF_ARM_EABIMASK & DefaultEABIVersion); } The Triple is in general not enough. Any ideas no how to fix this? I have some but it will touch several architectures.
2010 Nov 12
0
[LLVMdev] [llvm-commits][PATCH] elfobjectwriter patch (ARM/MC/ELF)
...the functionality of the ELFObjectWriterImpl class into >> ELFObjectWriter, and subclass ELFObjectWriter to >> <ARCH>ELFObjectWriter. >> Change most ELF specific routines to be virtual - except for the low >> level Write* routines - >> 1. -1 at least new classes ARMELFObjectWriter and X86ELFObjectWriter >> 2. -1 large patch >> 3. +2 Resulting special cases are isolated in their own class >> 4. +1  Depends upon virtual dispatch for higher level differentiation >> - removes unnecessary trampoline between ELFObjectWriter and >> ELFObjectWriterImp...