Re: kmod: depmod: fix builtin symbols resolution when the prefix symbol is set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 27, 2012 at 1:56 PM, Andrey Mazo <mazo@xxxxxxxx> wrote:
> Hi list,
>
> Should I provide more detailed information on the problem that the patch
> solves?
>
> In short, I just run
> depmod -ae -F System.map -P _
> on modules and kernel cross-compiled for Blackfin
> and see lots of undefined symbols, which are in fact defined by the kernel.
>
> For example,
> WARNING: module.ko needs unknown symbol _memcpy
> WARNING: module.ko needs unknown symbol _printk
> WARNING: module.ko needs unknown symbol ___kmalloc
>
> This is because all symbols are prefixed with _ for Blackfin and kmod's
> depmod handles -P switch incorrectly.

sorry for the delay. I didn't apply it at the first look because I
really don't like that bool parameter. However as you pointed out,
this patch solves a real problem. It's applied now. Thanks.

Lucas De Marchi
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux