Index: ELF/Writer.cpp =================================================================== --- ELF/Writer.cpp +++ ELF/Writer.cpp @@ -214,6 +214,8 @@ fixAbsoluteSymbols(); } + if (ErrorCount) + return; // Write the result down to a file. openFile(); if (ErrorCount)