This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
How can I access ELF Header from FOO-dis.c
- From: Shekhar Divekar <shekhar at cradle dot com>
- To: binutils at sources dot redhat dot com
- Date: Mon, 19 Jan 2004 12:31:04 +0530
- Subject: How can I access ELF Header from FOO-dis.c
- Organization: Cradle Technologies
- Reply-to: shekhar at cradle dot com
I am working on a port of binutils 2.14.90 to our target.
I want use CGEN_COMPUTE_MACH macro in print_insn
to decipher the mach for which I am disassembling.
Also we store the arch and mach info in e_flgas of
ELF header.
How can I access ELF header information from
FOO-dis.c ?
Thanks
Shekhar