[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAKv+Gu-4SzHjEraV48X=USRRkU6XCO8BK+7bMz78q7J_BbZb7A@mail.gmail.com>
Date: Fri, 1 Apr 2016 15:34:50 +0200
From: Ard Biesheuvel <ard.biesheuvel@...aro.org>
To: Arnd Bergmann <arnd@...db.de>,
Russell King - ARM Linux <linux@....linux.org.uk>
Cc: "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Michal Marek <mmarek@...e.cz>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] kallsyms: ignore ARM mode switching veneers
On 26 February 2016 at 21:21, Arnd Bergmann <arnd@...db.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@...db.de>
>> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@...aro.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@...db.de>
>
Added to the patch tracker as #8555
Powered by blists - more mailing lists