diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-01-20 08:15:03 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-01-28 17:21:17 -0500 |
commit | 01ba2bdc6b639764745ff678caf3fb9e5bcd745a (patch) | |
tree | c6e7f1925687485c331189a2d55ff4f2bb0a09df /arch/parisc/kernel | |
parent | 6c5bd235bfd0b92188915465c7dfb377c1a4d451 (diff) |
all archs: consolidate init and exit sections in vmlinux.lds.h
This patch consolidate all definitions of .init.text, .init.data
and .exit.text, .exit.data section definitions in
the generic vmlinux.lds.h.
This is a preparational patch - alone it does not buy
us much good.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/parisc/kernel')
-rw-r--r-- | arch/parisc/kernel/vmlinux.lds.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/parisc/kernel/vmlinux.lds.S b/arch/parisc/kernel/vmlinux.lds.S index 40d0ff9b81ab..50b4a3a25d0a 100644 --- a/arch/parisc/kernel/vmlinux.lds.S +++ b/arch/parisc/kernel/vmlinux.lds.S | |||
@@ -172,11 +172,11 @@ SECTIONS | |||
172 | __init_begin = .; | 172 | __init_begin = .; |
173 | .init.text : { | 173 | .init.text : { |
174 | _sinittext = .; | 174 | _sinittext = .; |
175 | *(.init.text) | 175 | INIT_TEXT |
176 | _einittext = .; | 176 | _einittext = .; |
177 | } | 177 | } |
178 | .init.data : { | 178 | .init.data : { |
179 | *(.init.data) | 179 | INIT_DATA |
180 | } | 180 | } |
181 | . = ALIGN(16); | 181 | . = ALIGN(16); |
182 | .init.setup : { | 182 | .init.setup : { |
@@ -215,10 +215,10 @@ SECTIONS | |||
215 | * from .altinstructions and .eh_frame | 215 | * from .altinstructions and .eh_frame |
216 | */ | 216 | */ |
217 | .exit.text : { | 217 | .exit.text : { |
218 | *(.exit.text) | 218 | EXIT_TEXT |
219 | } | 219 | } |
220 | .exit.data : { | 220 | .exit.data : { |
221 | *(.exit.data) | 221 | EXIT_DATA |
222 | } | 222 | } |
223 | #ifdef CONFIG_BLK_DEV_INITRD | 223 | #ifdef CONFIG_BLK_DEV_INITRD |
224 | . = ALIGN(PAGE_SIZE); | 224 | . = ALIGN(PAGE_SIZE); |