Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5390
b: refs/heads/master
c: 2275cfa
h: refs/heads/master
v: v3
  • Loading branch information
Andreas Gruenbacher authored and Linus Torvalds committed Jul 29, 2005
1 parent 34aa442 commit 06ac467
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f8d311939f9d2b2a5e935df8dceb98b7cbe08d43
refs/heads/master: 2275cfa8bcb833cdac7dcc616d11306ca35eec58
4 changes: 2 additions & 2 deletions trunk/arch/x86_64/ia32/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

obj-$(CONFIG_IA32_EMULATION) := ia32entry.o sys_ia32.o ia32_ioctl.o \
ia32_signal.o tls32.o \
ia32_binfmt.o fpu32.o ptrace32.o syscall32.o
ia32_binfmt.o fpu32.o ptrace32.o syscall32.o syscall32_syscall.o

sysv-$(CONFIG_SYSVIPC) := ipc32.o
obj-$(CONFIG_IA32_EMULATION) += $(sysv-y)

obj-$(CONFIG_IA32_AOUT) += ia32_aout.o

$(obj)/syscall32.o: $(src)/syscall32.c \
$(obj)/syscall32_syscall.o: \
$(foreach F,sysenter syscall,$(obj)/vsyscall-$F.so)

# Teach kbuild about targets
Expand Down
10 changes: 0 additions & 10 deletions trunk/arch/x86_64/ia32/syscall32.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@
#include <asm/tlbflush.h>
#include <asm/ia32_unistd.h>

/* 32bit VDSOs mapped into user space. */
asm(".section \".init.data\",\"aw\"\n"
"syscall32_syscall:\n"
".incbin \"arch/x86_64/ia32/vsyscall-syscall.so\"\n"
"syscall32_syscall_end:\n"
"syscall32_sysenter:\n"
".incbin \"arch/x86_64/ia32/vsyscall-sysenter.so\"\n"
"syscall32_sysenter_end:\n"
".previous");

extern unsigned char syscall32_syscall[], syscall32_syscall_end[];
extern unsigned char syscall32_sysenter[], syscall32_sysenter_end[];
extern int sysctl_vsyscall32;
Expand Down
17 changes: 17 additions & 0 deletions trunk/arch/x86_64/ia32/syscall32_syscall.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* 32bit VDSOs mapped into user space. */

.section ".init.data","aw"

.globl syscall32_syscall
.globl syscall32_syscall_end

syscall32_syscall:
.incbin "arch/x86_64/ia32/vsyscall-syscall.so"
syscall32_syscall_end:

.globl syscall32_sysenter
.globl syscall32_sysenter_end

syscall32_sysenter:
.incbin "arch/x86_64/ia32/vsyscall-sysenter.so"
syscall32_sysenter_end:

0 comments on commit 06ac467

Please sign in to comment.