diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-03-08 15:44:30 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-03-08 15:44:30 +0000 |
| commit | 76b6bd355d274f6eb74417a40ea87e8734d8baa4 (patch) | |
| tree | f526f0c1fbf143a1f908a7167725f0d3bdfdb287 /lld/ELF/LinkerScript.cpp | |
| parent | c86b2cddc8294578162f6d87900e7127b9f99deb (diff) | |
| download | bcm5719-llvm-76b6bd355d274f6eb74417a40ea87e8734d8baa4.tar.gz bcm5719-llvm-76b6bd355d274f6eb74417a40ea87e8734d8baa4.zip | |
Remove unnecessary template. NFC.
llvm-svn: 297287
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
| -rw-r--r-- | lld/ELF/LinkerScript.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp index 6f93859f744..45727ee96cb 100644 --- a/lld/ELF/LinkerScript.cpp +++ b/lld/ELF/LinkerScript.cpp @@ -407,7 +407,7 @@ template <class ELFT> void LinkerScript<ELFT>::output(InputSection *S) { uintX_t Pos = IsTbss ? Dot + ThreadBssOffset : Dot; Pos = alignTo(Pos, S->Alignment); S->OutSecOff = Pos - CurOutSec->Addr; - Pos += S->template getSize<ELFT>(); + Pos += S->getSize(); // Update output section size after adding each section. This is so that // SIZEOF works correctly in the case below: |

