summaryrefslogtreecommitdiffstats
path: root/lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp')
-rw-r--r--lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp b/lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp
index e8c028a54c5..ab87fafa7df 100644
--- a/lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp
+++ b/lld/lib/ReaderWriter/PECOFF/LoadConfigPass.cpp
@@ -42,8 +42,9 @@ LoadConfigAtom::LoadConfigAtom(VirtualFile &file, const DefinedAtom *sxdata,
: COFFLinkerInternalAtom(
file, file.getNextOrdinal(),
std::vector<uint8_t>(sizeof(coff_load_configuration32))) {
- addDir32Reloc(this, sxdata, offsetof(llvm::object::coff_load_configuration32,
- SEHandlerTable));
+ addDir32Reloc(
+ this, sxdata, false,
+ offsetof(llvm::object::coff_load_configuration32, SEHandlerTable));
auto *data = getContents<llvm::object::coff_load_configuration32>();
data->SEHandlerCount = count;
}
OpenPOWER on IntegriCloud