patch-2.1.79 linux/arch/ppc/boot/size
Next file: linux/arch/ppc/boot/unzip.c
Previous file: linux/arch/ppc/boot/piggyback.c
Back to the patch index
Back to the overall index
- Lines: 5
- Date:
Mon Jan 12 15:18:13 1998
- Orig file:
v2.1.78/linux/arch/ppc/boot/size
- Orig date:
Wed Dec 31 16:00:00 1969
diff -u --recursive --new-file v2.1.78/linux/arch/ppc/boot/size linux/arch/ppc/boot/size
@@ -0,0 +1,4 @@
+#!/bin/bash
+
+OFFSET=`objdump -h $1 | grep $2 | grep -v zvmlinux | awk '{print $3}'`
+echo "0x"$OFFSET
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov