]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Oct 2016 07:45:20 +0000 (03:45 -0400)
commit5112972e37079b54fbee64d35015d70e28576474
treedd7b3fa2802c09f0dc02a55b160aaa17f06be832
parentc82eadf0401607aea969fcf7d48fe66172d7d995
parisc: Fix kernel memory layout regarding position of __gp

commit f8850abb7ba68229838014b3409460e576751c6d upstream.

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.

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/parisc/kernel/vmlinux.lds.S