getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level
PATCH 1/1 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 behaivor is different with PowerPC.
Signed-off-by YunQiang Su <[email protected]>
--- man3/getauxval.3 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
man3/getauxval.3 +4 -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
Signature · 1 line
2.26.0.rc2
Hello!
Quoted 7 lines · YunQiang Su
Since Linux 5.7, on MIPS, we use
AT_BASE_PLATFORMto pass ISA level. The values may be:mips2, mips3, mips4, mips5, mips32, mips32r2, mips32r6, mips64, mips64r2, mips64r6.This behaivor is different with PowerPC.
Behavior.
Quoted 11 lines
Signed-off-by YunQiang Su <[email protected]>--- man3/getauxval.3 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)man3/getauxval.3 +0
-0
man3/getauxval.3 values are present on all architectures. · line 64
Quoted 8 lines
man3/getauxval.3 +2
-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
Identifies.
man3/getauxval.3 values are present on all architectures. · line 66
Quoted 2 lines
man3/getauxval.3 +2
-0+.BR AT_PLATFORM "." +On MIPS, this identifys the ISA level (Since 5.7).
Same here.
[...]
MBR, Sergei