mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
* Makefile.in (ev850.c): New target.
* 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.
This commit is contained in:
parent
64d538ce80
commit
04c17a7559
35
ld/.Sanitize
35
ld/.Sanitize
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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 \
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user