parisc: Fix kernel memory layout regarding position of __gp
authorHelge Deller <deller@gmx.de>
Sun, 9 Oct 2016 09:12:34 +0000 (11:12 +0200)
committerHelge Deller <deller@gmx.de>
Sun, 9 Oct 2016 09:12:34 +0000 (11:12 +0200)
commitf8850abb7ba68229838014b3409460e576751c6d
tree9f3f5202fe82a18fc60ba4c766d29c422579537e
parent65bf34f59594c11f13d371c5334a6a0a385cd7ae
parisc: Fix kernel memory layout regarding position of __gp

Architecturally we need to keep __gp below 0x1000000.

But because of ftrace and tracepoint support, the RO_DATA_SECTION now gets much
bigger than it was before. By moving the linkage tables before RO_DATA_SECTION
we can avoid that __gp gets positioned at a too high address.

Cc: stable@vger.kernel.org # 4.4+
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/vmlinux.lds.S