[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOesGMiY65jqo985p_AjLJiXUCFq8AmHMA3xx0LvNwNfjUW-OQ@mail.gmail.com>
Date: Sat, 7 Dec 2019 14:19:17 -0800
From: Olof Johansson <olof@...om.net>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>
Cc: linux-kbuild@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 03/16] scripts/kallsyms: shrink table before sorting it
Hi,
On Sat, Nov 23, 2019 at 8:05 AM Masahiro Yamada
<yamada.masahiro@...ionext.com> 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 <yamada.masahiro@...ionext.com>
This started showing warnings on some 32-bit ARM platforms, due to
kallsyms_relative_base changing:
kallsyms_relative_base:
- 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.
Thanks,
-Olof
Powered by blists - more mailing lists