aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1997-02-10 01:17:14 +0000
committerFred Fish <fnf@specifix.com>1997-02-10 01:17:14 +0000
commit11effa691a7e2c35a80deb2983076b7432a4f065 (patch)
tree77406f0d6d49acab408f37dc777cc4595db4ba5e /ld
parent32dab6031296a0decf26d30400759c4575877935 (diff)
downloadbinutils-11effa691a7e2c35a80deb2983076b7432a4f065.zip
binutils-11effa691a7e2c35a80deb2983076b7432a4f065.tar.gz
binutils-11effa691a7e2c35a80deb2983076b7432a4f065.tar.bz2
* 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.
Diffstat (limited to 'ld')
-rw-r--r--ld/.Sanitize29
-rw-r--r--ld/ChangeLog9
-rw-r--r--ld/configure.tgt5
-rw-r--r--ld/emulparams/.Sanitize8
-rw-r--r--ld/emulparams/tic80coff.sh5
-rw-r--r--ld/scripttempl/.Sanitize8
6 files changed, 64 insertions, 0 deletions
diff --git a/ld/.Sanitize b/ld/.Sanitize
index 6b46075..d8ab22c 100644
--- a/ld/.Sanitize
+++ b/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
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 07c473d..024e4ac 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/configure.tgt b/ld/configure.tgt
index 394f891..4b72bb9 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -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
diff --git a/ld/emulparams/.Sanitize b/ld/emulparams/.Sanitize
index f177cba..c690aca 100644
--- a/ld/emulparams/.Sanitize
+++ b/ld/emulparams/.Sanitize
@@ -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
index 0000000..178f6c6
--- /dev/null
+++ b/ld/emulparams/tic80coff.sh
@@ -0,0 +1,5 @@
+SCRIPT_NAME=tic80coff
+OUTPUT_FORMAT="coff-tic80"
+TEXT_START_ADDR=0x0
+TARGET_PAGE_SIZE=0x1000
+ARCH=tic80
diff --git a/ld/scripttempl/.Sanitize b/ld/scripttempl/.Sanitize
index 11a99bd..121dfac 100644
--- a/ld/scripttempl/.Sanitize
+++ b/ld/scripttempl/.Sanitize
@@ -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