summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/MachO/StubAtoms_x86.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/MachO/StubAtoms_x86.hpp')
-rw-r--r--lld/lib/ReaderWriter/MachO/StubAtoms_x86.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/lib/ReaderWriter/MachO/StubAtoms_x86.hpp b/lld/lib/ReaderWriter/MachO/StubAtoms_x86.hpp
index 8697db583ab..4e50592b724 100644
--- a/lld/lib/ReaderWriter/MachO/StubAtoms_x86.hpp
+++ b/lld/lib/ReaderWriter/MachO/StubAtoms_x86.hpp
@@ -100,8 +100,8 @@ class X86StubHelperAtom : public SimpleDefinedAtom {
public:
X86StubHelperAtom(const File &file, const Atom &helperCommon)
: SimpleDefinedAtom(file) {
- this->addReference(KindHandler_x86::lazyImm, 1, nullptr, 0);
- this->addReference(KindHandler_x86::call32, 6, &helperCommon, 0);
+ this->addReference(KindHandler_x86::lazyImmediate, 1, nullptr, 0);
+ this->addReference(KindHandler_x86::branch32, 6, &helperCommon, 0);
}
virtual ContentType contentType() const {
OpenPOWER on IntegriCloud