]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] i386 vDSO: add PT_NOTE segment
authorRoland McGrath <roland@redhat.com>
Sat, 16 Apr 2005 22:24:48 +0000 (15:24 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sat, 16 Apr 2005 22:24:48 +0000 (15:24 -0700)
commitc6e4171cf4a5b37daf905aca2c650e561541c2be
tree3419f9e9fe9f43700e862a5ac895deccd62f6c6b
parent5f1fdd71cc8e904ea1b3a42f4473bf1830095ed6
[PATCH] i386 vDSO: add PT_NOTE segment

This patch adds an ELF note to the vDSO giving the LINUX_VERSION_CODE
value.  Having this in the vDSO lets the dynamic linker avoid the `uname'
syscall it now always does at startup to ascertain the kernel ABI
available.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/Makefile
arch/i386/kernel/vsyscall-note.S [new file with mode: 0644]
arch/i386/kernel/vsyscall.lds.S