From: Ian Lance Taylor Date: Mon, 22 Jan 1996 18:03:56 +0000 (+0000) Subject: Mon Jan 22 13:01:35 1996 Andreas Schwab X-Git-Tag: gdb-4_18~9599 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7df4ba266bbb42a9254c35a0ba944d70559810b4;p=platform%2Fupstream%2Fbinutils.git Mon Jan 22 13:01:35 1996 Andreas Schwab * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@. * genscripts.sh: Set host, target and target_alias variables. Check for native compile by comparing ${target} and ${host}. * emultempl/elf32.em: Likewise. * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 7bec541..6bfd665 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +Mon Jan 22 13:01:35 1996 Andreas Schwab + + * Makefile.in (GENSCRIPTS): Pass @host@ @target@ @target_alias@. + * genscripts.sh: Set host, target and target_alias variables. + Check for native compile by comparing ${target} and ${host}. + * emultempl/elf32.em: Likewise. + * scripttempl/elfmips.sc: Test ${target}, not ${target_alias}. + Mon Jan 22 11:03:23 1996 Michael Meissner * scripttempl/elfppc.sc: Refine eabi support to better support 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