diff options
author | Pawel Moll | 2012-12-14 16:46:17 +0100 |
---|---|---|
committer | Russell King | 2012-12-16 10:04:24 +0000 |
commit | dad5451a322bb682704f3ab13a558508a83e0b93 (patch) | |
tree | a24ce7fba9dd29cca649af3fbc43fac16f1f8606 /arch/arm/mach-shmobile/Makefile | |
parent | b8b499c86be58cb309964fcab5b62ac4a240a878 (diff) |
ARM: 7605/1: vmlinux.lds: Move .notes section next to the rodata
The .notes, being read-only data by nature, were placed between
read-write .data and .bss. This was harmful in case of the XIP
kernel, as being placed in the RAM range, most likely far
from the ROM address, was inflating the XIP images.
Moving the .notes at the end of the read-only section
(consisting of .text, .rodata and unwind info) fixes the problem.
Reported-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Pawel Moll <pawel.moll@arm.com>
Tested-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-shmobile/Makefile')
0 files changed, 0 insertions, 0 deletions