summaryrefslogtreecommitdiffstats
path: root/arch/arm/kernel/vmlinux-xip.lds.S
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2017-08-29 16:33:57 -0400
committerNicolas Pitre <nicolas.pitre@linaro.org>2017-09-10 19:34:52 -0400
commit861e37da6a06c867b51528066cad84c0fb90cc0c (patch)
treec35a624a1ec38a6bcb6cead49134024c4fc83cf3 /arch/arm/kernel/vmlinux-xip.lds.S
parent88cac29f42b107fe340a4b8c255bcc3a0cc2f858 (diff)
downloadop-kernel-dev-861e37da6a06c867b51528066cad84c0fb90cc0c.zip
op-kernel-dev-861e37da6a06c867b51528066cad84c0fb90cc0c.tar.gz
ARM: vmlinux.lds.S: replace open coded .data sections with generic macros
Our .data section is missing PAGE_ALIGNED_DATA() which contains, amongst other things, the vdso page. This creates a System.map that looks like this: c15769a8 D _edata c1577000 d vdso_data_store c1578000 D __start___bug_table c1580544 D __stop___bug_table c1580544 B __bss_start By using RW_DATA_SECTION() we pick whatever generic sections might be added in the future and have page-aligned data next to other strongly aligned data. Furthermore we now include the entire thing, including the bug table, in the data accounting surrounded by _sdata/_edata. While at it let's also remplace the open coded .init.data by its equivalent INIT_DATA_SECTION(). Signed-off-by: Nicolas Pitre <nico@linaro.org> Acked-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Tested-by: Chris Brandt <Chris.Brandt@renesas.com>
Diffstat (limited to 'arch/arm/kernel/vmlinux-xip.lds.S')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud