Re: [PATCH 2/2] ARM: module: Fix function kallsyms on Thumb-2

2018-11-23 Thread Dave Martin
On Mon, Nov 19, 2018 at 05:25:13PM +0100, Vincent Whitchurch wrote: > Thumb-2 functions have the lowest bit set in the symbol value in the > symtab. When kallsyms are generated for the vmlinux, the kallsyms are > generated from the output of nm, and nm clears the lowest bit. > > $ arm-linux-gnue

[PATCH 2/2] ARM: module: Fix function kallsyms on Thumb-2

2018-11-19 Thread Vincent Whitchurch
Thumb-2 functions have the lowest bit set in the symbol value in the symtab. When kallsyms are generated for the vmlinux, the kallsyms are generated from the output of nm, and nm clears the lowest bit. $ arm-linux-gnueabihf-readelf -a vmlinux | grep show_interrupts 95947: 8015dc89 686 FUNC