diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-05-17 13:38:44 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-05-19 09:11:57 +0200 |
commit | ca967258b69eb65dcb07bbab90fdf964c6d2ec45 (patch) | |
tree | e02acc9e830fd76e411f742ac39a7c359d7e5ba9 /arch/um/kernel | |
parent | 7664709b44a13e2e0b545e2dd8e7b8797a1748dc (diff) | |
download | blackbird-op-linux-ca967258b69eb65dcb07bbab90fdf964c6d2ec45.tar.gz blackbird-op-linux-ca967258b69eb65dcb07bbab90fdf964c6d2ec45.zip |
all-archs: consolidate .data section definition in asm-generic
With this consolidation we can now modify the .data
section definition in one spot for all archs.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/um/kernel')
-rw-r--r-- | arch/um/kernel/dyn.lds.S | 3 | ||||
-rw-r--r-- | arch/um/kernel/uml.lds.S | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arch/um/kernel/dyn.lds.S b/arch/um/kernel/dyn.lds.S index ec8477d0feb3..24547741b205 100644 --- a/arch/um/kernel/dyn.lds.S +++ b/arch/um/kernel/dyn.lds.S @@ -99,7 +99,8 @@ SECTIONS *(.data.init_task) . = ALIGN(KERNEL_STACK_SIZE); *(.data.init_irqstack) - *(.data .data.* .gnu.linkonce.d.*) + DATA_DATA + *(.data.* .gnu.linkonce.d.*) SORT(CONSTRUCTORS) } .data1 : { *(.data1) } diff --git a/arch/um/kernel/uml.lds.S b/arch/um/kernel/uml.lds.S index 84351059c356..307b9373676b 100644 --- a/arch/um/kernel/uml.lds.S +++ b/arch/um/kernel/uml.lds.S @@ -61,7 +61,7 @@ SECTIONS *(.data.init_task) . = ALIGN(KERNEL_STACK_SIZE); *(.data.init_irqstack) - *(.data) + DATA_DATA *(.gnu.linkonce.d*) CONSTRUCTORS } |