aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elfmips.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/elfmips.sc b/ld/scripttempl/elfmips.sc
index 43c94c7..b5ca98d 100644
--- a/ld/scripttempl/elfmips.sc
+++ b/ld/scripttempl/elfmips.sc
@@ -24,7 +24,7 @@
# targets. This is for compatibility with Irix 5, and with old MIPS
# ELF toolchains.
if [ -z "$ENTRY" ]; then
- case "${target_alias}" in
+ case "${target}" in
mips*-*-irix5*) ENTRY=__start ;;
*) ENTRY=_start ;;
esac