* emulparams/tic80coff.sh: New (dummy) file for TIc80.
authorFred Fish <fnf@specifix.com>
Mon, 10 Feb 1997 01:17:14 +0000 (01:17 +0000)
committerFred Fish <fnf@specifix.com>
Mon, 10 Feb 1997 01:17:14 +0000 (01:17 +0000)
* 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.

ld/.Sanitize
ld/ChangeLog
ld/configure.tgt
ld/emulparams/.Sanitize
ld/emulparams/tic80coff.sh [new file with mode: 0644]
ld/scripttempl/.Sanitize

index 6b46075bb0ad6d1235f2d91270d6b7fc31172524..d8ab22cb0a2921cd010f4d7fed68878ad89d485f 100644 (file)
@@ -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
index 07c473d3824e5c6f28f5a8d97d994e762dc9d8bc..024e4ac989722dfdb0db53908e43f3346dec81b4 100644 (file)
@@ -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
index 394f8911716ee0ef177f61892a98634625d1f55b..4b72bb9674655d63b7cbd49fb4302566d379b5a9 100644 (file)
@@ -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
index f177cba0377f8d85f7301957db9ef2f3492918f5..c690aca8e4d92fd86046f5ec13642d3e30a2038d 100644 (file)
@@ -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
diff --git a/ld/emulparams/tic80coff.sh b/ld/emulparams/tic80coff.sh
new file mode 100644 (file)
index 0000000..178f6c6
--- /dev/null
@@ -0,0 +1,5 @@
+SCRIPT_NAME=tic80coff
+OUTPUT_FORMAT="coff-tic80"
+TEXT_START_ADDR=0x0
+TARGET_PAGE_SIZE=0x1000
+ARCH=tic80
index 11a99bd64cd8261f9611dcc4881a3273287859b1..121dfacb072ab9d510b4371fe92e4c9ca459606b 100644 (file)
@@ -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