Message ID | 20200322053916.391906-1-syq@debian.org (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | getauxval.3: MIPS, AT_BASE_PLATFORM passes ISA level | expand |
Hello! On 22.03.2020 8:39, YunQiang Su wrote: > 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. Behavior. > https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=e585b768da111f2c2d413de6214e83bbdfee8f22 > Signed-off-by: YunQiang Su <syq@debian.org> > --- > 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 Identifies. > +.BR AT_PLATFORM "." > +On MIPS, this identifys the ISA level (Since 5.7). Same here. [...] MBR, Sergei
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
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 <syq@debian.org> --- man3/getauxval.3 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)