2001-08-10 Andrew Haley <aph@cambridge.redhat.com>
authoraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Aug 2001 14:41:51 +0000 (14:41 +0000)
committeraph <aph@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Aug 2001 14:41:51 +0000 (14:41 +0000)
        * 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
gcc/Makefile.in
gcc/config/sh/sh.md

index 4929dd4..e5fb0e2 100644 (file)
@@ -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.
index 8ae2536..6f748ca 100644 (file)
@@ -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
index 5eba38e..2844291 100644 (file)
 
 (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)))]