forked from OSchip/llvm-project
parent
60db3549e2
commit
68c42ecae0
|
@ -717,10 +717,6 @@ void ArchHandler_arm64::appendSectionRelocations(
|
|||
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,
|
||||
ARM64_RELOC_UNSIGNED | rExtern | rLength8);
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue