forked from OSchip/llvm-project
parent
60db3549e2
commit
68c42ecae0
|
@ -717,11 +717,7 @@ void ArchHandler_arm64::appendSectionRelocations(
|
||||||
ARM64_RELOC_TLVP_LOAD_PAGEOFF12 | rExtern | rLength4);
|
ARM64_RELOC_TLVP_LOAD_PAGEOFF12 | rExtern | rLength4);
|
||||||
return;
|
return;
|
||||||
case pointer64:
|
case pointer64:
|
||||||
if (ref.target()->name().empty())
|
appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0,
|
||||||
appendReloc(relocs, sectionOffset, sectionIndexForAtom(*ref.target()), 0,
|
|
||||||
ARM64_RELOC_UNSIGNED | rLength8);
|
|
||||||
else
|
|
||||||
appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0,
|
|
||||||
ARM64_RELOC_UNSIGNED | rExtern | rLength8);
|
ARM64_RELOC_UNSIGNED | rExtern | rLength8);
|
||||||
return;
|
return;
|
||||||
case delta64:
|
case delta64:
|
||||||
|
|
Loading…
Reference in New Issue