X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=arch%2Fum%2Fkernel%2Fuml.lds.S;fp=arch%2Fum%2Fkernel%2Fuml.lds.S;h=af11915ce0a8ca5155dad601c853b138f250277a;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=8eca47a6ff082f171d76777ebb46d2601c282dcf;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/arch/um/kernel/uml.lds.S b/arch/um/kernel/uml.lds.S index 8eca47a6f..af11915ce 100644 --- a/arch/um/kernel/uml.lds.S +++ b/arch/um/kernel/uml.lds.S @@ -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) }