diff options
author | Helge Deller <deller@gmx.de> | 2013-04-23 21:29:03 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2013-04-25 22:36:50 +0200 |
commit | cf71130d630d773ef1861adbd8a034d3ac806f3e (patch) | |
tree | cd8ab57378addb029c980820adc0e61b0404ff43 /arch/parisc/include | |
parent | 0f28b62890097cb8732581a80f0a47fd7649df7d (diff) |
parisc: disable -mlong-calls compiler option for kernel modules
CONFIG_MLONGCALLS was introduced in commit
ec758f98328da3eb933a25dc7a2eed01ef44d849 to overcome linker issues when linking
huge linux kernels, e.g. with many modules linked in.
But in the kernel module loader there is no support yet for the new relocation
types, which is why modules built with -mlong-calls can't be loaded.
Furthermore, for modules long calls are not really necessary, since we already
use stub sections which resolve long distance calls.
So, let's just disable this compiler option when compiling kernel modules.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/include')
0 files changed, 0 insertions, 0 deletions