Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2435625ybb; Sat, 21 Mar 2020 22:40:57 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuvT6paoIFFLks89d/fASWKVOKSs2Il1XLQnpBkWKFhE7m+GDMHtLFyGkOl7bpkVrJsYp+D X-Received: by 2002:a9d:64ca:: with SMTP id n10mr13594884otl.325.1584855657024; Sat, 21 Mar 2020 22:40:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584855657; cv=none; d=google.com; s=arc-20160816; b=jE6d2YgcaHS1dswI03gj9Sa7l7KWFkJ3FZYCG5W7K1b9J0O8dIoBmJifnWwL/fG++M 3zd410AR0nVyMzuerP1MRkdpuy82CO2snDQonbQQNbUcINac5Vv1cZC1X/iu57cVix8Y aeBCoi4ZpevcSRKdmMWzZ4A9PjIEQj6rCGBJ7fqKHqlSEZBdEddP8Or1p61bszJGllX7 yaWWhBbiuNzh+XWJRzzh4z9pp9R5Fj57P4zh5OlF058DTB4HK+NCQaPMCjIFqxEzqI5U /D0Z2e7YLhmZnXlmM5evS1ficGzHm3XsEM7JrqlBlVXZIUEz30vaENjnaE7UBjiHx8lY UxIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=spP+yCGSzPzhe+8wghduZrLrXmzq5c5ZgZYSiNEqLBI=; b=rjHBa2D/hMwUrHNWwgUTuyEwJR5AdNJNsZeySDul9s9iZKbhr1WH4pokDNA63aU0KJ UjPWVW5Igingpz5F4GFkW18ys9zTO7GrhdHECm0KFjvKqkfsiekS2G0BeUxgIFfRR+Ze oAwbBVZfB+mED9UZ4OXqWefkmmGvk44Enzn1/OJJfIz2d/AYkru38eJS9dvqEvh7qIDh EhTMgqxQEr7+wU71X4hYB7mMdr8P8KXXSakG5r5AD/IWYX8El5H1+VKW7JEtEHpVuFe6 J0AtgqNpBFjnB3TmyTCYbp/b85uu8tN1ORw3UigbQ3DXAJPv2N6ADBbEldUpaFIi7LoQ bc/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=qpVJsvU7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u10si5704778otj.235.2020.03.21.22.40.44; Sat, 21 Mar 2020 22:40:57 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=qpVJsvU7; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726770AbgCVFkZ (ORCPT + 99 others); Sun, 22 Mar 2020 01:40:25 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:43429 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725825AbgCVFkZ (ORCPT ); Sun, 22 Mar 2020 01:40:25 -0400 Received: by mail-pg1-f195.google.com with SMTP id u12so5359867pgb.10; Sat, 21 Mar 2020 22:40:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=spP+yCGSzPzhe+8wghduZrLrXmzq5c5ZgZYSiNEqLBI=; b=qpVJsvU7hkYt3W99PKuoEMfwXr92qpJIkIm8CSZQbserjPIxwrAKcNXjpnPNRLTaxu 63OYk6p7jtaQHxbxeZLFH5vq/HZSs6i1xJRV/cvQHN64qOrJnaEZFe3GWyoHK/fIHH85 knFIj/fBu6TKbQD3We08BnpjmvcLUk+mk4kP7TBRObuAb2h+1eq5fWpUtIhlZh+ue3zP nlmUyP7eKwBoAKlteRpXBhn3/ddzHsu3o97kdvOmF44p6yznbWvN6AQDjiMV+eMBDgrC pLdf0ugcprMtwriWbxr1hPVFUGTuGIKCsWibD5+ElN53wm0RNNIv2l5UBorzSUP+ktTn 6ZTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=spP+yCGSzPzhe+8wghduZrLrXmzq5c5ZgZYSiNEqLBI=; b=l+w/hLmDwtbl/EiwYguwJAXi/CrLZVElc7v5afKJVPqnRctrFOz03TP4PaV0bkiepr vjWaA6bp7SmK+fCN9numFtYZJppmZ0W0PcJFcRF7rCEw3HDUSLOIa74bCpU+ynhcezcf ROu5tCBR6NwPkbAoQqWv+wX81mxQryMjMas/wd1B7KwDHsD6xyXZqO2FifH8TD1ld/OJ F4m3fFu9kAR2WZsRFemRKeK2xTJGvA42b4SSgNPQH1AJjjGKoNil6aDfmpECx2WHUkWe KJGqbVgIhprpN/jVpEJUCwdXfJXPAjDNGV9+J3cdN/uygzhLsKEUw7GrGaXsam3CFaYi Qv7Q== X-Gm-Message-State: ANhLgQ0nWHd+ChzWPXas7GIwLLyNzNkb4Gk2zxGPpDLw5PzvZwR7kfoM 4dPw7Gt/L2orazdDhSKBnE8VhitF X-Received: by 2002:a62:868a:: with SMTP id x132mr17147262pfd.208.1584855624030; Sat, 21 Mar 2020 22:40:24 -0700 (PDT) Received: from xps.vpn2.bfsu.edu.cn ([103.125.232.133]) by smtp.gmail.com with ESMTPSA id b23sm910831pft.116.2020.03.21.22.40.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 21 Mar 2020 22:40:23 -0700 (PDT) From: YunQiang Su To: mtk.manpages@gmail.com Cc: linux-man@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, YunQiang Su Subject: [PATCH] getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level Date: Sun, 22 Mar 2020 13:39:16 +0800 Message-Id: <20200322053916.391906-1-syq@debian.org> X-Mailer: git-send-email 2.26.0.rc2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since Linux 5.7, on MIPS, we use AT_BASE_PLATFORM to pass ISA level. The values may be: mips2, mips3, mips4, mips5, mips32, mips32r2, mips32r6, mips64, mips64r2, mips64r6. This behaivor is different with PowerPC. https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e585b768da111f2c2d413de6214e83bbdfee8f22 Signed-off-by: YunQiang Su --- man3/getauxval.3 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/man3/getauxval.3 b/man3/getauxval.3 index 456371c6a..518faf5d3 100644 --- a/man3/getauxval.3 +++ b/man3/getauxval.3 @@ -60,9 +60,10 @@ values are present on all architectures. The base address of the program interpreter (usually, the dynamic linker). .TP .BR AT_BASE_PLATFORM -A pointer to a string identifying the real platform; may differ from -.BR AT_PLATFORM -(PowerPC only). +A pointer to a string (PowerPC and MIPS only). +On PowerPC, this identifys the real platform; may differ from +.BR AT_PLATFORM "." +On MIPS, this identifys the ISA level (Since 5.7). .TP .BR AT_CLKTCK The frequency with which -- 2.26.0.rc2