* Makefile.in (ev850.c): New target.
authorJeff Law <law@redhat.com>
Thu, 22 Aug 1996 22:32:21 +0000 (22:32 +0000)
committerJeff Law <law@redhat.com>
Thu, 22 Aug 1996 22:32:21 +0000 (22:32 +0000)
        * configure.tgt (v850-*-*): New target.
        * emulparams/v850.sh: New file.
No, it doesn't work (gas doesn't even emit relocs yet), but having
a "ld" that at least creates an executable image greatly helps the
gcc testsuite.

ld/.Sanitize
ld/ChangeLog
ld/Makefile.in
ld/emulparams/.Sanitize

index bf804aeccd2abbbaabea88f205ed060577538bd6..157fc95fa94fbf62238276db4d0e5ec22e9f1f32 100644 (file)
@@ -151,5 +151,40 @@ for i in * ; do
        fi
 done
 
+v850_files="ChangeLog configure.tgt Makefile.in"
+
+if ( echo $* | grep keep\-v850 > /dev/null ) ; then
+       for i in $v850_files ; do
+               if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Keeping v850 stuff in $i
+                       fi
+               fi
+       done
+else
+       for i in $v850_files ; do
+               if test ! -d $i && (grep sanitize-v850 $i > /dev/null) ; then
+                       if [ -n "${verbose}" ] ; then
+                               echo Removing traces of \"v850\" from $i...
+                       fi
+                       cp $i new
+                       sed '/start\-sanitize\-v850/,/end-\sanitize\-v850/d' < $i > new
+                       if [ -n "${safe}" -a ! -f .Recover/$i ] ; then
+                               if [ -n "${verbose}" ] ; then
+                                       echo Caching $i in .Recover...
+                               fi
+                               mv $i .Recover
+                       fi
+                       mv new $i
+               fi
+       done
+fi
+
+for i in * ; do
+       if test ! -d $i && (grep sanitize $i > /dev/null) ; then
+               echo '***' Some mentions of Sanitize are still left in $i! 1>&2
+       fi
+done
+
 #
 # End of file.
index 7098c546070e2e96054813ad9b193ddd2af07663..88ee198c15bb375f623e59a84c40b3491578c99b 100644 (file)
@@ -1,3 +1,11 @@
+start-sanitize-v850
+Thu Aug 22 16:29:28 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * Makefile.in (ev850.c): New target.
+       * configure.tgt (v850-*-*): New target.
+       * emulparams/v850.sh: New file.
+
+end-sanitize-v850
 Thu Aug 22 11:16:02 1996  Stan Shebs  <shebs@andros.cygnus.com>
 
        * mpw-make.sed: Add @DASH_C_FLAG@ to compiler edit.
index b9cb1f23963b68f5b092eeed10c4086193a8dc6f..5ad95c676608abf9d78369490e09eb4db5da878e 100644 (file)
@@ -382,7 +382,7 @@ ecoff_sparc.c: $(srcdir)/emulparams/coff_sparc.sh \
 # start-sanitize-d10v
 ed10velf.c: $(srcdir)/emulparams/d10velf.sh \
   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
-       ${GENSCRIPTS} d10velf "$(tdir_arcelf)"
+       ${GENSCRIPTS} d10velf "$(tdir_d10v)"
 # end-sanitize-d10v
 edelta68.c: $(srcdir)/emulparams/delta68.sh \
   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/delta68.sc ${GEN_DEPENDS}
@@ -609,6 +609,11 @@ evax.c: $(srcdir)/emulparams/vax.sh \
 evsta.c: $(srcdir)/emulparams/vsta.sh \
   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} vsta "$(tdir_vsta)"
+# start-sanitize-v850
+ev850.c: $(srcdir)/emulparams/v850.sh \
+  $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
+       ${GENSCRIPTS} v850 "$(tdir_v850)"
+# end-sanitize-v850
 ew65.c: $(srcdir)/emulparams/w65.sh \
   $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/w65.sc ${GEN_DEPENDS}
        ${GENSCRIPTS} w65 "$(tdir_w65)"
@@ -1043,7 +1048,7 @@ mri.o: mri.c ../bfd/bfd.h $(INCDIR)/ansidecl.h $(INCDIR)/obstack.h \
 ldcref.o: ldcref.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
   $(INCDIR)/obstack.h sysdep.h config.h $(INCDIR)/fopen-same.h \
   $(INCDIR)/bfdlink.h $(INCDIR)/libiberty.h ld.h ldmain.h \
-  ldmisc.h
+  ldmisc.h ldexp.h ldlang.h
 fnmatch.o: fnmatch.c
 ldgram.o: ldgram.c ../bfd/bfd.h $(INCDIR)/ansidecl.h \
   $(INCDIR)/obstack.h sysdep.h config.h $(INCDIR)/fopen-same.h \
index 4114ff4800d5ff720fd5842223e97c8414f92d0a..402a9e1000e618202aa69c2496fb84303478938c 100644 (file)
@@ -31,6 +31,14 @@ else
        lose_these_too="${d10v_files} ${lose_these_too}"
 fi
 
+v850_files="v850.sh"
+
+if ( echo $* | grep keep\-v850 > /dev/null ) ; then
+       keep_these_too="${v850_files} ${keep_these_too}"
+else
+       lose_these_too="${v850_files} ${lose_these_too}"
+fi
+
 # All files listed between the "Things-to-keep:" line and the
 # "Do-last:" line will be kept.  All other files will be removed.
 # Directories listed in this section will have their own Sanitize