summaryrefslogtreecommitdiff
path: root/ports/sysdeps/tile/crti.S
diff options
context:
space:
mode:
Diffstat (limited to 'ports/sysdeps/tile/crti.S')
-rw-r--r--ports/sysdeps/tile/crti.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/sysdeps/tile/crti.S b/ports/sysdeps/tile/crti.S
index 9046010dc1..7e8e559b91 100644
--- a/ports/sysdeps/tile/crti.S
+++ b/ports/sysdeps/tile/crti.S
@@ -95,7 +95,7 @@ _init:
LD_PTR r0, r0
BEQZ r0, .Lno_weak_fn
jalr r0
-#elif defined(__tilegx__)
+#elif defined(__tilegx__) && !defined(NO_PLT_PCREL)
/* Since we are calling from the start of the object to the PLT,
call by loading the full address into a register. */
lnk r2