mips: replace -mlong-calls with -mno-long-calls to make function calls faster in...
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 11 Jul 2009 02:30:25 +0000 (02:30 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 11 Jul 2009 02:30:25 +0000 (02:30 +0000)
commita9dafde4e393e0067043a5adb7cf37d3a4a6f3d2
tree606ca2fd87e5b8d06148368d588f80a3f77cf12c
parent755f396893e9738c1588594c05a68d120cf82d72
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]