Commit 0c2f51a7 authored by Roland McGrath's avatar Roland McGrath Committed by Ingo Molnar

x86 vDSO: arch/x86/vdso/vdso32

This moves the i386 vDSO sources into arch/x86/vdso/vdso32/, a
new directory.  This patch is a pure renaming, but paves the way
for consolidating the vDSO build logic.
Signed-off-by: default avatarRoland McGrath <roland@redhat.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 108b5451
...@@ -139,5 +139,4 @@ __kernel_rt_sigreturn: ...@@ -139,5 +139,4 @@ __kernel_rt_sigreturn:
.align 4 .align 4
.LENDFDE3: .LENDFDE3:
#include "../../x86/kernel/vsyscall-note_32.S" #include "../vdso/vdso32/note.S"
...@@ -56,6 +56,9 @@ $(obj)/vsyscall_32.o: $(obj)/vsyscall-int80_32.so $(obj)/vsyscall-sysenter_32.so ...@@ -56,6 +56,9 @@ $(obj)/vsyscall_32.o: $(obj)/vsyscall-int80_32.so $(obj)/vsyscall-sysenter_32.so
targets += $(foreach F,int80 sysenter,vsyscall-$F_32.o vsyscall-$F_32.so) targets += $(foreach F,int80 sysenter,vsyscall-$F_32.o vsyscall-$F_32.so)
targets += vsyscall-note_32.o vsyscall_32.lds targets += vsyscall-note_32.o vsyscall_32.lds
$(obj)/vsyscall-%_32.o: $(src)/../vdso/vdso32/%.S
$(call if_changed_dep,as_o_S)
# The DSO images are built using a special linker script. # The DSO images are built using a special linker script.
quiet_cmd_syscall = SYSCALL $@ quiet_cmd_syscall = SYSCALL $@
cmd_syscall = $(CC) -m elf_i386 -nostdlib $(SYSCFLAGS_$(@F)) \ cmd_syscall = $(CC) -m elf_i386 -nostdlib $(SYSCFLAGS_$(@F)) \
......
...@@ -50,4 +50,4 @@ __kernel_vsyscall: ...@@ -50,4 +50,4 @@ __kernel_vsyscall:
/* /*
* Get the common code for the sigreturn entry points. * Get the common code for the sigreturn entry points.
*/ */
#include "vsyscall-sigreturn_32.S" #include "sigreturn.S"
...@@ -33,7 +33,7 @@ ELFNOTE_END ...@@ -33,7 +33,7 @@ ELFNOTE_END
* at boot time we set VDSO_NOTE_NONEGSEG_BIT if running under Xen. * at boot time we set VDSO_NOTE_NONEGSEG_BIT if running under Xen.
*/ */
#include "../../x86/xen/vdso.h" /* Defines VDSO_NOTE_NONEGSEG_BIT. */ #include "../../xen/vdso.h" /* Defines VDSO_NOTE_NONEGSEG_BIT. */
.globl VDSO_NOTE_MASK .globl VDSO_NOTE_MASK
ELFNOTE_START(GNU, 2, "a") ELFNOTE_START(GNU, 2, "a")
......
...@@ -119,4 +119,4 @@ SYSENTER_RETURN: ...@@ -119,4 +119,4 @@ SYSENTER_RETURN:
/* /*
* Get the common code for the sigreturn entry points. * Get the common code for the sigreturn entry points.
*/ */
#include "vsyscall-sigreturn_32.S" #include "sigreturn.S"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment