[lkml]   [2019]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2 03/16] scripts/kallsyms: shrink table before sorting it

On Sat, Nov 23, 2019 at 8:05 AM Masahiro Yamada
<> wrote:
> Currently, build_initial_tok_table() trims unused symbols, which is
> called after sort_symbol().
> It is not efficient to sort the huge table that contains unused entries.
> Shrink the table before sorting it.
> Signed-off-by: Masahiro Yamada <>

This started showing warnings on some 32-bit ARM platforms, due to
kallsyms_relative_base changing:

- PTR _text - 0
+ PTR _text - 0xfffffffffffffe20

The assembler started complaining:

.tmp_kallsyms1.S: Assembler messages:
.tmp_kallsyms1.S:15315: Warning: right operand is a bignum; integer 0 assumed

Also, I clearly see different output with this patch reverted and
applied; I would expect no actual difference if it was correct.

Can we please revert this for 5.5 while this is being sorted out?

To reproduce, build for example am200epdkit_defconfig for ARCH=arm. I
see it with GCC 8.2.0, binutils 2.30.0.



 \ /
  Last update: 2019-12-07 23:20    [W:0.106 / U:3.728 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site