[RFC] MIPS: initial modules support

Sascha Hauer s.hauer at pengutronix.de
Fri May 11 03:24:25 EDT 2012


On Thu, May 10, 2012 at 01:33:42PM +0400, Antony Pavlov wrote:
> This code does not work correctly.
> 
> insmod got unaligned access exception during apply_r_mips_32_rel

I can't say much to this patch, it looks sane. Of course it should work
before applying it ;)

> +static int apply_r_mips_32_rel(struct module *me, u32 *location, Elf_Addr v)
> +{
> +	pr_debug("apply_r_mips_32_rel: locatio = %p, v = %08x\n", location, v);

s/locatio/location/

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list