Sign in
fuchsia
/
third_party
/
binutils-gdb
/
04d2c2b25441395b201810bb99f9094bfc094377
/
.
/
gdb
/
testsuite
/
gdb.hp
/
gdb.objdbg
/
tools
/
symaddr.pa64
blob: 43fd793c5d9fabd3682dd10bc43ec34468b1f5da [
file
] [
log
] [
blame
]
#!/bin/ksh
# Get the address of a symbol in Hex.
# $1 = object/executable file name
# $2 = symbol name
/
usr
/
ccs
/
bin
/
elfdump
-
t
+
s
.
symtab
"$1"
|
grep
"$2"
$
|
awk
'{print $6}'
exit
0