lkml.org 
[lkml]   [2017]   [Mar]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] objtool, module: discard __unreachable section for modules
On Wed, Mar 1, 2017 at 8:44 AM,  <hpa@zytor.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

\
 
 \ /
  Last update: 2017-03-01 18:03    [W:0.053 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site