2011-07-21 21:47:10 +02:00
|
|
|
#include <asm/page_types.h>
|
|
|
|
#include <linux/linkage.h>
|
2008-04-28 03:45:38 +02:00
|
|
|
#include <linux/init.h>
|
|
|
|
|
2011-07-21 21:47:10 +02:00
|
|
|
__PAGE_ALIGNED_DATA
|
2008-04-28 03:45:38 +02:00
|
|
|
|
|
|
|
.globl vdso_start, vdso_end
|
2011-07-21 21:47:10 +02:00
|
|
|
.align PAGE_SIZE
|
2008-04-28 03:45:38 +02:00
|
|
|
vdso_start:
|
2007-10-11 11:17:10 +02:00
|
|
|
.incbin "arch/x86/vdso/vdso.so"
|
2008-04-28 03:45:38 +02:00
|
|
|
vdso_end:
|
2011-08-03 15:31:49 +02:00
|
|
|
.align PAGE_SIZE /* extra data here leaks to userspace. */
|
2008-04-28 03:45:38 +02:00
|
|
|
|
2011-07-21 21:47:10 +02: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
|