* emulparams/tic80coff.sh: New (dummy) file for TIc80.
* scripttempl/tic80coff.sc: New (dummy) file for TIc80. * Makefile.in (etic80coff.c): Add target and rule to build it. * configure.tgt (tic80-*-coff): Set targ_emul to tic80coff.
This commit is contained in:
parent
32dab60312
commit
11effa691a
6 changed files with 64 additions and 0 deletions
29
ld/.Sanitize
29
ld/.Sanitize
|
@ -202,6 +202,35 @@ else
|
|||
done
|
||||
fi
|
||||
|
||||
tic80_files="ChangeLog configure.tgt Makefile.in"
|
||||
|
||||
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
|
||||
for i in $tic80_files ; do
|
||||
if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Keeping tic80 stuff in $i
|
||||
fi
|
||||
fi
|
||||
done
|
||||
else
|
||||
for i in $tic80_files ; do
|
||||
if test ! -d $i && (grep sanitize-tic80 $i > /dev/null) ; then
|
||||
if [ -n "${verbose}" ] ; then
|
||||
echo Removing traces of \"tic80\" from $i...
|
||||
fi
|
||||
cp $i new
|
||||
sed '/start\-sanitize\-tic80/,/end-\sanitize\-tic80/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
|
||||
|
|
|
@ -1,3 +1,12 @@
|
|||
start-sanitize-tic80
|
||||
Sun Feb 9 18:09:13 1997 Fred Fish <fnf@cygnus.com>
|
||||
|
||||
* emulparams/tic80coff.sh: New (dummy) file for TIc80.
|
||||
* scripttempl/tic80coff.sc: New (dummy) file for TIc80.
|
||||
* Makefile.in (etic80coff.c): Add target and rule to build it.
|
||||
* configure.tgt (tic80-*-coff): Set targ_emul to tic80coff.
|
||||
|
||||
end-sanitize-tic80
|
||||
Fri Jan 31 13:16:53 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Search for
|
||||
|
|
|
@ -141,6 +141,8 @@ mips*vr5000-*-elf*) targ_emul=elf32b4300 ;;
|
|||
mips*el-*-elf*) targ_emul=elf32elmip ;;
|
||||
mips*-*-elf*) targ_emul=elf32ebmip ;;
|
||||
mips*-*-rtems*) targ_emul=elf32ebmip ;;
|
||||
mips*el-*-linux*) targ_emul=elf32elmip ;;
|
||||
mips*-*-linux*) targ_emul=elf32ebmip ;;
|
||||
mn10200-*-*) targ_emul=mn10200 ;;
|
||||
mn10300-*-*) targ_emul=mn10300 ;;
|
||||
alpha-*-linuxecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha
|
||||
|
@ -166,6 +168,9 @@ powerpcle-*-winnt*) targ_emul=ppcpe ;;
|
|||
powerpcle-*-cygwin32) targ_emul=ppcpe ;;
|
||||
powerpc-*-aix*) targ_emul=aixppc ;;
|
||||
rs6000-*-aix*) targ_emul=aixrs6 ;;
|
||||
# start-sanitize-tic80
|
||||
tic80-*-coff) targ_emul=tic80coff ;;
|
||||
# end-sanitize-tic80
|
||||
# start-sanitize-v850
|
||||
v850-*-*) targ_emul=v850 ;;
|
||||
# end-sanitize-v850
|
||||
|
|
|
@ -39,6 +39,14 @@ else
|
|||
lose_these_too="${m32r_files} ${lose_these_too}"
|
||||
fi
|
||||
|
||||
tic80_files="tic80coff.sh"
|
||||
|
||||
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
|
||||
keep_these_too="${tic80_files} ${keep_these_too}"
|
||||
else
|
||||
lose_these_too="${tic80_files} ${lose_these_too}"
|
||||
fi
|
||||
|
||||
v850_files="v850.sh"
|
||||
|
||||
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
||||
|
|
5
ld/emulparams/tic80coff.sh
Normal file
5
ld/emulparams/tic80coff.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
SCRIPT_NAME=tic80coff
|
||||
OUTPUT_FORMAT="coff-tic80"
|
||||
TEXT_START_ADDR=0x0
|
||||
TARGET_PAGE_SIZE=0x1000
|
||||
ARCH=tic80
|
|
@ -23,6 +23,14 @@ else
|
|||
lose_these_too="${d10v_files} ${lose_these_too}"
|
||||
fi
|
||||
|
||||
tic80_files="tic80coff.sc"
|
||||
|
||||
if ( echo $* | grep keep\-tic80 > /dev/null ) ; then
|
||||
keep_these_too="${tic80_files} ${keep_these_too}"
|
||||
else
|
||||
lose_these_too="${tic80_files} ${lose_these_too}"
|
||||
fi
|
||||
|
||||
v850_files="v850.sc"
|
||||
|
||||
if ( echo $* | grep keep\-v850 > /dev/null ) ; then
|
||||
|
|
Loading…
Add table
Reference in a new issue