aboutsummaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2009-06-20 08:24:01 -0400
committerMichal Simek <monstr@monstr.eu>2009-06-20 08:36:58 -0400
commit05bf7d46316df6d12c608feb2a75dd41fc3385ae (patch)
tree2e4738bbcdf4dffcf1bcca3c64d0ec73899936d5 /arch/microblaze
parent20f54c490c6547049d880d3666ebb5b24e234e77 (diff)
microblaze: Add missing symbols for CONSTRUCTORS support
Commit b99b87f70c7785ab1e253c6220f4b0b57ce3a7f7 add CONSTRUCTOR support to Linux but Microblaze not defined KERNEL_CTORS symbols which are used with that patch. This patch fixed it. Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/kernel/vmlinux.lds.S11
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/microblaze/kernel/vmlinux.lds.S b/arch/microblaze/kernel/vmlinux.lds.S
index 8ae807ab7a51..d34d38dcd12c 100644
--- a/arch/microblaze/kernel/vmlinux.lds.S
+++ b/arch/microblaze/kernel/vmlinux.lds.S
@@ -62,7 +62,8 @@ SECTIONS {
62 62
63 _sdata = . ; 63 _sdata = . ;
64 .data ALIGN (4096) : { /* page aligned when MMU used - origin 0x4 */ 64 .data ALIGN (4096) : { /* page aligned when MMU used - origin 0x4 */
65 *(.data) 65 DATA_DATA
66 CONSTRUCTORS
66 } 67 }
67 . = ALIGN(32); 68 . = ALIGN(32);
68 .data.cacheline_aligned : { *(.data.cacheline_aligned) } 69 .data.cacheline_aligned : { *(.data.cacheline_aligned) }
@@ -98,13 +99,13 @@ SECTIONS {
98 . = ALIGN(4096); 99 . = ALIGN(4096);
99 .init.text : { 100 .init.text : {
100 _sinittext = . ; 101 _sinittext = . ;
101 *(.init.text) 102 INIT_TEXT
102 *(.exit.text)
103 *(.exit.data)
104 _einittext = .; 103 _einittext = .;
105 } 104 }
106 105
107 .init.data : { *(.init.data) } 106 .init.data : {
107 INIT_DATA
108 }
108 109
109 . = ALIGN(4); 110 . = ALIGN(4);
110 .init.ivt : { 111 .init.ivt : {