Displaying 3 results from an estimated 3 matches for "elfdefinedatom".
2015 Jun 15
2
[LLVMdev] [lld] How do I prevent .note sections from being eliminated?
...e::createAtoms() never creates an atom for .note sections.
It seems like even if I use something like SDataSection, then I will still
need to modify ELFFIle::handleSectionWithNoSymbols(). What is the best
way to do this? Should I make the function virtual and override it in
AMDGPUELFFile.cpp?
In ELFDefinedAtom::doContentType(), SHT_NOTE sections are only assigned
the typeR[OW]Note ContentType if they have the SHF_ALLOC flag. This is
because any section without SHF_ALLOC is assigned the typeNoAlloc
ContentType before the section type is ever considered. Is this a bug
or are SHT_NOTE sections required to...
2014 Feb 26
2
[LLVMdev] [lld] Relocation reading refactoring
Hi Shankar,
On Tue, Feb 12, 2013 at 10:46 PM, Shankar Easwaran
<shankare at codeaurora.org> wrote:
> Author: shankare
> Date: Tue Feb 12 12:46:53 2013
> New Revision: 174990
>
> URL: http://llvm.org/viewvc/llvm-project?rev=174990&view=rev
[...]
> ELFDefinedAtom<ELFT> *createDefinedAtomAndAssignRelocations(
> StringRef symbolName, StringRef sectionName, const Elf_Sym *symbol,
> const Elf_Shdr *section, ArrayRef<uint8_t> content) {
> @@ -380,6 +534,11 @@ private:
> (ri->r_offset < symbol->st_value...
2015 Jun 13
2
[LLVMdev] [lld] How do I prevent .note sections from being eliminated?
Hi,
I'm working on an AMDGPU target for lld, and I'm trying to link a single
.o file with a .note section, but the .note section is missing from the
resulting a.out file. How can I control which sections get copied over
to the executable? Is there a target hook to implement?
Thanks,
Tom