summaryrefslogtreecommitdiff
path: root/fs/hostfs
diff options
context:
space:
mode:
authorRichard Weinberger <richard@nod.at>2012-01-24 23:09:12 +0400
committerRichard Weinberger <richard@nod.at>2012-03-25 03:29:57 +0400
commit12783aa077f81e0dcf1b2f97ed24440048e9f09d (patch)
tree648810a36028675185f024ff791b7c9f7b95d815 /fs/hostfs
parent9310da0bbb826f8b6ed49a5f93092f8452820da0 (diff)
downloadlinux-12783aa077f81e0dcf1b2f97ed24440048e9f09d.tar.xz
um: Switch to large mcmodel on x86_64
x86_64 UML is unable to load modules if more than 504MiB of memory are used. This happens because on x86_64 the UML process has a quite high start address (typically around 0x6000000). If UML's memory is larger than 504MiB VMALLOC_START happens to be after 0x8000000. This is no problem unless one loads a module which was built with R_X86_64_32S relocations. Symbols with a location > 0x8000000 cannot be used with R_X86_64_32S To deal with this x86_64 UML has to be compiled with -mcmodel=large such that no R_X86_64_32S relocations are used. Signed-off-by: Richard Weinberger <richard@nod.at> Reported-by: 전하늘 <allskyee@gmail.com>
Diffstat (limited to 'fs/hostfs')
0 files changed, 0 insertions, 0 deletions