summaryrefslogtreecommitdiffstats
path: root/lld/ELF/LinkerScript.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2017-03-08 15:44:30 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2017-03-08 15:44:30 +0000
commit76b6bd355d274f6eb74417a40ea87e8734d8baa4 (patch)
treef526f0c1fbf143a1f908a7167725f0d3bdfdb287 /lld/ELF/LinkerScript.cpp
parentc86b2cddc8294578162f6d87900e7127b9f99deb (diff)
downloadbcm5719-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.cpp2
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:
OpenPOWER on IntegriCloud