[lkml]   [2020]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH v2] getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level
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 behavior is different with PowerPC.
Signed-off-by: YunQiang Su <>

v1 -> v2: fix typo
man3/getauxval.3 | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/man3/getauxval.3 b/man3/getauxval.3
index 456371c6a..bcc116dd2 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).
-A pointer to a string identifying the real platform; may differ from
-(PowerPC only).
+A pointer to a string (PowerPC and MIPS only).
+On PowerPC, this identifies the real platform; may differ from
+On MIPS, this identifies the ISA level (Since 5.7).
The frequency with which
 \ /
  Last update: 2020-03-22 10:55    [W:0.090 / U:1.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site