2011-07-22 02:47:10 +07:00
|
|
|
#include <asm/page_types.h>
|
|
|
|
#include <linux/linkage.h>
|
2008-04-28 08:45:38 +07:00
|
|
|
#include <linux/init.h>
|
|
|
|
|
2011-07-22 02:47:10 +07:00
|
|
|
__PAGE_ALIGNED_DATA
|
2008-04-28 08:45:38 +07:00
|
|
|
|
|
|
|
.globl vdso_start, vdso_end
|
2011-07-22 02:47:10 +07:00
|
|
|
.align PAGE_SIZE
|
2008-04-28 08:45:38 +07:00
|
|
|
vdso_start:
|
2007-10-11 16:17:10 +07:00
|
|
|
.incbin "arch/x86/vdso/vdso.so"
|
2008-04-28 08:45:38 +07:00
|
|
|
vdso_end:
|
2011-08-03 20:31:49 +07:00
|
|
|
.align PAGE_SIZE /* extra data here leaks to userspace. */
|
2008-04-28 08:45:38 +07:00
|
|
|
|
2011-07-22 02:47:10 +07:00
|
|
|
.previous
|
|
|
|
|
|
|
|
.globl vdso_pages
|
|
|
|
.bss
|
|
|
|
.align 8
|
|
|
|
.type vdso_pages, @object
|
|
|
|
vdso_pages:
|
|
|
|
.zero (vdso_end - vdso_start + PAGE_SIZE - 1) / PAGE_SIZE * 8
|
|
|
|
.size vdso_pages, .-vdso_pages
|