diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:12:30 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:12:30 -0400 |
commit | 24f5b95bb91a6edac5dfdc7ddcbd6cabe0b30430 (patch) | |
tree | 1a0e1fb56f7f6138b8cc7e010675320063b227bf | |
parent | d4c3a41e9a1f72bb995a6fb89ad028eda9a14c3d (diff) |
i386: prepare shared kernel/vsyscall-int80.S
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/i386/kernel/Makefile | 6 | ||||
-rw-r--r-- | arch/i386/kernel/vsyscall-int80_32.S (renamed from arch/i386/kernel/vsyscall-int80.S) | 0 | ||||
-rw-r--r-- | arch/i386/kernel/vsyscall_32.S | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/arch/i386/kernel/Makefile b/arch/i386/kernel/Makefile index 38d2b469a891..84297d470df2 100644 --- a/arch/i386/kernel/Makefile +++ b/arch/i386/kernel/Makefile | |||
@@ -50,7 +50,7 @@ obj-$(CONFIG_SCx200) += scx200.o | |||
50 | # vsyscall_32.o contains the vsyscall DSO images as __initdata. | 50 | # vsyscall_32.o contains the vsyscall DSO images as __initdata. |
51 | # We must build both images before we can assemble it. | 51 | # We must build both images before we can assemble it. |
52 | # Note: kbuild does not track this dependency due to usage of .incbin | 52 | # Note: kbuild does not track this dependency due to usage of .incbin |
53 | $(obj)/vsyscall_32.o: $(obj)/vsyscall-int80.so $(obj)/vsyscall-sysenter.so | 53 | $(obj)/vsyscall_32.o: $(obj)/vsyscall-int80_32.so $(obj)/vsyscall-sysenter.so |
54 | targets += $(foreach F,int80 sysenter,vsyscall-$F.o vsyscall-$F.so) | 54 | targets += $(foreach F,int80 sysenter,vsyscall-$F.o vsyscall-$F.so) |
55 | targets += vsyscall-note.o vsyscall_32.lds | 55 | targets += vsyscall-note.o vsyscall_32.lds |
56 | 56 | ||
@@ -64,9 +64,9 @@ export CPPFLAGS_vsyscall_32.lds += -P -C -U$(ARCH) | |||
64 | vsyscall-flags = -shared -s -Wl,-soname=linux-gate.so.1 \ | 64 | vsyscall-flags = -shared -s -Wl,-soname=linux-gate.so.1 \ |
65 | $(call ld-option, -Wl$(comma)--hash-style=sysv) | 65 | $(call ld-option, -Wl$(comma)--hash-style=sysv) |
66 | SYSCFLAGS_vsyscall-sysenter.so = $(vsyscall-flags) | 66 | SYSCFLAGS_vsyscall-sysenter.so = $(vsyscall-flags) |
67 | SYSCFLAGS_vsyscall-int80.so = $(vsyscall-flags) | 67 | SYSCFLAGS_vsyscall-int80_32.so = $(vsyscall-flags) |
68 | 68 | ||
69 | $(obj)/vsyscall-int80.so $(obj)/vsyscall-sysenter.so: \ | 69 | $(obj)/vsyscall-int80_32.so $(obj)/vsyscall-sysenter.so: \ |
70 | $(obj)/vsyscall-%.so: $(src)/vsyscall_32.lds \ | 70 | $(obj)/vsyscall-%.so: $(src)/vsyscall_32.lds \ |
71 | $(obj)/vsyscall-%.o $(obj)/vsyscall-note.o FORCE | 71 | $(obj)/vsyscall-%.o $(obj)/vsyscall-note.o FORCE |
72 | $(call if_changed,syscall) | 72 | $(call if_changed,syscall) |
diff --git a/arch/i386/kernel/vsyscall-int80.S b/arch/i386/kernel/vsyscall-int80_32.S index 530d0525e5e2..530d0525e5e2 100644 --- a/arch/i386/kernel/vsyscall-int80.S +++ b/arch/i386/kernel/vsyscall-int80_32.S | |||
diff --git a/arch/i386/kernel/vsyscall_32.S b/arch/i386/kernel/vsyscall_32.S index b403890fe39b..033074479fca 100644 --- a/arch/i386/kernel/vsyscall_32.S +++ b/arch/i386/kernel/vsyscall_32.S | |||
@@ -4,12 +4,12 @@ __INITDATA | |||
4 | 4 | ||
5 | .globl vsyscall_int80_start, vsyscall_int80_end | 5 | .globl vsyscall_int80_start, vsyscall_int80_end |
6 | vsyscall_int80_start: | 6 | vsyscall_int80_start: |
7 | .incbin "arch/i386/kernel/vsyscall-int80.so" | 7 | .incbin "arch/i386/kernel/vsyscall-int80_32.so" |
8 | vsyscall_int80_end: | 8 | vsyscall_int80_end: |
9 | 9 | ||
10 | .globl vsyscall_sysenter_start, vsyscall_sysenter_end | 10 | .globl vsyscall_sysenter_start, vsyscall_sysenter_end |
11 | vsyscall_sysenter_start: | 11 | vsyscall_sysenter_start: |
12 | .incbin "arch/i386/kernel/vsyscall-sysenter.so" | 12 | .incbin "arch/i386/kernel/vsyscall-sysenter_32.so" |
13 | vsyscall_sysenter_end: | 13 | vsyscall_sysenter_end: |
14 | 14 | ||
15 | __FINIT | 15 | __FINIT |