Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1369320
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Ard Biesheuvel <ard.biesheuvel@linaro.org> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] kallsyms: ignore ARM mode switching veneers |
| Date | Fri, 01 Apr 2016 15:40:01 +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> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=SvU8ocJDRhXDTxOxKWm9T9laJOfBq9ZfKDzLJ/eDLbU=; b=QoGw5/UZmTRDRiy3ZZmfhgexh/2UXWry94GUz9aeQHn8cX1rgLFBiK1IqBwroWy+Kn kk8rGMOwypi+4apaxTEh0PFJDpxOKRYEptkFx3mwC6DjmNPxsqmBHzE1IJjXUF933VXE rM2Zi0wXYBIXW/XruDW2sOrmsOh1wuIf8VF9E= |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=SvU8ocJDRhXDTxOxKWm9T9laJOfBq9ZfKDzLJ/eDLbU=; b=U8CndyTPW6W3XiXmVT6Om5JVmH4FQqwjbiK4p0kiljWxqBxwV79ONxqT1PCB6Qhjw2 gLH3tC50T+zxCzbRJsOInwF/pAtPAOr8pZQld1sZffJOMzzJr9p55ePGfwJ1lLzzeugi zwp5cFUgG6D+2z6lGb4Q3MuFTxXvLorYRuvc65uug0W0jndK/73FMXBKTKT8AhaSfGuk uUoPA/AS4dyPlaMnEJJcpuXR+kPj+Spt9Q4MuYrFvDV1R121VXi3ujpKIRwRI6Y65ToX aR7tCmalDMoAdKT5CyyLx7IF0ayEkDmN5JZ48j80s+YYgSzvvjsgMCuwmKIGcVzKZkPe 4e+g== |
| X-Gm-Message-State | AD7BkJK2TFFQ5n4YkVMhDjU07eOnGviMreoZb024GgQ67sfEBgCK71NYQtv8jCH6gWWx/iCy+V1MASrr2AVrRlBO |
| MIME-Version | 1.0 |
| X-Received | by 10.107.18.214 with SMTP id 83mr4434007ios.130.1459517690121; Fri, 01 Apr 2016 06:34:50 -0700 (PDT) |
| Content-Type | text/plain; charset=UTF-8 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 27 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, Michal Marek <mmarek@suse.cz>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org> |
| X-Original-Date | Fri, 1 Apr 2016 15:34:50 +0200 |
| X-Original-Message-ID | <CAKv+Gu-4SzHjEraV48X=USRRkU6XCO8BK+7bMz78q7J_BbZb7A@mail.gmail.com> |
| X-Original-References | <1456516254-15615-1-git-send-email-ard.biesheuvel@linaro.org> <2625557.ANpx9Yzf9D@wuerfel> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1369320 |
Show key headers only | 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
Re: [PATCH] kallsyms: ignore ARM mode switching veneers Ard Biesheuvel <ard.biesheuvel@linaro.org> - 2016-04-01 15:40 +0200
csiph-web