acrn-kernel/arch/ppc64/kernel/vdso32
Benjamin Herrenschmidt 1b29f9d13e [PATCH] ppc64: add PT_NOTE section to vDSO
This patch from Roland adds a PT_NOTE section to both 32 and 64 bits vDSOs
to expose the kernel version to glibc, thus avoiding a uname syscall on
every launch.  This is equivalent to the patches Roland posted already for
x86 and x86-64.

Note: the 64 bits .note is actually using the 32 bits format.  This is
normal.  The ELF spec specifies a different format for 64 bits .note, but
for some reason, this was never properly implemented, the core dumps for
example are all using 32 bits format .note, and binutils cannot even read a
64 bits format .note.  Talking to our toolchain folks, they think we'd
rather stick to 32 bits format .note everywhere and get the spec fixed some
day ...

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-05-01 08:58:43 -07:00
..
Makefile [PATCH] ppc64: add PT_NOTE section to vDSO 2005-05-01 08:58:43 -07:00
cacheflush.S [PATCH] ppc64: Fix return value of some vDSO calls 2005-04-27 18:04:45 -07:00
datapage.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gettimeofday.S [PATCH] ppc64: Fix return value of some vDSO calls 2005-04-27 18:04:45 -07:00
note.S [PATCH] ppc64: add PT_NOTE section to vDSO 2005-05-01 08:58:43 -07:00
sigtramp.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
vdso32.lds.S [PATCH] ppc64: add PT_NOTE section to vDSO 2005-05-01 08:58:43 -07:00
vdso32_wrapper.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00