summaryrefslogtreecommitdiffstats
path: root/lld/lib/Driver
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/Driver')
-rw-r--r--lld/lib/Driver/GnuLdDriver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/Driver/GnuLdDriver.cpp b/lld/lib/Driver/GnuLdDriver.cpp
index c4b8ab42f6b..c4f1e316614 100644
--- a/lld/lib/Driver/GnuLdDriver.cpp
+++ b/lld/lib/Driver/GnuLdDriver.cpp
@@ -119,7 +119,7 @@ bool GnuLdDriver::linkELF(int argc, const char *argv[],
options->registry().addSupportNativeObjects();
if (options->allowLinkWithDynamicLibraries())
options->registry().addSupportELFDynamicSharedObjects(
- options->useShlibUndefines());
+ options->useShlibUndefines(), options->targetHandler());
return link(*options, diagnostics);
}
OpenPOWER on IntegriCloud