| Index: src/IceTargetLowering.cpp
|
| diff --git a/src/IceTargetLowering.cpp b/src/IceTargetLowering.cpp
|
| index 2935df9fd339b1c38d6dd625da703c95e2ea1b8d..9f05017f4c5c77a4b67062be9f94ba6385f7d5f1 100644
|
| --- a/src/IceTargetLowering.cpp
|
| +++ b/src/IceTargetLowering.cpp
|
| @@ -843,6 +843,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;
|
|
|