From 8e920924cc90578297a06bb8c6e29d4c1c8275b6 Mon Sep 17 00:00:00 2001
From: aph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Fri, 17 Aug 2001 14:41:51 +0000
Subject: [PATCH] 2001-08-10  Andrew Haley  <aph@cambridge.redhat.com>

        * config/sh/sh.md: Add modes to unspecs in first insn to match
        those in the second.

        * Makefile.in: Fix collect2 copy for Cygwin.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44962 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog       | 7 +++++++
 gcc/Makefile.in     | 4 ++--
 gcc/config/sh/sh.md | 2 +-
 3 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4929dd466e3c..e5fb0e23775b 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+2001-08-10  Andrew Haley  <aph@cambridge.redhat.com>
+
+	* config/sh/sh.md: Add modes to unspecs in first insn to match
+	those in the second.
+
+	* Makefile.in: Fix collect2 copy for Cygwin.
+
 Fri Aug 17 15:48:57 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
 	Install the proper patch.
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 8ae2536e49b5..6f748ca71e33 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1191,9 +1191,9 @@ COLLECT2_OBJS = collect2.o tlink.o hash.o intl.o underscore.o version.o
 COLLECT2_LIBS = @COLLECT2_LIBS@
 collect2$(exeext): $(COLLECT2_OBJS) $(LIBDEPS)
 # Don't try modifying collect2 (aka ld) in place--it might be linking this.
-	$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@T \
+	$(CC) $(ALL_CFLAGS) $(LDFLAGS) -o T$@ \
 		$(COLLECT2_OBJS) $(LIBS) $(COLLECT2_LIBS)
-	mv -f $@T $@
+	mv -f T$@ $@
 
 collect2.o : collect2.c $(CONFIG_H) $(SYSTEM_H) gstab.h intl.h \
 	$(OBSTACK_H) $(DEMANGLE_H) collect2.h version.h
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index 5eba38e065f9..284429198e2e 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -3746,7 +3746,7 @@
 
 (define_expand "GOTaddr2picreg"
   [(set (reg:SI R0_REG)
-	(unspec [(const (unspec [(match_dup 1)] UNSPEC_PIC))]
+	(unspec [(const:SI (unspec:SI [(match_dup 1)] UNSPEC_PIC))]
 		UNSPEC_MOVA))
    (set (match_dup 0) (const:SI (unspec:SI [(match_dup 1)] UNSPEC_PIC)))
    (set (match_dup 0) (plus:SI (match_dup 0) (reg:SI R0_REG)))]
-- 
GitLab