From 8ecc2ec0e3623dba3f540a73f876ed749f510178 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Fri, 1 Apr 2016 17:17:14 +0000 Subject: [PATCH] Remove dead code. Thanks to George Rimor for pointing it out. llvm-svn: 265155 --- lld/ELF/Writer.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index fd74766..db15861 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -1352,11 +1352,6 @@ template void Writer::fixSectionAlignments() { } } -template -static uintX_t fixFileOff(uintX_t FileOff, uintX_t Align, - OutputSectionBase *Sec) { -} - // Assign VAs (addresses at run-time) to output sections. template void Writer::assignAddresses() { Out::ElfHeader->setSize(sizeof(Elf_Ehdr)); -- 2.7.4