[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFxLpj2x+VP5DE-N+x6stfMtfZ7ayzCnZhwyuVSEgmj5-w@mail.gmail.com>
Date: Wed, 1 Mar 2017 09:01:54 -0800
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Peter Anvin <hpa@...or.com>
Cc: Josh Poimboeuf <jpoimboe@...hat.com>,
Ingo Molnar <mingo@...nel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Jessica Yu <jeyu@...hat.com>
Subject: Re: [PATCH] objtool, module: discard __unreachable section for modules
On Wed, Mar 1, 2017 at 8:44 AM, <hpa@...or.com> wrote:
>
> I would like to see a name like, say, ".annot.unreachable", since is odds are pretty high we are going to need more annotations in the future.
Why not just make it ".discard.unreachable", and then make the discard
pattern be ".discard*".
We already have .discard.text for some trace hackery, so it follows a pattern.
And that's what we do for things like .rodata.* etc.
In fact, we already have a pattern for '.discard.*' in the main
vmlinux.lds.h file exactly for the .discard.text case (but not for
modules, it looks like).
Linus
Powered by blists - more mailing lists