Mon Jan 22 13:01:35 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
authorIan Lance Taylor <ian@airs.com>
Mon, 22 Jan 1996 18:03:56 +0000 (18:03 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 22 Jan 1996 18:03:56 +0000 (18:03 +0000)
* 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}.

ld/ChangeLog
ld/scripttempl/elfmips.sc

index 7bec541..6bfd665 100644 (file)
@@ -1,3 +1,11 @@
+Mon Jan 22 13:01:35 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * 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  <meissner@tiktok.cygnus.com>
 
        * scripttempl/elfppc.sc: Refine eabi support to better support
index 43c94c7..b5ca98d 100644 (file)
@@ -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