From owner-freebsd-current@freebsd.org Sun Aug 12 13:59:47 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9A58E10711D8 for ; Sun, 12 Aug 2018 13:59:47 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: from mail-it0-x232.google.com (mail-it0-x232.google.com [IPv6:2607:f8b0:4001:c0b::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C34E89584; Sun, 12 Aug 2018 13:59:47 +0000 (UTC) (envelope-from gurenchan@gmail.com) Received: by mail-it0-x232.google.com with SMTP id d9-v6so8959966itf.2; Sun, 12 Aug 2018 06:59:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Xd+500u7mO3ZP6Gt67nX/xEFtNUFT1kvs/xrF4JN1Xw=; b=nWFppkSHAk25mxHrA22DczvmRtODBRUuKzFohWKQI7u6/k80fmOOvjEM6GsPB502CA BYFRd2jPreDgSiE8pOYaEveaGz2xT1Oxl0oK4YOqAR9JXgApRTc3Pd6LEdGvzAvDUoIM MRq5pKr6Nab2hwcoBE1myX1M///z4HtZOzuGq8SUPCDZgkqQtOpH9TElW1Crkt4ZdeRY /YAmtBO0ERxl1auM7DdaZUJY1UBJNXQC/ZABHnsJltibrHN6NN2kk1O/HHwXHLvZpCwE k850iXeb34uA358lO1b1O7MqvUvxWhhxkuztBH/KI0GaNtT53UnzwZ2H0Nqa+mYAmljf HEIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Xd+500u7mO3ZP6Gt67nX/xEFtNUFT1kvs/xrF4JN1Xw=; b=hCvtGJrlWhpAsxMbqpzKcaVV4Q0Y0imBIr0HD3UPA0Qmd7CfrLBwuNDAHqMSkTDqPR l4eZrYsR84EXrt8sp/YnFvQP2iex85k0po7EDvcZeEPrEdSTXAGjwrD6XHKu7G3bivya iYuy8PMVNjKepUOZv+8vbKifyGCVerJOwbtTSFxfoEqYpxWnyugZaBA14heUfDpjttv/ 5TN88B/oiQ6EzG/OpIGtaHpV8eCxW5F1rPukCADQ1TRxc6ryWXw/LCtSGgjMqyRHQu6c vWYa5Qsvq5psPCmLL4HerD94+0jd0R6i0cFx0Hipo+vty2yuQazjJt6rg6xV+t0rrAfT gEJA== X-Gm-Message-State: AOUpUlEjQgjNtkSvlwiLp05hV9rRpuFN+q6z4DnJI5+6GbEOHFdE9d8W ctZ9yAsTn/1e2cZCFv9K1A7qZE+jd/lw7dP/xIo8IQ== X-Google-Smtp-Source: AA+uWPxvUBwrtoGbwtxQuIwIKm6YE6UbSA18PfSTdm3NrlgPgf6EVtOQSyDzP/MsfIagS3y77I7igQzs9pcH4BC6o1c= X-Received: by 2002:a02:6a2f:: with SMTP id l47-v6mr12054794jac.71.1534082386428; Sun, 12 Aug 2018 06:59:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: blubee blubeeme Date: Sun, 12 Aug 2018 21:59:35 +0800 Message-ID: Subject: Re: FreeBSD elf_machine_id To: Dimitry Andric Cc: FreeBSD current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2018 13:59:47 -0000 On Sun, Aug 12, 2018 at 7:43 PM Dimitry Andric wrote: > On 12 Aug 2018, at 13:21, blubee blubeeme 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