armv7 and armv8

Sean Bruno sbruno at ignoranthack.me
Sat Feb 7 19:10:31 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Not sure if there's a difference in the ELF header for files on armv7/v8
vs armv6.  Can someone who has armv7 and arvm8 binaries somewhere send
me the following for each target arch?

elfdump -e <file>

and

hexdump -C <file>

sean

p.s.

for armv6 this is what I have:

elfdump -e
/usr/local/poudriere/jails/11armv6/rescue/sh                                                                                                                                                     
 

elf header:

        e_ident: ELFCLASS32 ELFDATA2LSB ELFOSABI_SYSV
        e_type: ET_EXEC
        e_machine: EM_ARM
        e_version: EV_CURRENT
        e_entry: 0x8180
        e_phoff: 52
        e_shoff: 7954024
        e_flags: 83886082
        e_ehsize: 52
        e_phentsize: 32
        e_phnum: 5
        e_shentsize: 40
        e_shnum: 20
        e_shstrndx: 19

hexdump -C /usr/local/poudriere/jails/11armv6/rescue/sh | head
-2                                                                                                                                           
 
00000000  7f 45 4c 46 01 01 01 00  00 00 00 00 00 00 00 00 
|.ELF............|
00000010  02 00 28 00 01 00 00 00  80 81 00 00 34 00 00 00 
|..(.........4...|



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQF8BAEBCgBmBQJU1mMbXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx
MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5khoMH/32LalkIxTKs7LEljqIXLuwE
6E3tD0qEGp7u8L548U6osLnxaAxowK4JO7s0sx1MEOz3b3T688r/v4cylz/EgMmx
7TYbDIIJH5WQQrO0OjclnKOc64X8Zwy7TWcv7Hl9gbJtHjMFcw/4ZwOd7gKVzQ/T
7mMUTGAMFZL8ptIBYFt2DYG14Drqc6EORl92Do8EwZRF/TvBUusgUcAur49g6KRQ
DVJZAW8kYshwy3W93s9i93UQfIpVJATipQicQME6XzZFELmOPtQhYvvuDaa7Qwuj
XyOY3RtprHvjmYUF1J9HegTEWn1rVi+vZzBvC6VR1jWjKHMFcgpRrPRrTT+VFzI=
=Bvag
-----END PGP SIGNATURE-----



More information about the freebsd-arm mailing list