[lldb-dev] ARM + ELF questions

Bobby Powers bobbypowers at gmail.com
Thu Jun 10 19:43:56 PDT 2010

On Thu, Jun 10, 2010 at 6:39 PM, Greg Clayton <gclayton at apple.com> wrote:
> Does anyone know if there is a way to distinguish which architecture (armv4, armv5, armv5t, armv6, armv7) ARM ELF files are?
> The only thing I know of is the e_machine in the ELF header. I know ARM ELF files (.axf files) might have some special bits, but is there anything in linux that is adopted?

lookign at the ARM ELF spec [1], they list a (possibly example) build
attribute (p 20) called Tag_CPU_name:
Tag_CPU_name   <string>  -- 0x05, "ARM946E-S"

I'm not sure if thats useful, possibly another build attribute might
be more descriptive.


 [1] - http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044b/IHI0044B_aaelf.pdf
> Greg Clayton
> Senior LLDB Architect
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

More information about the lldb-dev mailing list