Remove "FIXME" from a comment.
A bug in BFD linker is not our FIXME item. llvm-svn: 328381
This commit is contained in:
parent
4e1ae83b3c
commit
bd63adcb26
|
@ -861,13 +861,12 @@ template <class ELFT> void SharedFile<ELFT>::parseRest() {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Config->EMachine == EM_MIPS) {
|
// MIPS BFD linker puts _gp_disp symbol into DSO files and incorrectly
|
||||||
// FIXME: MIPS BFD linker puts _gp_disp symbol into DSO files
|
// assigns VER_NDX_LOCAL to this section global symbol. Here is a
|
||||||
// and incorrectly assigns VER_NDX_LOCAL to this section global
|
// workaround for this bug.
|
||||||
// symbol. Here is a workaround for this bug.
|
if (Config->EMachine == EM_MIPS && Versym && VersymIndex == VER_NDX_LOCAL &&
|
||||||
if (Versym && VersymIndex == VER_NDX_LOCAL && Name == "_gp_disp")
|
Name == "_gp_disp")
|
||||||
continue;
|
continue;
|
||||||
}
|
|
||||||
|
|
||||||
const Elf_Verdef *Ver = nullptr;
|
const Elf_Verdef *Ver = nullptr;
|
||||||
if (VersymIndex != VER_NDX_GLOBAL) {
|
if (VersymIndex != VER_NDX_GLOBAL) {
|
||||||
|
|
Loading…
Reference in New Issue