Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1369320

Re: [PATCH] kallsyms: ignore ARM mode switching veneers

From Ard Biesheuvel <ard.biesheuvel@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] kallsyms: ignore ARM mode switching veneers
Date 2016-04-01 15:40 +0200
Message-ID <rj7sR-4YN-1@gated-at.bofh.it> (permalink)
References <r6wIq-8ao-19@gated-at.bofh.it> <r6xbr-aO-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 26 February 2016 at 21:21, Arnd Bergmann <arnd@arndb.de> wrote:
> On Friday 26 February 2016 20:50:54 Ard Biesheuvel wrote:
>> On ARM, the linker may emit veneers to deal with relative branch
>> instructions that appear too far away from their targets. Since the second
>> kallsyms pass results in an increase of the kernel size, it may result in
>> additional veneers to be emitted, potentially affecting the output of
>> kallsyms itself if these symbols are visible to it, and for that reason,
>> symbols whose names end in '_veneer' are ignored explicitly.
>>
>> However, when building Thumb2 kernels, such veneers are named differently
>> if they also incur a mode switch, and since they are not filtered by
>> kallsyms, they may cause the build to fail. So filter symbols whose names
>> end in '_from_arm' or '_from_thumb' as well.
>>
>> Cc: Arnd Bergmann <arnd@arndb.de>
>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
>
>
> Thanks again for debugging this!
>
> I have two (randconfig) configurations that ran into this problem, and they
> are both with your patch
>
> Tested-by: Arnd Bergmann <arnd@arndb.de>
>

Added to the patch tracker as #8555

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] kallsyms: ignore ARM mode switching veneers Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-04-01 15:40 +0200

csiph-web