This patch makes use of recently added relocation reference data.  The bulk of this is derived from the Mach-O writer.  Reviewed by: Nick Kledzik.  * 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. 
This patch makes use of recently added relocation reference data.  The bulk
of this is derived from the Mach-O writer.  Reviewed by: Nick Kledzik.
 * 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. 


git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@164618 91177308-0d34-0410-b5e6-96231b3b80d8

llvm-mirror/lld,llvm-mirror/lld