X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fum%2Fkernel%2Fuml.lds.S;h=13df191e2b41e6b66fe6c3668b5daa689dada71a;hb=bb40784f4aeae7b9d70c49b422f78ffdfc539739;hp=307b9373676b2f4d0ae49374df6b47292fb4c53c;hpb=08f3dfe8c4b91189890019d307aad236c3633515;p=linux-2.6 diff --git a/arch/um/kernel/uml.lds.S b/arch/um/kernel/uml.lds.S index 307b937367..13df191e2b 100644 --- a/arch/um/kernel/uml.lds.S +++ b/arch/um/kernel/uml.lds.S @@ -18,13 +18,6 @@ SECTIONS . = START + SIZEOF_HEADERS; -#ifdef MODE_TT - .remap_data : { UNMAP_PATH (.data .bss) } - .remap : { UNMAP_PATH (.text) } - - . = ALIGN(4096); /* Init code and data */ -#endif - _text = .; _stext = .; __init_begin = .; @@ -44,12 +37,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"