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/m68k/kernel/vmlinux-sun3.lds | |
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/m68k/kernel/vmlinux-sun3.lds')
-rw-r--r-- | arch/m68k/kernel/vmlinux-sun3.lds | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/m68k/kernel/vmlinux-sun3.lds b/arch/m68k/kernel/vmlinux-sun3.lds index 4adffefb5c48..cdc313e7c299 100644 --- a/arch/m68k/kernel/vmlinux-sun3.lds +++ b/arch/m68k/kernel/vmlinux-sun3.lds | |||
@@ -38,10 +38,10 @@ SECTIONS | |||
38 | __init_begin = .; | 38 | __init_begin = .; |
39 | .init.text : { | 39 | .init.text : { |
40 | _sinittext = .; | 40 | _sinittext = .; |
41 | *(.init.text) | 41 | INIT_TEXT |
42 | _einittext = .; | 42 | _einittext = .; |
43 | } | 43 | } |
44 | .init.data : { *(.init.data) } | 44 | .init.data : { INIT_DATA } |
45 | . = ALIGN(16); | 45 | . = ALIGN(16); |
46 | __setup_start = .; | 46 | __setup_start = .; |
47 | .init.setup : { *(.init.setup) } | 47 | .init.setup : { *(.init.setup) } |
@@ -77,8 +77,8 @@ __init_begin = .; | |||
77 | 77 | ||
78 | /* Sections to be discarded */ | 78 | /* Sections to be discarded */ |
79 | /DISCARD/ : { | 79 | /DISCARD/ : { |
80 | *(.exit.text) | 80 | EXIT_TEXT |
81 | *(.exit.data) | 81 | EXIT_DATA |
82 | *(.exitcall.exit) | 82 | *(.exitcall.exit) |
83 | } | 83 | } |
84 | 84 | ||