Files
linux/arch/mips/include/asm
YunQiang Su e585b768da 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>
2020-03-19 13:09:33 +01:00
..
2019-07-30 10:41:54 -07:00
2020-01-09 09:48:42 -08:00
2019-10-31 15:03:10 -07:00
2020-01-22 15:56:08 -08:00
2019-11-27 10:27:45 -08:00
2020-01-22 15:56:08 -08:00
2020-03-19 13:09:33 +01:00
2019-05-22 18:45:52 -07:00
2020-01-22 15:56:08 -08:00
2019-02-04 10:56:41 -08:00
2019-02-04 10:56:41 -08:00
2020-02-04 03:05:24 +00:00
2019-10-31 15:03:10 -07:00
2019-07-01 17:51:40 +02:00
2019-10-31 15:03:10 -07:00
2018-08-01 13:20:15 -07:00
2019-04-03 10:32:54 +02:00
2019-10-02 14:06:41 -07:00
2019-07-25 21:45:05 -07:00
2016-05-09 12:00:02 +02:00