Andy Lutomirski | aafade2 | 2011-07-21 15:47:10 -0400 | [diff] [blame] | 1 | #include <asm/page_types.h> |
| 2 | #include <linux/linkage.h> |
Roland McGrath | d9dedc1 | 2008-04-27 18:45:38 -0700 | [diff] [blame] | 3 | #include <linux/init.h> |
| 4 | |
Andy Lutomirski | aafade2 | 2011-07-21 15:47:10 -0400 | [diff] [blame] | 5 | __PAGE_ALIGNED_DATA |
Roland McGrath | d9dedc1 | 2008-04-27 18:45:38 -0700 | [diff] [blame] | 6 | |
| 7 | .globl vdso_start, vdso_end |
Andy Lutomirski | aafade2 | 2011-07-21 15:47:10 -0400 | [diff] [blame] | 8 | .align PAGE_SIZE |
Roland McGrath | d9dedc1 | 2008-04-27 18:45:38 -0700 | [diff] [blame] | 9 | vdso_start: |
Thomas Gleixner | 7648b13 | 2007-10-11 11:17:10 +0200 | [diff] [blame] | 10 | .incbin "arch/x86/vdso/vdso.so" |
Roland McGrath | d9dedc1 | 2008-04-27 18:45:38 -0700 | [diff] [blame] | 11 | vdso_end: |
Andy Lutomirski | 1bdfac1 | 2011-08-03 09:31:49 -0400 | [diff] [blame] | 12 | .align PAGE_SIZE /* extra data here leaks to userspace. */ |
Roland McGrath | d9dedc1 | 2008-04-27 18:45:38 -0700 | [diff] [blame] | 13 | |
Andy Lutomirski | aafade2 | 2011-07-21 15:47:10 -0400 | [diff] [blame] | 14 | .previous |
| 15 | |
| 16 | .globl vdso_pages |
| 17 | .bss |
| 18 | .align 8 |
| 19 | .type vdso_pages, @object |
| 20 | vdso_pages: |
| 21 | .zero (vdso_end - vdso_start + PAGE_SIZE - 1) / PAGE_SIZE * 8 |
| 22 | .size vdso_pages, .-vdso_pages |