arm64: move elf notes into readonly segment
authorMark Salter <msalter@redhat.com>
Fri, 23 Aug 2013 15:16:42 +0000 (16:16 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 27 Aug 2013 16:34:09 +0000 (17:34 +0100)
commitc80b7ee8520606f77fbc8ced870c96659053269e
tree75d31777b2da73b34ba3bdc201396bf14e86727c
parent2600e130b3c90c8d6c13229d3d3a14dcb898a87b
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>
arch/arm64/kernel/vmlinux.lds.S