aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/needrelax.em
diff options
context:
space:
mode:
Diffstat (limited to 'ld/emultempl/needrelax.em')
-rw-r--r--ld/emultempl/needrelax.em2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/needrelax.em b/ld/emultempl/needrelax.em
index fc57fa3..a2acf19 100644
--- a/ld/emultempl/needrelax.em
+++ b/ld/emultempl/needrelax.em
@@ -33,7 +33,7 @@ need_relax_${EMULATION_NAME}_before_allocation (void)
gld${EMULATION_NAME}_before_allocation ();
/* Force -relax on if not doing a relocatable link. */
- if (! link_info.relocatable)
+ if (!bfd_link_relocatable (&link_info))
ENABLE_RELAXATION;
}
EOF