summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Target.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Target.h')
-rw-r--r--lld/ELF/Target.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lld/ELF/Target.h b/lld/ELF/Target.h
index 753f6423484..50b16bfdae2 100644
--- a/lld/ELF/Target.h
+++ b/lld/ELF/Target.h
@@ -59,7 +59,9 @@ public:
virtual bool relocNeedsPlt(uint32_t Type, const SymbolBody &S) const = 0;
virtual void relocateOne(uint8_t *Loc, uint8_t *BufEnd, uint32_t Type,
uint64_t P, uint64_t SA) const = 0;
-
+ virtual bool isTlsOptimized(unsigned Type, const SymbolBody &S) const;
+ virtual void relocateTlsOptimize(uint8_t *Loc, uint8_t *BufEnd, uint64_t P,
+ uint64_t SA) const;
virtual ~TargetInfo();
protected:
OpenPOWER on IntegriCloud