diff options
Diffstat (limited to 'lld/ELF/Writer.cpp')
| -rw-r--r-- | lld/ELF/Writer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 6e6f39de39a..a548ca5cf60 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -734,9 +734,9 @@ void PhdrEntry::add(OutputSection *Sec) { } template <class ELFT> -static DefinedSynthetic * -addOptionalSynthetic(StringRef Name, OutputSection *Sec, - typename ELFT::uint Val, uint8_t StOther = STV_HIDDEN) { +static DefinedSynthetic *addOptionalSynthetic(StringRef Name, + OutputSection *Sec, uint64_t Val, + uint8_t StOther = STV_HIDDEN) { if (SymbolBody *S = Symtab<ELFT>::X->find(Name)) if (!S->isInCurrentDSO()) return cast<DefinedSynthetic>( @@ -756,7 +756,7 @@ static Symbol *addRegular(StringRef Name, InputSectionBase *Sec, template <class ELFT> static Symbol *addOptionalRegular(StringRef Name, InputSectionBase *IS, - typename ELFT::uint Value) { + uint64_t Value) { SymbolBody *S = Symtab<ELFT>::X->find(Name); if (!S) return nullptr; |

