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/frv | |
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/frv')
-rw-r--r-- | arch/frv/kernel/vmlinux.lds.S | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/frv/kernel/vmlinux.lds.S b/arch/frv/kernel/vmlinux.lds.S index a17a81d58bf6..f42b328b1dd0 100644 --- a/arch/frv/kernel/vmlinux.lds.S +++ b/arch/frv/kernel/vmlinux.lds.S | |||
@@ -28,14 +28,14 @@ SECTIONS | |||
28 | .init.text : { | 28 | .init.text : { |
29 | *(.text.head) | 29 | *(.text.head) |
30 | #ifndef CONFIG_DEBUG_INFO | 30 | #ifndef CONFIG_DEBUG_INFO |
31 | *(.init.text) | 31 | INIT_TEXT |
32 | *(.exit.text) | 32 | EXIT_TEXT |
33 | *(.exit.data) | 33 | EXIT_DATA |
34 | *(.exitcall.exit) | 34 | *(.exitcall.exit) |
35 | #endif | 35 | #endif |
36 | } | 36 | } |
37 | _einittext = .; | 37 | _einittext = .; |
38 | .init.data : { *(.init.data) } | 38 | .init.data : { INIT_DATA } |
39 | 39 | ||
40 | . = ALIGN(8); | 40 | . = ALIGN(8); |
41 | __setup_start = .; | 41 | __setup_start = .; |
@@ -106,8 +106,8 @@ SECTIONS | |||
106 | LOCK_TEXT | 106 | LOCK_TEXT |
107 | #ifdef CONFIG_DEBUG_INFO | 107 | #ifdef CONFIG_DEBUG_INFO |
108 | *( | 108 | *( |
109 | .init.text | 109 | INIT_TEXT |
110 | .exit.text | 110 | EXIT_TEXT |
111 | .exitcall.exit | 111 | .exitcall.exit |
112 | ) | 112 | ) |
113 | #endif | 113 | #endif |
@@ -138,7 +138,7 @@ SECTIONS | |||
138 | .data : { /* Data */ | 138 | .data : { /* Data */ |
139 | DATA_DATA | 139 | DATA_DATA |
140 | *(.data.*) | 140 | *(.data.*) |
141 | *(.exit.data) | 141 | EXIT_DATA |
142 | CONSTRUCTORS | 142 | CONSTRUCTORS |
143 | } | 143 | } |
144 | 144 | ||