Skip to content

Commit

Permalink
microblaze: Add missing symbols for CONSTRUCTORS support
Browse files Browse the repository at this point in the history
Commit b99b87f 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>
  • Loading branch information
Michal Simek committed Jun 20, 2009
1 parent 20f54c4 commit 05bf7d4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions arch/microblaze/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ SECTIONS {

_sdata = . ;
.data ALIGN (4096) : { /* page aligned when MMU used - origin 0x4 */
*(.data)
DATA_DATA
CONSTRUCTORS
}
. = ALIGN(32);
.data.cacheline_aligned : { *(.data.cacheline_aligned) }
Expand Down Expand Up @@ -98,13 +99,13 @@ SECTIONS {
. = ALIGN(4096);
.init.text : {
_sinittext = . ;
*(.init.text)
*(.exit.text)
*(.exit.data)
INIT_TEXT
_einittext = .;
}

.init.data : { *(.init.data) }
.init.data : {
INIT_DATA
}

. = ALIGN(4);
.init.ivt : {
Expand Down

0 comments on commit 05bf7d4

Please sign in to comment.