[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)
commitc97db4a0a7d4d5be8c64a8d649a4425ee195b05c
treee310d0f9918d7a47359872fa519e2abe10b5d522
parentecd02dddd1d5bfc2141cbd0e205a53fb9d849c9e
[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