linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / arch / um / kernel / uml.lds.S
index 8eca47a..af11915 100644 (file)
@@ -7,17 +7,14 @@ jiffies = jiffies_64;
 
 SECTIONS
 {
-  /* This must contain the right address - not quite the default ELF one.*/
+  /*This must contain the right address - not quite the default ELF one.*/
   PROVIDE (__executable_start = START);
-  /* Static binaries stick stuff here, like the sigreturn trampoline,
-   * invisibly to objdump.  So, just make __binary_start equal to the very
-   * beginning of the executable, and if there are unmapped pages after this,
-   * they are forever unusable.
-   */
-  __binary_start = START;
-
   . = START + SIZEOF_HEADERS;
 
+  /* Used in arch/um/kernel/mem.c. Any memory between START and __binary_start
+   * is remapped.*/
+  __binary_start = .;
+
 #ifdef MODE_TT
   .remap_data : { UNMAP_PATH (.data .bss) }
   .remap : { UNMAP_PATH (.text) }