diff options
author | Michal Simek <monstr@monstr.eu> | 2009-06-20 12:24:01 (GMT) |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-06-20 12:36:58 (GMT) |
commit | 05bf7d46316df6d12c608feb2a75dd41fc3385ae (patch) | |
tree | 2e4738bbcdf4dffcf1bcca3c64d0ec73899936d5 /arch | |
parent | 20f54c490c6547049d880d3666ebb5b24e234e77 (diff) | |
download | linux-fsl-qoriq-05bf7d46316df6d12c608feb2a75dd41fc3385ae.tar.xz |
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')
-rw-r--r-- | arch/microblaze/kernel/vmlinux.lds.S | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/microblaze/kernel/vmlinux.lds.S b/arch/microblaze/kernel/vmlinux.lds.S index 8ae807a..d34d38d 100644 --- a/arch/microblaze/kernel/vmlinux.lds.S +++ b/arch/microblaze/kernel/vmlinux.lds.S @@ -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) } @@ -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 : { |