[lld] r222199 - [mach-o] fix typos. No function change
Nick Kledzik
kledzik at apple.com
Mon Nov 17 16:30:20 PST 2014
Author: kledzik
Date: Mon Nov 17 18:30:20 2014
New Revision: 222199
URL: http://llvm.org/viewvc/llvm-project?rev=222199&view=rev
Log:
[mach-o] fix typos. No function change
Modified:
lld/trunk/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp
Modified: lld/trunk/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp?rev=222199&r1=222198&r2=222199&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp (original)
+++ lld/trunk/lib/ReaderWriter/MachO/ArchHandler_arm64.cpp Mon Nov 17 18:30:20 2014
@@ -717,11 +717,7 @@ void ArchHandler_arm64::appendSectionRel
ARM64_RELOC_TLVP_LOAD_PAGEOFF12 | rExtern | rLength4);
return;
case pointer64:
- if (ref.target()->name().empty())
- appendReloc(relocs, sectionOffset, sectionIndexForAtom(*ref.target()), 0,
- ARM64_RELOC_UNSIGNED | rLength8);
- else
- appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0,
+ appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0,
ARM64_RELOC_UNSIGNED | rExtern | rLength8);
return;
case delta64:
More information about the llvm-commits
mailing list