FreeBSD elf_machine_id

Dimitry Andric dim at FreeBSD.org
Sun Aug 12 11:43:25 UTC 2018


On 12 Aug 2018, at 13:21, blubee blubeeme <gurenchan at gmail.com> wrote:
> 
> What's the elf_machine_id for FreeBSD amd64 systems?
> 
> How can I find this info?

There isn't any FreeBSD-specific machine ID, just a machine ID for
x86-64 (aka amd64) in general:

$ grep x86-64 /usr/include/sys/elf_common.h
#define	EM_X86_64	62	/* Advanced Micro Devices x86-64 */
#define	EM_AMD64	EM_X86_64	/* Advanced Micro Devices x86-64 (compat) */

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20180812/acefd915/attachment.sig>


More information about the freebsd-current mailing list