summaryrefslogtreecommitdiff
path: root/sys/arch/i386/apm_init/bin2asm.sh
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-09-21 04:33:24 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-09-21 04:33:24 +0000
commitbc33400616e62cabc842c7d805c25d3581d13129 (patch)
tree8f799d10307fe6fa846965d0225e66d640e66c9d /sys/arch/i386/apm_init/bin2asm.sh
parent2b8c7888cf060cc6c33d738b2aed5bd76b9ec749 (diff)
no this ugly hack, no more!
Diffstat (limited to 'sys/arch/i386/apm_init/bin2asm.sh')
-rw-r--r--sys/arch/i386/apm_init/bin2asm.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/arch/i386/apm_init/bin2asm.sh b/sys/arch/i386/apm_init/bin2asm.sh
deleted file mode 100644
index 6694b49d9b5..00000000000
--- a/sys/arch/i386/apm_init/bin2asm.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh -
-# bin2asm (binary to asm) shell script version by ukai
-#
-#
-if [ $# -lt 1 ]; then
- echo 'usage: $0 [in]'
- exit 1
-fi
-in=$1
-size=`ls -l ${in} | awk '{print $5}'`
-# Oops, must 8 byte align
-len=`expr \( $size + 8 \) / 8 \* 8`
-
-echo "/* This file is automatically generated by bin2asm.sh */"
-echo "/* Original file is '${in}' */"
-echo
-dd if=${in} bs=${len} conv=sync |\
- hexdump -v -e '" .byte " 7/1 "0x%02x, " 1/1 " 0x%02x" "\n"'
-echo
-echo "/* Total size = $size -> $len */"
-echo "/* End of File */"