]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/um/kernel/uml.lds.S
uml: fix linker script alignment bugs
[karo-tx-linux.git] / arch / um / kernel / uml.lds.S
index 307b9373676b2f4d0ae49374df6b47292fb4c53c..81acdc24348ee7fbf3ca2a53032abd69315647e5 100644 (file)
@@ -44,12 +44,13 @@ SECTIONS
     /* .gnu.warning sections are handled specially by elf32.em.  */
     *(.gnu.warning)
     *(.gnu.linkonce.t*)
+  }
 
-    . = ALIGN(4096);
-    __syscall_stub_start = .;
-    *(.__syscall_stub*)
-    __syscall_stub_end = .;
-    . = ALIGN(4096);
+  . = ALIGN(4096);
+  .syscall_stub : {
+       __syscall_stub_start = .;
+       *(.__syscall_stub*)
+       __syscall_stub_end = .;
   }
 
   #include "asm/common.lds.S"