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)
commitef46fb40a305a2cd9462268f0257268f99768dcd
tree606ca2fd87e5b8d06148368d588f80a3f77cf12c
parent526b1cd3b8841290a2c2002aa8931bbb9bf36396
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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16772 3c298f89-4303-0410-b956-a3cf2f4a3e73
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]