diff --git a/rts/wasm/Wasm.S b/rts/wasm/Wasm.S
index 3f5ad36f5deec92ec11926abc1d928b678f4c2db..4e6c8b5fa4324d8c8bfb8696636f6f6a10bfca50 100644
--- a/rts/wasm/Wasm.S
+++ b/rts/wasm/Wasm.S
@@ -8,6 +8,8 @@
 #define W_ i64
 #endif
 
+#if !defined(__PIC__)
+
 	.hidden __R1
 	.globl __R1
 	.section .data.__R1,"",@
@@ -169,3 +171,5 @@ __Hp:
 	.section .data.__HpLim,"",@
 	.globaltype __HpLim, W_
 __HpLim:
+
+#endif