H. J. Lu | 1a21d4e | 2012-02-19 11:38:06 -0800 | [diff] [blame] | 1 | #include <asm/page_types.h> |
| 2 | #include <linux/linkage.h> |
H. J. Lu | 1a21d4e | 2012-02-19 11:38:06 -0800 | [diff] [blame] | 3 | |
| 4 | __PAGE_ALIGNED_DATA |
| 5 | |
| 6 | .globl vdsox32_start, vdsox32_end |
| 7 | .align PAGE_SIZE |
| 8 | vdsox32_start: |
| 9 | .incbin "arch/x86/vdso/vdsox32.so" |
| 10 | vdsox32_end: |
| 11 | .align PAGE_SIZE /* extra data here leaks to userspace. */ |
| 12 | |
| 13 | .previous |
| 14 | |
| 15 | .globl vdsox32_pages |
| 16 | .bss |
| 17 | .align 8 |
| 18 | .type vdsox32_pages, @object |
| 19 | vdsox32_pages: |
| 20 | .zero (vdsox32_end - vdsox32_start + PAGE_SIZE - 1) / PAGE_SIZE * 8 |
| 21 | .size vdsox32_pages, .-vdsox32_pages |