patch-2.4.19 linux-2.4.19/arch/mips/galileo-boards/ev64120/compressed/fixit

Next file: linux-2.4.19/arch/mips/galileo-boards/ev64120/compressed/flashdrv.c
Previous file: linux-2.4.19/arch/mips/galileo-boards/ev64120/compressed/evb64120A_Setup.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/arch/mips/galileo-boards/ev64120/compressed/fixit linux-2.4.19/arch/mips/galileo-boards/ev64120/compressed/fixit
@@ -0,0 +1,17 @@
+#!/bin/ksh
+
+# By RidgeRun Inc.
+#
+# The input to this script is
+# intended to be a *.S file which
+# was previously created by the doit
+# program. That program constructs
+# a *.S file which has a defined data
+# table containing values with leading
+# zeroes. To satisfy our assembler those
+# leading zeroes need to be stripped off
+# and that is the purpose of this script.
+
+echo "Removing leading zeros"
+sed -e "s/ 0\(.\)/ \1/g" $1 | sed -e "s/ 0\(.\)/ \1/g" > $1.new
+mv $1.new $1

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)