Commit b3f87eec authored by Greg Ungerer's avatar Greg Ungerer Committed by Linus Torvalds

[PATCH] fix security_initcall in m68knommu linker script

Global SECURITY_INIT macro cannot be used inside .init section
for m68knommu linker script. It is a complete section of its own,
need to just list the components individually.
parent 7aa647da
...@@ -277,7 +277,9 @@ SECTIONS { ...@@ -277,7 +277,9 @@ SECTIONS {
__con_initcall_start = .; __con_initcall_start = .;
*(.con_initcall.init) *(.con_initcall.init)
__con_initcall_end = .; __con_initcall_end = .;
SECURITY_INIT __security_initcall_start = .;
*(.security_initcall.init)
__security_initcall_end = .;
. = ALIGN(4); . = ALIGN(4);
__initramfs_start = .; __initramfs_start = .;
*(.init.ramfs) *(.init.ramfs)
......
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