FreeBSD elf_machine_id
blubee blubeeme
gurenchan at gmail.com
Sun Aug 12 13:59:47 UTC 2018
On Sun, Aug 12, 2018 at 7:43 PM Dimitry Andric <dim at freebsd.org> wrote:
> 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
>
> Thank you for the clarification.
I think in this case I was looking for 62.
Best,
Owen
More information about the freebsd-current
mailing list