#!/bin/bash

OFFSET=`objdump -h $1  | grep $2 | grep -v zvmlinux| awk '{print $6}'`
echo "0x"$OFFSET
