summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kconfig
diff options
context:
space:
mode:
authorYunQiang Su <syq@debian.org>2020-03-07 10:39:45 +0800
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-03-19 13:09:33 +0100
commite585b768da111f2c2d413de6214e83bbdfee8f22 (patch)
tree1eec1484c64b175aa039958e89346865901d4817 /arch/mips/Kconfig
parentbe2807643302bb4161b6c009f569e63f0f79672c (diff)
downloadlinux-e585b768da111f2c2d413de6214e83bbdfee8f22.tar.bz2
Use ELF_BASE_PLATFORM to pass ISA level
Some userland application/program runtime/dynamic loaded need to know about the current ISA level to use the best runtime. While kernel doesn't provides this info. ELF_PLATFORM only provides some info about the CPU, with very few info, for example, the value is "mips" for both 24Kc and P6600. Currently ELF_BASE_PLATFORM is not used by MIPS (only by powerpc). So we cant set its value as: mips2, mips3, mips4, mips5, mips32, mips32r2, mips32r6 mips64, mips64r2, mips64r6 Then in userland, we can get it by: getauxval(AT_BASE_PLATFORM) The only problem is that it seems has different defination than ppc: on ppc, it is the mircoarchitecture while now we use it as ISA level on MIPS. Signed-off-by: YunQiang Su <syq@debian.org> Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/Kconfig')
0 files changed, 0 insertions, 0 deletions