From 25efd6d556718295a63d37f5294985746af354f6 Mon Sep 17 00:00:00 2001 From: Anton Korobeynikov Date: Wed, 14 Nov 2012 01:47:00 +0000 Subject: Use TARGET2 relocation for TType references on ARM. Do some cleanup of the code while here. Inspired by patch by Logan Chien! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167904 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/ARM/ARMTargetObjectFile.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/Target/ARM/ARMTargetObjectFile.h') diff --git a/lib/Target/ARM/ARMTargetObjectFile.h b/lib/Target/ARM/ARMTargetObjectFile.h index c6a7261..7f60727 100644 --- a/lib/Target/ARM/ARMTargetObjectFile.h +++ b/lib/Target/ARM/ARMTargetObjectFile.h @@ -28,6 +28,11 @@ public: virtual void Initialize(MCContext &Ctx, const TargetMachine &TM); + const MCExpr * + getTTypeGlobalReference(const GlobalValue *GV, Mangler *Mang, + MachineModuleInfo *MMI, unsigned Encoding, + MCStreamer &Streamer) const; + virtual const MCSection *getAttributesSection() const { return AttributesSection; } -- cgit v1.1