aboutsummaryrefslogtreecommitdiff
path: root/gcc-1.40/ecoff-cmp
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-08-15 00:34:05 -0400
committerAndrew Lee <alee14498@protonmail.com>2021-08-15 00:34:05 -0400
commit60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f (patch)
treefdc0be85a1ca35e34c3ae2c805fe9b718e3c1091 /gcc-1.40/ecoff-cmp
parentdd8dfab51b832a654365ed00c06bf802ff628bfa (diff)
downloadlinux-0.01-distro-master.tar.gz
linux-0.01-distro-master.tar.bz2
linux-0.01-distro-master.zip
Added gccHEADmaster
Diffstat (limited to 'gcc-1.40/ecoff-cmp')
-rwxr-xr-xgcc-1.40/ecoff-cmp12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc-1.40/ecoff-cmp b/gcc-1.40/ecoff-cmp
new file mode 100755
index 0000000..d7842f1
--- /dev/null
+++ b/gcc-1.40/ecoff-cmp
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# ecoff-cmp file1.o file2.o
+#
+cp $1 /tmp/foo1.$$
+cp $2 /tmp/foo2.$$
+strip /tmp/foo1.$$
+strip /tmp/foo2.$$
+tail +10c /tmp/foo1.$$ > /tmp/foo3.$$
+tail +10c /tmp/foo2.$$ > /tmp/foo4.$$
+cmp /tmp/foo3.$$ /tmp/foo4.$$
+rm -f /tmp/foo[1234].$$