diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-07-13 19:26:06 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-07-13 19:26:06 +0000 |
commit | 267829774358b5aebd3e726ae318813bd48129bb (patch) | |
tree | 5a8904da0d9716ea10b69258f5d50e0b1ee2ec2c /ELF/ScriptParser.cpp | |
parent | 0317860f00ca8e821989c92c8a6cc461fd5f2009 (diff) |
Notes
Diffstat (limited to 'ELF/ScriptParser.cpp')
-rw-r--r-- | ELF/ScriptParser.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ELF/ScriptParser.cpp b/ELF/ScriptParser.cpp index 4a44944fe7ed..72940ca0cfd4 100644 --- a/ELF/ScriptParser.cpp +++ b/ELF/ScriptParser.cpp @@ -1191,8 +1191,7 @@ void ScriptParser::readMemory() { if (It != Script->Opt.MemoryRegions.end()) setError("region '" + Name + "' already defined"); else - Script->Opt.MemoryRegions[Name] = {Name, Origin, Length, - Origin, Flags, NegFlags}; + Script->Opt.MemoryRegions[Name] = {Name, Origin, Length, Flags, NegFlags}; } } |