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/sparc64/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/sparc64/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/sparc64/kernel/vmlinux.lds.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/vmlinux.lds.S b/arch/sparc64/kernel/vmlinux.lds.S index 9fcd503bc04a..01f809617e5e 100644 --- a/arch/sparc64/kernel/vmlinux.lds.S +++ b/arch/sparc64/kernel/vmlinux.lds.S | |||
@@ -56,11 +56,11 @@ SECTIONS | |||
56 | .init.text : { | 56 | .init.text : { |
57 | __init_begin = .; | 57 | __init_begin = .; |
58 | _sinittext = .; | 58 | _sinittext = .; |
59 | *(.init.text) | 59 | INIT_TEXT |
60 | _einittext = .; | 60 | _einittext = .; |
61 | } | 61 | } |
62 | .init.data : { | 62 | .init.data : { |
63 | *(.init.data) | 63 | INIT_DATA |
64 | } | 64 | } |
65 | . = ALIGN(16); | 65 | . = ALIGN(16); |
66 | .init.setup : { | 66 | .init.setup : { |
@@ -137,8 +137,8 @@ SECTIONS | |||
137 | PROVIDE (end = .); | 137 | PROVIDE (end = .); |
138 | 138 | ||
139 | /DISCARD/ : { | 139 | /DISCARD/ : { |
140 | *(.exit.text) | 140 | EXIT_TEXT |
141 | *(.exit.data) | 141 | EXIT_DATA |
142 | *(.exitcall.exit) | 142 | *(.exitcall.exit) |
143 | } | 143 | } |
144 | 144 | ||