[lld] r248249 - [ELF2] Fix gcc build

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 04:05:28 PDT 2015


Thanks
On Sep 22, 2015 4:16 AM, "Denis Protivensky via llvm-commits" <
llvm-commits at lists.llvm.org> wrote:

> Author: denis-protivensky
> Date: Tue Sep 22 03:14:46 2015
> New Revision: 248249
>
> URL: http://llvm.org/viewvc/llvm-project?rev=248249&view=rev
> Log:
> [ELF2] Fix gcc build
>
> Remove explicit qualification in template instantiation.
>
> Modified:
>     lld/trunk/ELF/OutputSections.cpp
>
> Modified: lld/trunk/ELF/OutputSections.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=248249&r1=248248&r2=248249&view=diff
>
> ==============================================================================
> --- lld/trunk/ELF/OutputSections.cpp (original)
> +++ lld/trunk/ELF/OutputSections.cpp Tue Sep 22 03:14:46 2015
> @@ -456,19 +456,19 @@ template ELFFile<ELF64LE>::uintX_t getSy
>  template ELFFile<ELF64BE>::uintX_t getSymVA(const DefinedRegular<ELF64BE>
> *DR);
>
>  template ELFFile<ELF32LE>::uintX_t
> -lld::elf2::getLocalSymVA(const ELFFile<ELF32LE>::Elf_Sym *Sym,
> -                         const ObjectFile<ELF32LE> &File);
> +getLocalSymVA(const ELFFile<ELF32LE>::Elf_Sym *Sym,
> +              const ObjectFile<ELF32LE> &File);
>
>  template ELFFile<ELF32BE>::uintX_t
> -lld::elf2::getLocalSymVA(const ELFFile<ELF32BE>::Elf_Sym *Sym,
> -                         const ObjectFile<ELF32BE> &File);
> +getLocalSymVA(const ELFFile<ELF32BE>::Elf_Sym *Sym,
> +              const ObjectFile<ELF32BE> &File);
>
>  template ELFFile<ELF64LE>::uintX_t
> -lld::elf2::getLocalSymVA(const ELFFile<ELF64LE>::Elf_Sym *Sym,
> -                         const ObjectFile<ELF64LE> &File);
> +getLocalSymVA(const ELFFile<ELF64LE>::Elf_Sym *Sym,
> +              const ObjectFile<ELF64LE> &File);
>
>  template ELFFile<ELF64BE>::uintX_t
> -lld::elf2::getLocalSymVA(const ELFFile<ELF64BE>::Elf_Sym *Sym,
> -                         const ObjectFile<ELF64BE> &File);
> +getLocalSymVA(const ELFFile<ELF64BE>::Elf_Sym *Sym,
> +              const ObjectFile<ELF64BE> &File);
>  }
>  }
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150922/b6e85034/attachment.html>


More information about the llvm-commits mailing list