aboutsummaryrefslogtreecommitdiff
path: root/gcc-1.40/ecoff-cmp
diff options
context:
space:
mode:
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].$$