Felix Fietkau
20bcf08698
kernel: fix plt fixup related crashes when loading kernel modules on mips, (happened when there was not enough physically contiguous memory available)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-20 04:41:10 +00:00
Hauke Mehrtens
42c06e3af6
refresh patches
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-15 08:37:45 +00:00
Florian Fainelli
e52728c0b8
[kernel] make 64-bits MIPS kernel compile again on arch/mips/kernel/module.c
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-08-06 14:06:26 +00:00
Felix Fietkau
8b9f267d32
mips: fix another bug in the module relocation change: the wrong base address for 24 bit jump -> long jump fixup table was used
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-18 22:28:46 +00:00
Felix Fietkau
fd51a8712a
kernel: fix a relative addressing bug in the mips module relocation code change
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-07-13 15:09:46 +00:00
Felix Fietkau
ef46fb40a3
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
2009-07-11 02:30:25 +00:00