Nathan Lynch 483fad1c3f ELF loader support for auxvec base platform string
Some IBM POWER-based platforms have the ability to run in a
mode which mostly appears to the OS as a different processor from the
actual hardware.  For example, a Power6 system may appear to be a
Power5+, which makes the AT_PLATFORM value "power5+".  This means that
programs are restricted to the ISA supported by Power5+;
Power6-specific instructions are treated as illegal.

However, some applications (virtual machines, optimized libraries) can
benefit from knowledge of the underlying CPU model.  A new aux vector
entry, AT_BASE_PLATFORM, will denote the actual hardware.  For
example, on a Power6 system in Power5+ compatibility mode, AT_PLATFORM
will be "power5+" and AT_BASE_PLATFORM will be "power6".  The idea is
that AT_PLATFORM indicates the instruction set supported, while
AT_BASE_PLATFORM indicates the underlying microarchitecture.

If the architecture has defined ELF_BASE_PLATFORM, copy that value to
the user stack in the same manner as ELF_PLATFORM.

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2008-07-25 15:44:39 +10:00
..
2008-07-03 09:59:03 -05:00
2008-07-24 10:47:33 -07:00
2008-04-29 08:06:00 -07:00
2008-04-30 08:29:52 -07:00
2008-05-21 16:55:58 -07:00
2008-06-10 15:12:58 -05:00
2008-07-02 15:06:27 -06:00
2008-07-24 17:32:41 -07:00
2008-05-24 09:56:08 -07:00
2008-07-24 10:47:17 -07:00
2008-07-04 09:52:14 +02:00
2008-07-02 15:06:27 -06:00
2008-04-30 08:29:52 -07:00
2008-07-15 17:35:24 +03:00
2008-07-24 11:50:15 -07:00
2008-06-06 11:29:13 -07:00
2008-06-06 11:29:13 -07:00
2008-07-24 10:47:33 -07:00
2008-07-24 10:47:27 -07:00
2008-05-01 13:08:16 -04:00
2008-07-24 10:47:28 -07:00
2008-05-01 13:08:16 -04:00
2008-07-14 19:10:52 +03:00
2008-05-06 13:13:37 -07:00
2008-04-29 08:06:00 -07:00
2008-06-06 11:29:08 -07:00
2008-07-24 10:47:19 -07:00
2008-07-24 10:47:29 -07:00
2008-04-30 08:29:51 -07:00
2008-07-02 15:06:27 -06:00