This website requires JavaScript.
Explore
Help
Sign In
kevin
/
linux
Watch
1
Fork
0
You've already forked linux
Code
ecc8b655b3
linux
/
arch
/
powerpc
/
kernel
/
vdso64
/
note.S
2 lines
28 B
ArmAsm
Raw
Normal View
History
Unescape
Escape
[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
#
include
"
.
.
/
v
d
s
o
3
2
/
n
o
t
e
.
S
"
Copy Permalink