On Mon, 9 Oct 2006 17:59:20 +0100, Thiemo Seufer <ths@xxxxxxxxxxxx> wrote: > > Just for clarification: IIRC this optimization needs somewhat > > up-to-date binutils/gcc and is not enabled on current lmo kernel, > > right? > > For old toolchains there used to be a gruesome hack (which AFAIR broke > at some point), for modern toolchains there's -msym32. Hmm, I found that the -msym32 is enabled if BUILD_ELF64 was not selected, since 2.6.17. But does CONFIG_BUILD_ELF64=n really work for modules? While MAP_BASE is 0xc000000000000000 for most 64-bit platforms, I suppose modules should not be compiled with -msym32. --- Atsushi Nemoto