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/v850/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/v850/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/v850/kernel/vmlinux.lds.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/v850/kernel/vmlinux.lds.S b/arch/v850/kernel/vmlinux.lds.S index 6172599b4ce2..d08cd1d27f27 100644 --- a/arch/v850/kernel/vmlinux.lds.S +++ b/arch/v850/kernel/vmlinux.lds.S | |||
@@ -114,7 +114,7 @@ | |||
114 | #define DATA_CONTENTS \ | 114 | #define DATA_CONTENTS \ |
115 | __sdata = . ; \ | 115 | __sdata = . ; \ |
116 | DATA_DATA \ | 116 | DATA_DATA \ |
117 | *(.exit.data) /* 2.5 convention */ \ | 117 | EXIT_DATA /* 2.5 convention */ \ |
118 | *(.data.exit) /* 2.4 convention */ \ | 118 | *(.data.exit) /* 2.4 convention */ \ |
119 | . = ALIGN (16) ; \ | 119 | . = ALIGN (16) ; \ |
120 | *(.data.cacheline_aligned) \ | 120 | *(.data.cacheline_aligned) \ |
@@ -157,9 +157,9 @@ | |||
157 | . = ALIGN (4096) ; \ | 157 | . = ALIGN (4096) ; \ |
158 | __init_start = . ; \ | 158 | __init_start = . ; \ |
159 | __sinittext = .; \ | 159 | __sinittext = .; \ |
160 | *(.init.text) /* 2.5 convention */ \ | 160 | INIT_TEXT /* 2.5 convention */ \ |
161 | __einittext = .; \ | 161 | __einittext = .; \ |
162 | *(.init.data) \ | 162 | INIT_DATA \ |
163 | *(.text.init) /* 2.4 convention */ \ | 163 | *(.text.init) /* 2.4 convention */ \ |
164 | *(.data.init) \ | 164 | *(.data.init) \ |
165 | INITCALL_CONTENTS \ | 165 | INITCALL_CONTENTS \ |
@@ -170,7 +170,7 @@ | |||
170 | #define ROMK_INIT_RAM_CONTENTS \ | 170 | #define ROMK_INIT_RAM_CONTENTS \ |
171 | . = ALIGN (4096) ; \ | 171 | . = ALIGN (4096) ; \ |
172 | __init_start = . ; \ | 172 | __init_start = . ; \ |
173 | *(.init.data) /* 2.5 convention */ \ | 173 | INIT_DATA /* 2.5 convention */ \ |
174 | *(.data.init) /* 2.4 convention */ \ | 174 | *(.data.init) /* 2.4 convention */ \ |
175 | __init_end = . ; \ | 175 | __init_end = . ; \ |
176 | . = ALIGN (4096) ; | 176 | . = ALIGN (4096) ; |
@@ -179,7 +179,7 @@ | |||
179 | should go into ROM. */ | 179 | should go into ROM. */ |
180 | #define ROMK_INIT_ROM_CONTENTS \ | 180 | #define ROMK_INIT_ROM_CONTENTS \ |
181 | _sinittext = .; \ | 181 | _sinittext = .; \ |
182 | *(.init.text) /* 2.5 convention */ \ | 182 | INIT_TEXT /* 2.5 convention */ \ |
183 | _einittext = .; \ | 183 | _einittext = .; \ |
184 | *(.text.init) /* 2.4 convention */ \ | 184 | *(.text.init) /* 2.4 convention */ \ |
185 | INITCALL_CONTENTS \ | 185 | INITCALL_CONTENTS \ |