Commit 05bf7d46 authored by Michal Simek's avatar Michal Simek

microblaze: Add missing symbols for CONSTRUCTORS support

Commit b99b87f7 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: default avatarMichal Simek <monstr@monstr.eu>
parent 20f54c49
...@@ -62,7 +62,8 @@ SECTIONS { ...@@ -62,7 +62,8 @@ SECTIONS {
_sdata = . ; _sdata = . ;
.data ALIGN (4096) : { /* page aligned when MMU used - origin 0x4 */ .data ALIGN (4096) : { /* page aligned when MMU used - origin 0x4 */
*(.data) DATA_DATA
CONSTRUCTORS
} }
. = ALIGN(32); . = ALIGN(32);
.data.cacheline_aligned : { *(.data.cacheline_aligned) } .data.cacheline_aligned : { *(.data.cacheline_aligned) }
...@@ -98,13 +99,13 @@ SECTIONS { ...@@ -98,13 +99,13 @@ SECTIONS {
. = ALIGN(4096); . = ALIGN(4096);
.init.text : { .init.text : {
_sinittext = . ; _sinittext = . ;
*(.init.text) INIT_TEXT
*(.exit.text)
*(.exit.data)
_einittext = .; _einittext = .;
} }
.init.data : { *(.init.data) } .init.data : {
INIT_DATA
}
. = ALIGN(4); . = ALIGN(4);
.init.ivt : { .init.ivt : {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment