| Index: src/IceTargetLowering.cpp
|
| diff --git a/src/IceTargetLowering.cpp b/src/IceTargetLowering.cpp
|
| index d53fbab4e12a01d8179d97bbc3cce298e7ac7fc8..544dfb1a7216dd8ecdbbce36d52774a5acb4c045 100644
|
| --- a/src/IceTargetLowering.cpp
|
| +++ b/src/IceTargetLowering.cpp
|
| @@ -831,6 +831,10 @@ void TargetDataLowering::emitGlobal(const VariableDeclaration &Var,
|
| llvm::cast<VariableDeclaration::RelocInitializer>(Init.get());
|
| Str << "\t" << getEmit32Directive() << "\t";
|
| Str << Reloc->getDeclaration()->mangleName(Ctx);
|
| + if (Reloc->hasFixup()) {
|
| + // TODO(jpp): this is ARM32 specific.
|
| + Str << "(GOTOFF)";
|
| + }
|
| if (RelocOffsetT Offset = Reloc->getOffset()) {
|
| if (Offset >= 0 || (Offset == INT32_MIN))
|
| Str << " + " << Offset;
|
|
|