View | Details | Raw Unified | Return to bug 230463
Collapse All | Expand All

(-)devel/llvm40/files/patch-tools_lld_ELF_LTO.cpp (+14 lines)
Line 0 Link Here
1
--- tools/lld/ELF/LTO.cpp.orig	2017-01-04 09:45:45 UTC
2
+++ tools/lld/ELF/LTO.cpp
3
@@ -158,7 +158,7 @@ std::vector<InputFile *> BitcodeCompiler::compile() {
4
   return Ret;
5
 }
6
 
7
-template void BitcodeCompiler::template add<ELF32LE>(BitcodeFile &);
8
-template void BitcodeCompiler::template add<ELF32BE>(BitcodeFile &);
9
-template void BitcodeCompiler::template add<ELF64LE>(BitcodeFile &);
10
-template void BitcodeCompiler::template add<ELF64BE>(BitcodeFile &);
11
+template void BitcodeCompiler::add<ELF32LE>(BitcodeFile &);
12
+template void BitcodeCompiler::add<ELF32BE>(BitcodeFile &);
13
+template void BitcodeCompiler::add<ELF64LE>(BitcodeFile &);
14
+template void BitcodeCompiler::add<ELF64BE>(BitcodeFile &);
(-)devel/llvm40/files/patch-tools_lld_ELF_Symbols.cpp (+80 lines)
Line 0 Link Here
1
--- tools/lld/ELF/Symbols.cpp.orig	2017-02-01 22:45:57 UTC
2
+++ tools/lld/ELF/Symbols.cpp
3
@@ -343,45 +343,45 @@ template bool SymbolBody::hasThunk<ELF32BE>() const;
4
 template bool SymbolBody::hasThunk<ELF64LE>() const;
5
 template bool SymbolBody::hasThunk<ELF64BE>() const;
6
 
7
-template uint32_t SymbolBody::template getVA<ELF32LE>(uint32_t) const;
8
-template uint32_t SymbolBody::template getVA<ELF32BE>(uint32_t) const;
9
-template uint64_t SymbolBody::template getVA<ELF64LE>(uint64_t) const;
10
-template uint64_t SymbolBody::template getVA<ELF64BE>(uint64_t) const;
11
+template uint32_t SymbolBody::getVA<ELF32LE>(uint32_t) const;
12
+template uint32_t SymbolBody::getVA<ELF32BE>(uint32_t) const;
13
+template uint64_t SymbolBody::getVA<ELF64LE>(uint64_t) const;
14
+template uint64_t SymbolBody::getVA<ELF64BE>(uint64_t) const;
15
 
16
-template uint32_t SymbolBody::template getGotVA<ELF32LE>() const;
17
-template uint32_t SymbolBody::template getGotVA<ELF32BE>() const;
18
-template uint64_t SymbolBody::template getGotVA<ELF64LE>() const;
19
-template uint64_t SymbolBody::template getGotVA<ELF64BE>() const;
20
+template uint32_t SymbolBody::getGotVA<ELF32LE>() const;
21
+template uint32_t SymbolBody::getGotVA<ELF32BE>() const;
22
+template uint64_t SymbolBody::getGotVA<ELF64LE>() const;
23
+template uint64_t SymbolBody::getGotVA<ELF64BE>() const;
24
 
25
-template uint32_t SymbolBody::template getGotOffset<ELF32LE>() const;
26
-template uint32_t SymbolBody::template getGotOffset<ELF32BE>() const;
27
-template uint64_t SymbolBody::template getGotOffset<ELF64LE>() const;
28
-template uint64_t SymbolBody::template getGotOffset<ELF64BE>() const;
29
+template uint32_t SymbolBody::getGotOffset<ELF32LE>() const;
30
+template uint32_t SymbolBody::getGotOffset<ELF32BE>() const;
31
+template uint64_t SymbolBody::getGotOffset<ELF64LE>() const;
32
+template uint64_t SymbolBody::getGotOffset<ELF64BE>() const;
33
 
34
-template uint32_t SymbolBody::template getGotPltVA<ELF32LE>() const;
35
-template uint32_t SymbolBody::template getGotPltVA<ELF32BE>() const;
36
-template uint64_t SymbolBody::template getGotPltVA<ELF64LE>() const;
37
-template uint64_t SymbolBody::template getGotPltVA<ELF64BE>() const;
38
+template uint32_t SymbolBody::getGotPltVA<ELF32LE>() const;
39
+template uint32_t SymbolBody::getGotPltVA<ELF32BE>() const;
40
+template uint64_t SymbolBody::getGotPltVA<ELF64LE>() const;
41
+template uint64_t SymbolBody::getGotPltVA<ELF64BE>() const;
42
 
43
-template uint32_t SymbolBody::template getThunkVA<ELF32LE>() const;
44
-template uint32_t SymbolBody::template getThunkVA<ELF32BE>() const;
45
-template uint64_t SymbolBody::template getThunkVA<ELF64LE>() const;
46
-template uint64_t SymbolBody::template getThunkVA<ELF64BE>() const;
47
+template uint32_t SymbolBody::getThunkVA<ELF32LE>() const;
48
+template uint32_t SymbolBody::getThunkVA<ELF32BE>() const;
49
+template uint64_t SymbolBody::getThunkVA<ELF64LE>() const;
50
+template uint64_t SymbolBody::getThunkVA<ELF64BE>() const;
51
 
52
-template uint32_t SymbolBody::template getGotPltOffset<ELF32LE>() const;
53
-template uint32_t SymbolBody::template getGotPltOffset<ELF32BE>() const;
54
-template uint64_t SymbolBody::template getGotPltOffset<ELF64LE>() const;
55
-template uint64_t SymbolBody::template getGotPltOffset<ELF64BE>() const;
56
+template uint32_t SymbolBody::getGotPltOffset<ELF32LE>() const;
57
+template uint32_t SymbolBody::getGotPltOffset<ELF32BE>() const;
58
+template uint64_t SymbolBody::getGotPltOffset<ELF64LE>() const;
59
+template uint64_t SymbolBody::getGotPltOffset<ELF64BE>() const;
60
 
61
-template uint32_t SymbolBody::template getPltVA<ELF32LE>() const;
62
-template uint32_t SymbolBody::template getPltVA<ELF32BE>() const;
63
-template uint64_t SymbolBody::template getPltVA<ELF64LE>() const;
64
-template uint64_t SymbolBody::template getPltVA<ELF64BE>() const;
65
+template uint32_t SymbolBody::getPltVA<ELF32LE>() const;
66
+template uint32_t SymbolBody::getPltVA<ELF32BE>() const;
67
+template uint64_t SymbolBody::getPltVA<ELF64LE>() const;
68
+template uint64_t SymbolBody::getPltVA<ELF64BE>() const;
69
 
70
-template uint32_t SymbolBody::template getSize<ELF32LE>() const;
71
-template uint32_t SymbolBody::template getSize<ELF32BE>() const;
72
-template uint64_t SymbolBody::template getSize<ELF64LE>() const;
73
-template uint64_t SymbolBody::template getSize<ELF64BE>() const;
74
+template uint32_t SymbolBody::getSize<ELF32LE>() const;
75
+template uint32_t SymbolBody::getSize<ELF32BE>() const;
76
+template uint64_t SymbolBody::getSize<ELF64LE>() const;
77
+template uint64_t SymbolBody::getSize<ELF64BE>() const;
78
 
79
 template class elf::Undefined<ELF32LE>;
80
 template class elf::Undefined<ELF32BE>;
(-)devel/llvm50/files/patch-tools_lld_ELF_Symbols.cpp (+32 lines)
Line 0 Link Here
1
--- tools/lld/ELF/Symbols.cpp.orig	2017-07-14 00:22:46 UTC
2
+++ tools/lld/ELF/Symbols.cpp
3
@@ -383,17 +383,17 @@ std::string lld::toString(const SymbolBody &B) {
4
   return B.getName();
5
 }
6
 
7
-template uint32_t SymbolBody::template getSize<ELF32LE>() const;
8
-template uint32_t SymbolBody::template getSize<ELF32BE>() const;
9
-template uint64_t SymbolBody::template getSize<ELF64LE>() const;
10
-template uint64_t SymbolBody::template getSize<ELF64BE>() const;
11
+template uint32_t SymbolBody::getSize<ELF32LE>() const;
12
+template uint32_t SymbolBody::getSize<ELF32BE>() const;
13
+template uint64_t SymbolBody::getSize<ELF64LE>() const;
14
+template uint64_t SymbolBody::getSize<ELF64BE>() const;
15
 
16
-template bool DefinedRegular::template isMipsPIC<ELF32LE>() const;
17
-template bool DefinedRegular::template isMipsPIC<ELF32BE>() const;
18
-template bool DefinedRegular::template isMipsPIC<ELF64LE>() const;
19
-template bool DefinedRegular::template isMipsPIC<ELF64BE>() const;
20
+template bool DefinedRegular::isMipsPIC<ELF32LE>() const;
21
+template bool DefinedRegular::isMipsPIC<ELF32BE>() const;
22
+template bool DefinedRegular::isMipsPIC<ELF64LE>() const;
23
+template bool DefinedRegular::isMipsPIC<ELF64BE>() const;
24
 
25
-template uint32_t SharedSymbol::template getAlignment<ELF32LE>() const;
26
-template uint32_t SharedSymbol::template getAlignment<ELF32BE>() const;
27
-template uint32_t SharedSymbol::template getAlignment<ELF64LE>() const;
28
-template uint32_t SharedSymbol::template getAlignment<ELF64BE>() const;
29
+template uint32_t SharedSymbol::getAlignment<ELF32LE>() const;
30
+template uint32_t SharedSymbol::getAlignment<ELF32BE>() const;
31
+template uint32_t SharedSymbol::getAlignment<ELF64LE>() const;
32
+template uint32_t SharedSymbol::getAlignment<ELF64BE>() const;

Return to bug 230463