summaryrefslogtreecommitdiff
path: root/ipc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2013-11-30 21:07:51 (GMT)
committerHelge Deller <deller@gmx.de>2013-11-30 21:09:21 (GMT)
commit161bd3bf60ee2c5765455ad3e3da967d03449f4a (patch)
tree5287e2c53bdc876b7bf2660237dc926efcb50d9c /ipc
parentc790b41bac83512dc67da89b582daa6f4e1fab07 (diff)
downloadlinux-161bd3bf60ee2c5765455ad3e3da967d03449f4a.tar.xz
parisc: fix kernel memory layout in vmlinux.ld.S
When building a 64bit kernel sometimes functions in the .init section were not able to reach the standard kernel function. Main reason for this problem is, that the linkage tables (.plt, .opd, .dlt) tend to become pretty huge and thus the distance gets too big for short calls. One option to avoid this is to use the -mlong-calls compiler option, but this increases the binary size and introduces a performance penalty. Instead, with this patch we just lay out the binary differently. Init code is stored first, followed by text, R/O and finally R/W data. This means, that init and text code is now much closer to each other, which is sufficient to reach each other by short calls. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions