Commit cc1d5f88 authored by Kai Germaschewski's avatar Kai Germaschewski

Move kallsyms section next to other read-only sections

As noted by Keith Owens, for some setups it may make sense to have
all read-only sections grouped together.
parent 5ca983fb
...@@ -29,6 +29,10 @@ SECTIONS ...@@ -29,6 +29,10 @@ SECTIONS
__ksymtab : { *(__ksymtab) } __ksymtab : { *(__ksymtab) }
__stop___ksymtab = .; __stop___ksymtab = .;
__start___kallsyms = .; /* All kernel symbols */
__kallsyms : { *(__kallsyms) }
__stop___kallsyms = .;
.data : { /* Data */ .data : { /* Data */
*(.data) *(.data)
CONSTRUCTORS CONSTRUCTORS
...@@ -77,10 +81,6 @@ SECTIONS ...@@ -77,10 +81,6 @@ SECTIONS
. = ALIGN(32); . = ALIGN(32);
.data.cacheline_aligned : { *(.data.cacheline_aligned) } .data.cacheline_aligned : { *(.data.cacheline_aligned) }
__start___kallsyms = .; /* All kernel symbols */
__kallsyms : { *(__kallsyms) }
__stop___kallsyms = .;
__bss_start = .; /* BSS */ __bss_start = .; /* BSS */
.bss : { *(.bss) } .bss : { *(.bss) }
__bss_stop = .; __bss_stop = .;
......
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