[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210524080309.GK2549456@dell>
Date: Mon, 24 May 2021 09:03:09 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>,
clang-built-linux <clang-built-linux@...glegroups.com>,
Fangrui Song <maskray@...gle.com>,
Elliot Berman <eberman@...cinc.com>,
Sami Tolvanen <samitolvanen@...gle.com>,
Peter Collingbourne <pcc@...gle.com>,
Michal Marek <michal.lkml@...kovi.net>,
linux-kbuild <linux-kbuild@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Makefile: fix GDB warning with CONFIG_RELR
On Sat, 22 May 2021, Masahiro Yamada wrote:
> On Fri, May 21, 2021 at 6:36 PM Lee Jones <lee.jones@...aro.org> wrote:
> >
> > On Tue, 23 Mar 2021 at 19:06, Nathan Chancellor <nathan@...nel.org> wrote:
> >>
> >> On Thu, Mar 18, 2021 at 05:07:06PM -0700, Nick Desaulniers wrote:
> >> > GDB produces the following warning when debugging kernels built with
> >> > CONFIG_RELR:
> >> >
> >> > BFD: /android0/linux-next/vmlinux: unknown type [0x13] section `.relr.dyn'
> >> >
> >> > when loading a kernel built with CONFIG_RELR into GDB. It can also
> >> > prevent debugging symbols using such relocations.
> >> >
> >> > Peter sugguests:
> >> > [That flag] means that lld will use dynamic tags and section type
> >> > numbers in the OS-specific range rather than the generic range. The
> >> > kernel itself doesn't care about these numbers; it determines the
> >> > location of the RELR section using symbols defined by a linker script.
> >> >
> >> > Link: https://github.com/ClangBuiltLinux/linux/issues/1057
> >> > Suggested-by: Peter Collingbourne <pcc@...gle.com>
> >> > Signed-off-by: Nick Desaulniers <ndesaulniers@...gle.com>
> >>
> >> Reviewed-by: Nathan Chancellor <nathan@...nel.org>
> >
> >
> > Masahiro,
> >
> > Would you mind sharing your plans for this reviewed patch please?
>
>
> Do you want me to pick up this?
>
> Or, do you think it should be done by the committer of
> 5cf896fb6be3effd9aea455b22213e27be8bdb1d ?
Not sure it matters a whole bunch TBH. If you have the bandwidth and
are willing to merge it, please feel free to do so.
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists