summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/StubAtoms_x86_64.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/StubAtoms_x86_64.hpp')
-rw-r--r--lld/lib/ReaderWriter/MachO/StubAtoms_x86_64.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/ReaderWriter/MachO/StubAtoms_x86_64.hpp b/lld/lib/ReaderWriter/MachO/StubAtoms_x86_64.hpp
index 0524e55837e..d3caff0e0bf 100644
--- a/lld/lib/ReaderWriter/MachO/StubAtoms_x86_64.hpp
+++ b/lld/lib/ReaderWriter/MachO/StubAtoms_x86_64.hpp
@@ -101,7 +101,7 @@ class X86_64StubHelperAtom : public SimpleDefinedAtom {
public:
X86_64StubHelperAtom(const File &file, const Atom &helperCommon)
: SimpleDefinedAtom(file) {
- this->addReference(KindHandler_x86_64::lazyImm, 1, nullptr, 0);
+ this->addReference(KindHandler_x86_64::lazyImmediate, 1, nullptr, 0);
this->addReference(KindHandler_x86_64::ripRel32, 6, &helperCommon, 0);
}
OpenPOWER on IntegriCloud