summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
diff options
context:
space:
mode:
authorKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-10-31 15:54:31 +0000
committerKrzysztof Parzyszek <kparzysz@codeaurora.org>2018-10-31 15:54:31 +0000
commit977a1fe50750130b576972f7e36f48cdd15a8c4f (patch)
tree78a7b69f39b9f10f3112139466cba14bafef8b5f /llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
parent52578ac67c517aea65d9a2f8e9ab813f7b61fc6f (diff)
downloadbcm5719-llvm-977a1fe50750130b576972f7e36f48cdd15a8c4f.tar.gz
bcm5719-llvm-977a1fe50750130b576972f7e36f48cdd15a8c4f.zip
[Hexagon] Make sure not to use GP-relative addressing with PIC
Make sure that -relocation-model=pic prevents use of GP-relative addressing modes. llvm-svn: 345731
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h')
-rw-r--r--llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h b/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
index eff44f097e0..18863630fde 100644
--- a/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
+++ b/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
@@ -29,7 +29,7 @@ namespace llvm {
bool isGlobalInSmallSection(const GlobalObject *GO,
const TargetMachine &TM) const;
- bool isSmallDataEnabled() const;
+ bool isSmallDataEnabled(const TargetMachine &TM) const;
unsigned getSmallDataSize() const;
OpenPOWER on IntegriCloud