| Index: src/IceAssemblerARM32.h
|
| diff --git a/src/IceAssemblerARM32.h b/src/IceAssemblerARM32.h
|
| index 0e95eab327d6589de008339dcdbfb9cd14293f9e..1cf07ad47e9f681b5494e88918e4819f23cbcb69 100644
|
| --- a/src/IceAssemblerARM32.h
|
| +++ b/src/IceAssemblerARM32.h
|
| @@ -160,8 +160,10 @@ public:
|
| }
|
|
|
| bool fixupIsPCRel(FixupKind Kind) const override {
|
| - (void)Kind;
|
| - // TODO(kschimpf) Decide if we need this.
|
| + if (Kind == llvm::ELF::R_ARM_MOVW_PREL_NC)
|
| + return true;
|
| + if (Kind == llvm::ELF::R_ARM_MOVT_PREL)
|
| + return true;
|
| return false;
|
| }
|
|
|
|
|