| Index: src/IceTargetLowering.cpp
|
| diff --git a/src/IceTargetLowering.cpp b/src/IceTargetLowering.cpp
|
| index 75886d6dd8997693d240c6e878ec52f416402358..f72d2a02852f8a537664c95e015f2b0a1efaa50c 100644
|
| --- a/src/IceTargetLowering.cpp
|
| +++ b/src/IceTargetLowering.cpp
|
| @@ -864,6 +864,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;
|
|
|