x86 vDSO: reorder vdso32 code
authorRoland McGrath <roland@redhat.com>
Wed, 30 Jan 2008 12:30:44 +0000 (13:30 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:30:44 +0000 (13:30 +0100)
commit69d0627a7f6e891189124d784d2fa90cae7c449a
treef39140f454b98a28846df7d0a1b9279a8b3b8d97
parent16f4bc738d616962a844e80f7b1fcb52c626542a
x86 vDSO: reorder vdso32 code

This reorders the code in the 32-bit vDSO images to put the signal
trampolines first and __kernel_vsyscall after them.  The order does
not matter to userland, it just uses what AT_SYSINFO or e_entry
says.  Since the signal trampolines are the same size in both
versions of the vDSO, putting them first is the simplest way to get
the addresses to line up.  This makes it work to use a more compact
layout for the vDSO.

Signed-off-by: Roland McGrath <roland@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/vdso/vdso32/int80.S
arch/x86/vdso/vdso32/sigreturn.S
arch/x86/vdso/vdso32/syscall.S
arch/x86/vdso/vdso32/sysenter.S