From 8016bdfd934d0bfed10cf29b255149ad48a523dd Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 8 Sep 2017 18:53:43 +0000 Subject: Handle empty dynamic lists. llvm-svn: 312820 --- lld/ELF/ScriptParser.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lld/ELF/ScriptParser.cpp') diff --git a/lld/ELF/ScriptParser.cpp b/lld/ELF/ScriptParser.cpp index 616164b..6a534e6 100644 --- a/lld/ELF/ScriptParser.cpp +++ b/lld/ELF/ScriptParser.cpp @@ -180,6 +180,7 @@ static ExprValue bitOr(ExprValue A, ExprValue B) { } void ScriptParser::readDynamicList() { + Config->HasDynamicList = true; expect("{"); std::vector Locals; std::vector Globals; -- cgit v1.1