From bd63adcb26f17551746ddac69b6764c5583fda63 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Fri, 23 Mar 2018 22:48:17 +0000 Subject: [PATCH] Remove "FIXME" from a comment. A bug in BFD linker is not our FIXME item. llvm-svn: 328381 --- lld/ELF/InputFiles.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index 76ee762..aa04fdd 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp @@ -861,13 +861,12 @@ template void SharedFile::parseRest() { continue; } - if (Config->EMachine == EM_MIPS) { - // FIXME: MIPS BFD linker puts _gp_disp symbol into DSO files - // and incorrectly assigns VER_NDX_LOCAL to this section global - // symbol. Here is a workaround for this bug. - if (Versym && VersymIndex == VER_NDX_LOCAL && Name == "_gp_disp") - continue; - } + // MIPS BFD linker puts _gp_disp symbol into DSO files and incorrectly + // assigns VER_NDX_LOCAL to this section global symbol. Here is a + // workaround for this bug. + if (Config->EMachine == EM_MIPS && Versym && VersymIndex == VER_NDX_LOCAL && + Name == "_gp_disp") + continue; const Elf_Verdef *Ver = nullptr; if (VersymIndex != VER_NDX_GLOBAL) { -- 2.7.4