arm64: move elf notes into readonly segment
authorMark Salter <msalter@redhat.com>
Fri, 23 Aug 2013 15:16:42 +0000 (16:16 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 15 May 2014 18:59:56 +0000 (19:59 +0100)
commit60d914ababfa53c35bf92b6be1921f265e535ab6
tree236d2edfc98eb5d5388dc69178078047e17a52e1
parent0195e1c67cd4b47ed4c2dbd0a94e69543121e0f0
arm64: move elf notes into readonly segment

The current vmlinux.lds.S places the notes sections between the
end of rw data and start of bss. This means that _edata doesn't
really point to the end of data. Since notes are read-only, this
patch moves them to the read-only segment so that _edata does
point to the end of initialized rw data.

Signed-off-by: Mark Salter <msalter@redhat.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit c80b7ee8520606f77fbc8ced870c96659053269e)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/kernel/vmlinux.lds.S