1
linux/arch
Richard Weinberger 12783aa077 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>
2012-03-25 00:29:57 +01:00
..
alpha alpha: fix 32/64-bit bug in futex support 2012-03-05 15:49:43 -08:00
arm SH/R-Mobile fixes for 3.3-rc. 2012-03-12 22:47:20 -07:00
avr32 avr32: select generic atomic64_t support 2012-02-03 16:16:40 -08:00
blackfin
c6x C6X: remove dead code from entry.S 2012-03-16 09:27:57 -04:00
cris
frv
h8300
hexagon
ia64 Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux 2012-01-18 15:51:48 -08:00
m32r
m68k m68k: Do not set global share for non-kernel shared pages 2012-02-07 11:25:57 +10:00
microblaze Revert "microblaze: Add topology init" 2012-01-31 09:06:52 +01:00
mips MIPS: traps.c: Fix typo 2012-02-20 18:33:20 +01:00
mn10300
openrisc openrisc: Fix up audit_syscall_[entry|exit]() usage 2012-02-17 09:53:12 +01:00
parisc [PARISC] don't unconditionally override CROSS_COMPILE for 64 bit. 2012-02-28 09:39:28 -06:00
powerpc powerpc: Fix various issues with return to userspace 2012-02-22 16:48:53 +11:00
s390 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux 2012-03-01 18:22:55 -08:00
score score: fix off-by-one index into syscall table 2012-01-23 08:38:49 -08:00
sh sh: fix up the ubc clock definition for sh7785. 2012-03-07 15:28:32 +09:00
sparc sparc32: Add -Av8 to assembler command line. 2012-03-13 18:19:51 -07:00
tile arch/tile/configs: convert to minimal configs via "make savedefconfig" 2012-03-14 14:33:16 -04:00
um um: Switch to large mcmodel on x86_64 2012-03-25 00:29:57 +01:00
unicore32
x86 um: allow SUBARCH=x86 2012-03-25 00:29:56 +01:00
xtensa xtensa: fix memscan() 2012-02-03 16:16:40 -08:00
.gitignore
Kconfig