diff options
Diffstat (limited to 'lld/ELF/OutputSections.h')
-rw-r--r-- | lld/ELF/OutputSections.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lld/ELF/OutputSections.h b/lld/ELF/OutputSections.h index 1a74023927c..66a906305f4 100644 --- a/lld/ELF/OutputSections.h +++ b/lld/ELF/OutputSections.h @@ -40,16 +40,6 @@ template <class ELFT> class SharedFile; template <class ELFT> class SharedSymbol; template <class ELFT> class DefinedRegular; -template <class ELFT> -static inline typename ELFT::uint getAddend(const typename ELFT::Rel &Rel) { - return 0; -} - -template <class ELFT> -static inline typename ELFT::uint getAddend(const typename ELFT::Rela &Rel) { - return Rel.r_addend; -} - bool isValidCIdentifier(StringRef S); // This represents a section in an output file. |