mips: replace -mlong-calls with -mno-long-calls to make function calls faster in...
authorFelix Fietkau <nbd@openwrt.org>
Sat, 11 Jul 2009 02:30:25 +0000 (02:30 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 11 Jul 2009 02:30:25 +0000 (02:30 +0000)
commit817a4cf8453379387544ff5423a9dd311602240e
tree606ca2fd87e5b8d06148368d588f80a3f77cf12c
parent7856d4e07835337fc59ba2d5a1254846705f5e17
mips: replace -mlong-calls with -mno-long-calls to make function calls faster in kernel modules
to achieve this, try to load kernel modules to KSEG0 and if that doesn't work, use vmalloc and fix up relocations with a jump table
based on code from a kernel patch by MikroTik

SVN-Revision: 16772
target/linux/generic-2.6/patches-2.6.28/026-mips_module_reloc.patch [new file with mode: 0644]
target/linux/generic-2.6/patches-2.6.30/027-mips_module_reloc.patch [new file with mode: 0644]