diff options
Diffstat (limited to 'arch/um/kernel/uml.lds.S')
-rw-r--r-- | arch/um/kernel/uml.lds.S | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/arch/um/kernel/uml.lds.S b/arch/um/kernel/uml.lds.S index 2ebd39765db8..e7a6cca667aa 100644 --- a/arch/um/kernel/uml.lds.S +++ b/arch/um/kernel/uml.lds.S | |||
@@ -22,11 +22,7 @@ SECTIONS | |||
22 | _text = .; | 22 | _text = .; |
23 | _stext = .; | 23 | _stext = .; |
24 | __init_begin = .; | 24 | __init_begin = .; |
25 | .init.text : { | 25 | INIT_TEXT_SECTION(PAGE_SIZE) |
26 | _sinittext = .; | ||
27 | INIT_TEXT | ||
28 | _einittext = .; | ||
29 | } | ||
30 | . = ALIGN(PAGE_SIZE); | 26 | . = ALIGN(PAGE_SIZE); |
31 | 27 | ||
32 | .text : | 28 | .text : |
@@ -52,8 +48,7 @@ SECTIONS | |||
52 | init.data : { INIT_DATA } | 48 | init.data : { INIT_DATA } |
53 | .data : | 49 | .data : |
54 | { | 50 | { |
55 | . = ALIGN(KERNEL_STACK_SIZE); /* init_task */ | 51 | INIT_TASK_DATA(KERNEL_STACK_SIZE) |
56 | *(.data.init_task) | ||
57 | . = ALIGN(KERNEL_STACK_SIZE); | 52 | . = ALIGN(KERNEL_STACK_SIZE); |
58 | *(.data.init_irqstack) | 53 | *(.data.init_irqstack) |
59 | DATA_DATA | 54 | DATA_DATA |
@@ -81,19 +76,10 @@ SECTIONS | |||
81 | _edata = .; | 76 | _edata = .; |
82 | PROVIDE (edata = .); | 77 | PROVIDE (edata = .); |
83 | . = ALIGN(PAGE_SIZE); | 78 | . = ALIGN(PAGE_SIZE); |
84 | .sbss : | 79 | __bss_start = .; |
85 | { | 80 | PROVIDE(_bss_start = .); |
86 | __bss_start = .; | 81 | SBSS(0) |
87 | PROVIDE(_bss_start = .); | 82 | BSS(0) |
88 | *(.sbss) | ||
89 | *(.scommon) | ||
90 | } | ||
91 | .bss : | ||
92 | { | ||
93 | *(.dynbss) | ||
94 | *(.bss) | ||
95 | *(COMMON) | ||
96 | } | ||
97 | _end = .; | 83 | _end = .; |
98 | PROVIDE (end = .); | 84 | PROVIDE (end = .); |
99 | 85 | ||