[llvm-commits] LLD: update the WriterELF.cpp to use newly added Atom reference data
Sid Manning
sidneym at codeaurora.org
Tue Sep 18 07:14:04 PDT 2012
This patch makes use of recently added relocation reference data. The
bulk of this is derived from the Mach-O writer.
* Adds loop to SectionChunk::write traverse references calling the
writer's fixup handler, applyFixup.
* Adds method, ELFWriter::buildAtomToAddressMap to that creates a
mapping from an atom to its runtime address.
* Adds method, ELFWriter::addressOfAtom to return the runtime address
of the atom.
Thanks,
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WriterELF.diff
Type: text/x-patch
Size: 4019 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120918/7d5b6439/attachment.bin>
More information about the llvm-commits
mailing list