diff --git a/ld/ChangeLog b/ld/ChangeLog index 7bec541286..6bfd66506b 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 43c94c726d..b5ca98dabf 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