s390/vdso: move data page before code pages
[linux-2.6-microblaze.git] / arch / s390 / kernel / vdso64 / vdso64.lds.S
index 7bde390..99063b4 100644 (file)
@@ -13,6 +13,7 @@ ENTRY(_start)
 
 SECTIONS
 {
+       PROVIDE(_vdso_data = . - PAGE_SIZE);
        . = VDSO64_LBASE + SIZEOF_HEADERS;
 
        .hash           : { *(.hash) }                  :text
@@ -94,9 +95,6 @@ SECTIONS
        .debug_ranges   0 : { *(.debug_ranges) }
        .gnu.attributes 0 : { KEEP (*(.gnu.attributes)) }
 
-       . = ALIGN(PAGE_SIZE);
-       PROVIDE(_vdso_data = .);
-
        /DISCARD/       : {
                *(.note.GNU-stack)
                *(.branch_lt)