[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMj1kXE1jVp+3aoyWEKNUOg3VWJ14xtyFGE0n3-UScEPA402Jg@mail.gmail.com>
Date: Thu, 20 Mar 2025 15:45:13 +0100
From: Ard Biesheuvel <ardb@...nel.org>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: Ard Biesheuvel <ardb+git@...gle.com>, linux-kbuild@...r.kernel.org, brgerst@...il.com,
x86@...nel.org, nathan@...nel.org, linux-kernel@...r.kernel.org,
nogikh@...gle.com, Sami Tolvanen <samitolvanen@...gle.com>,
syzbot+06fd1a3613c50d36129e@...kaller.appspotmail.com
Subject: Re: [PATCH] gendwarfksyms: define __GENKSYMS__ when processing asm-protoypes.h
On Thu, 20 Mar 2025 at 15:40, Masahiro Yamada <masahiroy@...nel.org> wrote:
>
> On Thu, Mar 20, 2025 at 4:08 PM Ard Biesheuvel <ardb+git@...gle.com> wrote:
> >
> > From: Ard Biesheuvel <ardb@...nel.org>
> >
> > Ensure that __GENKSYMS__ is #define'd when passing asm/asm-prototypes.h
> > through the compiler to capture the exported symbols. This ensures that
> > exported symbols such as __ref_stack_chk_guard on x86, which is declared
> > conditionally, is visible to the tool.
>
>
> Why don't you make it unconditional, then?
>
Because this symbol is being hidden from the compiler.
Commit 577c134d311b9b has the details.
Powered by blists - more mailing lists