aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/ia32/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2008-01-30 07:30:44 -0500
committerIngo Molnar <mingo@elte.hu>2008-01-30 07:30:44 -0500
commit16f4bc738d616962a844e80f7b1fcb52c626542a (patch)
tree15e26944661e9597f9d7ec2579494a0651f6585a /arch/x86/ia32/Makefile
parentaf65d64845a90c8f2fc90b97e2148ff74672e979 (diff)
x86 vDSO: ia32 vsyscall removal
This removes all the old vsyscall code from arch/x86/ia32/ that is no longer used because arch/x86/vdso/ code has replaced it. 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>
Diffstat (limited to 'arch/x86/ia32/Makefile')
-rw-r--r--arch/x86/ia32/Makefile37
1 files changed, 0 insertions, 37 deletions
diff --git a/arch/x86/ia32/Makefile b/arch/x86/ia32/Makefile
index 1f58a21a41dc..8c19b763b2fb 100644
--- a/arch/x86/ia32/Makefile
+++ b/arch/x86/ia32/Makefile
@@ -12,40 +12,3 @@ obj-$(CONFIG_IA32_AOUT) += ia32_aout.o
12 12
13audit-class-$(CONFIG_AUDIT) := audit.o 13audit-class-$(CONFIG_AUDIT) := audit.o
14obj-$(CONFIG_IA32_EMULATION) += $(audit-class-y) 14obj-$(CONFIG_IA32_EMULATION) += $(audit-class-y)
15
16$(obj)/syscall32_syscall.o: \
17 $(foreach F,sysenter syscall,$(obj)/vsyscall-$F.so)
18
19# Teach kbuild about targets
20targets := $(foreach F,$(addprefix vsyscall-,sysenter syscall),\
21 $F.o $F.so $F.so.dbg)
22
23# The DSO images are built using a special linker script
24quiet_cmd_syscall = SYSCALL $@
25 cmd_syscall = $(CC) -m32 -nostdlib -shared \
26 $(call ld-option, -Wl$(comma)--hash-style=sysv) \
27 -Wl,-soname=linux-gate.so.1 -o $@ \
28 -Wl,-T,$(filter-out FORCE,$^)
29
30$(obj)/%.so: OBJCOPYFLAGS := -S
31$(obj)/%.so: $(obj)/%.so.dbg FORCE
32 $(call if_changed,objcopy)
33
34$(obj)/vsyscall-sysenter.so.dbg $(obj)/vsyscall-syscall.so.dbg: \
35$(obj)/vsyscall-%.so.dbg: $(src)/vsyscall.lds $(obj)/vsyscall-%.o FORCE
36 $(call if_changed,syscall)
37
38AFLAGS_vsyscall-sysenter.o = -m32 -Wa,-32
39AFLAGS_vsyscall-syscall.o = -m32 -Wa,-32
40
41vdsos := vdso32-sysenter.so vdso32-syscall.so
42
43quiet_cmd_vdso_install = INSTALL $@
44 cmd_vdso_install = cp $(@:vdso32-%.so=$(obj)/vsyscall-%.so.dbg) \
45 $(MODLIB)/vdso/$@
46
47$(vdsos):
48 @mkdir -p $(MODLIB)/vdso
49 $(call cmd,vdso_install)
50
51vdso_install: $(vdsos)