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/mips/kernel/vmlinux.lds.S | |
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/mips/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/mips/kernel/vmlinux.lds.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/kernel/vmlinux.lds.S b/arch/mips/kernel/vmlinux.lds.S index 5fc2398bdb76..b5470ceb418b 100644 --- a/arch/mips/kernel/vmlinux.lds.S +++ b/arch/mips/kernel/vmlinux.lds.S | |||
@@ -114,11 +114,11 @@ SECTIONS | |||
114 | __init_begin = .; | 114 | __init_begin = .; |
115 | .init.text : { | 115 | .init.text : { |
116 | _sinittext = .; | 116 | _sinittext = .; |
117 | *(.init.text) | 117 | INIT_TEXT |
118 | _einittext = .; | 118 | _einittext = .; |
119 | } | 119 | } |
120 | .init.data : { | 120 | .init.data : { |
121 | *(.init.data) | 121 | INIT_DATA |
122 | } | 122 | } |
123 | . = ALIGN(16); | 123 | . = ALIGN(16); |
124 | .init.setup : { | 124 | .init.setup : { |
@@ -144,10 +144,10 @@ SECTIONS | |||
144 | * references from .rodata | 144 | * references from .rodata |
145 | */ | 145 | */ |
146 | .exit.text : { | 146 | .exit.text : { |
147 | *(.exit.text) | 147 | EXIT_TEXT |
148 | } | 148 | } |
149 | .exit.data : { | 149 | .exit.data : { |
150 | *(.exit.data) | 150 | EXIT_DATA |
151 | } | 151 | } |
152 | #if defined(CONFIG_BLK_DEV_INITRD) | 152 | #if defined(CONFIG_BLK_DEV_INITRD) |
153 | . = ALIGN(_PAGE_SIZE); | 153 | . = ALIGN(_PAGE_SIZE); |